# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-storage-selinuxhfp8umfz/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2022.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxhfp8umfz/tests/tests_idempotency_2022.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2022] ****************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tests_idempotency_2022.yml:17 Friday 08 December 2023 22:18:01 +0000 (0:00:00.037) 0:00:00.037 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:2 Friday 08 December 2023 22:18:01 +0000 (0:00:00.010) 0:00:00.047 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 08 December 2023 22:18:01 +0000 (0:00:00.010) 0:00:00.058 ******* ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 08 December 2023 22:18:02 +0000 (0:00:00.501) 0:00:00.559 ******* skipping: [sut] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('7', '=') and mssql_version | int == 2022) or (ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('9', '=') and mssql_version | int != 2022)", "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 08 December 2023 22:18:02 +0000 (0:00:00.018) 0:00:00.577 ******* skipping: [sut] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('7', '=') and mssql_version | int == 2022) or (ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('9', '=') and mssql_version | int != 2022)", "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:5 Friday 08 December 2023 22:18:02 +0000 (0:00:00.019) 0:00:00.596 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 22:18:02 +0000 (0:00:00.085) 0:00:00.682 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 22:18:02 +0000 (0:00:00.013) 0:00:00.695 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 22:18:02 +0000 (0:00:00.018) 0:00:00.714 ******* ok: [sut] => (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 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 22:18:02 +0000 (0:00:00.029) 0:00:00.743 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 22:18:02 +0000 (0:00:00.018) 0:00:00.761 ******* skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 22:18:02 +0000 (0:00:00.016) 0:00:00.778 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 22:18:02 +0000 (0:00:00.013) 0:00:00.792 ******* skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 22:18:02 +0000 (0:00:00.010) 0:00:00.802 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 22:18:02 +0000 (0:00:00.015) 0:00:00.818 ******* skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 22:18:02 +0000 (0:00:00.019) 0:00:00.837 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 22:18:02 +0000 (0:00:00.013) 0:00:00.851 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 22:18:02 +0000 (0:00:00.022) 0:00:00.873 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 22:18:02 +0000 (0:00:00.020) 0:00:00.893 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 22:18:02 +0000 (0:00:00.016) 0:00:00.910 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 22:18:02 +0000 (0:00:00.023) 0:00:00.933 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 22:18:02 +0000 (0:00:00.016) 0:00:00.949 ******* skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 22:18:02 +0000 (0:00:00.020) 0:00:00.970 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 22:18:04 +0000 (0:00:01.537) 0:00:02.508 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 22:18:04 +0000 (0:00:00.033) 0:00:02.541 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 22:18:04 +0000 (0:00:00.019) 0:00:02.561 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 22:18:04 +0000 (0:00:00.026) 0:00:02.587 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 22:18:04 +0000 (0:00:00.036) 0:00:02.624 ******* ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 22:18:06 +0000 (0:00:02.513) 0:00:05.138 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 22:18:06 +0000 (0:00:00.018) 0:00:05.157 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 22:18:06 +0000 (0:00:00.019) 0:00:05.177 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 22:18:06 +0000 (0:00:00.019) 0:00:05.197 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 22:18:07 +0000 (0:00:00.302) 0:00:05.499 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 22:18:07 +0000 (0:00:00.039) 0:00:05.538 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 22:18:07 +0000 (0:00:00.022) 0:00:05.561 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 22:18:07 +0000 (0:00:00.022) 0:00:05.584 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 22:18:07 +0000 (0:00:00.023) 0:00:05.608 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 22:18:07 +0000 (0:00:00.023) 0:00:05.631 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-16.0.4095.4-1.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-21.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: libatomic-8.5.0-21.el8.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 22:18:48 +0000 (0:00:41.018) 0:00:46.650 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 22:18:48 +0000 (0:00:00.019) 0:00:46.669 ******* ok: [sut] => { "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.005840", "end": "2023-12-08 22:18:48.673539", "rc": 0, "start": "2023-12-08 22:18:48.667699" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 22:18:48 +0000 (0:00:00.286) 0:00:46.956 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 22:19:17 +0000 (0:00:28.632) 0:01:15.589 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 22:19:17 +0000 (0:00:00.033) 0:01:15.622 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 22:19:17 +0000 (0:00:00.022) 0:01:15.645 ******* changed: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 22:19:25 +0000 (0:00:08.077) 0:01:23.723 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_data', 'mode': '0700', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_log', 'mode': '0700', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:19:25 +0000 (0:00:00.104) 0:01:23.827 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:19:25 +0000 (0:00:00.395) 0:01:24.223 ******* changed: [sut] => { "changed": true, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:19:26 +0000 (0:00:00.364) 0:01:24.588 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:19:26 +0000 (0:00:00.035) 0:01:24.623 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:19:26 +0000 (0:00:00.050) 0:01:24.674 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003687", "end": "2023-12-08 22:19:26.667394", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:19:26.663707" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:19:26 +0000 (0:00:00.301) 0:01:24.976 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.167450", "end": "2023-12-08 22:19:27.081427", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:19:26.913977" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:19:27 +0000 (0:00:00.402) 0:01:25.378 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:19:27 +0000 (0:00:00.018) 0:01:25.397 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:19:27 +0000 (0:00:00.250) 0:01:25.647 ******* changed: [sut] => { "changed": true, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:19:27 +0000 (0:00:00.241) 0:01:25.888 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:19:27 +0000 (0:00:00.051) 0:01:25.940 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:19:27 +0000 (0:00:00.031) 0:01:25.971 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003451", "end": "2023-12-08 22:19:27.903413", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:19:27.899962" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:19:27 +0000 (0:00:00.218) 0:01:26.190 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.130823", "end": "2023-12-08 22:19:28.268437", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:19:28.137614" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:19:28 +0000 (0:00:00.374) 0:01:26.564 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 22:19:28 +0000 (0:00:00.022) 0:01:26.586 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 22:19:28 +0000 (0:00:00.030) 0:01:26.616 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 22:19:32 +0000 (0:00:03.755) 0:01:30.371 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 21:55:03 UTC", "ActiveEnterTimestampMonotonic": "24386960", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-journald.socket polkit.service dbus.service system.slice dbus.socket basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 21:55:02 UTC", "AssertTimestampMonotonic": "23487138", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ConditionTimestampMonotonic": "23487137", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service shutdown.target auto-cpufreq.service tlp.service cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "710", "ExecMainStartTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ExecMainStartTimestampMonotonic": "23487942", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 21:55:02 UTC", "InactiveExitTimestampMonotonic": "23487996", "InvocationID": "d1f3522a1cb64b7587246dfd0af562a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "710", "MemoryAccounting": "yes", "MemoryCurrent": "20799488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 21:55:03 UTC", "StateChangeTimestampMonotonic": "24386960", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 21:55:03 UTC", "WatchdogTimestampMonotonic": "24386957", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 22:19:32 +0000 (0:00:00.559) 0:01:30.931 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120980", "end": "2023-12-08 22:19:32.983097", "rc": 0, "start": "2023-12-08 22:19:32.862117" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 22:19:33 +0000 (0:00:00.344) 0:01:31.275 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 22:19:33 +0000 (0:00:00.020) 0:01:31.296 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 22:19:33 +0000 (0:00:00.021) 0:01:31.317 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 22:19:33 +0000 (0:00:00.074) 0:01:31.392 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 22:19:33 +0000 (0:00:00.248) 0:01:31.641 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 22:19:37 +0000 (0:00:04.017) 0:01:35.659 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 22:19:37 +0000 (0:00:00.024) 0:01:35.683 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 22:19:37 +0000 (0:00:00.020) 0:01:35.703 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 22:19:37 +0000 (0:00:00.041) 0:01:35.745 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 22:19:37 +0000 (0:00:00.025) 0:01:35.771 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 22:19:37 +0000 (0:00:00.023) 0:01:35.795 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 22:19:37 +0000 (0:00:00.029) 0:01:35.825 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 22:19:37 +0000 (0:00:00.020) 0:01:35.845 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 22:19:37 +0000 (0:00:00.019) 0:01:35.865 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 22:19:37 +0000 (0:00:00.020) 0:01:35.885 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 22:19:37 +0000 (0:00:00.030) 0:01:35.916 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 22:19:37 +0000 (0:00:00.037) 0:01:35.954 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 22:19:37 +0000 (0:00:00.044) 0:01:35.998 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:19:37 +0000 (0:00:00.037) 0:01:36.036 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003026", "end": "2023-12-08 22:19:37.977918", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:19:37.974892" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:19:38 +0000 (0:00:00.226) 0:01:36.262 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.130388", "end": "2023-12-08 22:19:38.322545", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:19:38.192157" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:19:38 +0000 (0:00:00.373) 0:01:36.635 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 22:19:38 +0000 (0:00:00.030) 0:01:36.665 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 22:19:38 +0000 (0:00:00.075) 0:01:36.741 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 22:19:38 +0000 (0:00:00.040) 0:01:36.781 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:19:38 +0000 (0:00:00.042) 0:01:36.824 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003028", "end": "2023-12-08 22:19:38.764636", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:19:38.761608" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:19:38 +0000 (0:00:00.248) 0:01:37.072 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.131417", "end": "2023-12-08 22:19:39.173431", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:19:39.042014" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:19:39 +0000 (0:00:00.391) 0:01:37.464 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 22:19:39 +0000 (0:00:00.026) 0:01:37.491 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 22:19:39 +0000 (0:00:00.044) 0:01:37.535 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:19:39 +0000 (0:00:00.052) 0:01:37.588 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2023-12-08 22:19:39.534783", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:19:39.531652" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:19:39 +0000 (0:00:00.232) 0:01:37.821 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.133433", "end": "2023-12-08 22:19:39.891123", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:19:39.757690" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:19:39 +0000 (0:00:00.361) 0:01:38.183 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 22:19:39 +0000 (0:00:00.022) 0:01:38.205 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 22:20:10 +0000 (0:00:30.196) 0:02:08.402 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: powershell-7.4.0-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 22:20:22 +0000 (0:00:12.535) 0:02:20.937 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003357", "end": "2023-12-08 22:20:22.876037", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:20:22.872680" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 22:20:22 +0000 (0:00:00.225) 0:02:21.163 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.140437", "end": "2023-12-08 22:20:23.240803", "rc": 0, "start": "2023-12-08 22:20:23.100366" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 22:20:23 +0000 (0:00:00.373) 0:02:21.537 ******* skipping: [sut] => { "changed": false, "false_condition": "not mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 22:20:23 +0000 (0:00:00.037) 0:02:21.574 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:20:23 +0000 (0:00:00.064) 0:02:21.638 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003015", "end": "2023-12-08 22:20:23.577839", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:20:23.574824" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:20:23 +0000 (0:00:00.253) 0:02:21.892 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.130865", "end": "2023-12-08 22:20:23.971616", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:20:23.840751" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:20:24 +0000 (0:00:00.369) 0:02:22.261 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 22:20:24 +0000 (0:00:00.031) 0:02:22.292 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:20:24 +0000 (0:00:00.041) 0:02:22.334 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002898", "end": "2023-12-08 22:20:24.286665", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:20:24.283767" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:20:24 +0000 (0:00:00.237) 0:02:22.571 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.132302", "end": "2023-12-08 22:20:24.639357", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:20:24.507055" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:20:24 +0000 (0:00:00.355) 0:02:22.927 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 22:20:24 +0000 (0:00:00.022) 0:02:22.949 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 22:20:24 +0000 (0:00:00.020) 0:02:22.970 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 22:20:24 +0000 (0:00:00.021) 0:02:22.991 ******* skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 22:20:24 +0000 (0:00:00.022) 0:02:23.014 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 22:20:24 +0000 (0:00:00.020) 0:02:23.034 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 22:20:24 +0000 (0:00:00.020) 0:02:23.055 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 22:20:24 +0000 (0:00:00.020) 0:02:23.075 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 22:20:24 +0000 (0:00:00.020) 0:02:23.096 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 22:20:24 +0000 (0:00:00.024) 0:02:23.120 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 22:20:24 +0000 (0:00:00.024) 0:02:23.145 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 22:20:24 +0000 (0:00:00.024) 0:02:23.169 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 22:20:24 +0000 (0:00:00.062) 0:02:23.232 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 22:20:24 +0000 (0:00:00.021) 0:02:23.254 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.272 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.290 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.308 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.326 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.344 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 22:20:25 +0000 (0:00:00.016) 0:02:23.361 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.379 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.396 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.414 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.432 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.450 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.469 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.487 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 22:20:25 +0000 (0:00:00.021) 0:02:23.508 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 22:20:25 +0000 (0:00:00.019) 0:02:23.528 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.547 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 22:20:25 +0000 (0:00:00.045) 0:02:23.592 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.611 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.629 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.646 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.664 ******* skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 22:20:25 +0000 (0:00:00.021) 0:02:23.685 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.702 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.721 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 22:20:25 +0000 (0:00:00.025) 0:02:23.747 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 22:20:25 +0000 (0:00:00.020) 0:02:23.767 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 22:20:25 +0000 (0:00:00.019) 0:02:23.786 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.804 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 22:20:25 +0000 (0:00:00.026) 0:02:23.831 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.849 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.866 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:23.885 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.903 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 22:20:25 +0000 (0:00:00.017) 0:02:23.920 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 22:20:25 +0000 (0:00:00.016) 0:02:23.937 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 22:20:25 +0000 (0:00:00.044) 0:02:23.982 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 22:20:25 +0000 (0:00:00.024) 0:02:24.007 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 22:20:25 +0000 (0:00:00.019) 0:02:24.026 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 22:20:25 +0000 (0:00:00.021) 0:02:24.047 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 22:20:25 +0000 (0:00:00.020) 0:02:24.068 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 22:20:25 +0000 (0:00:00.019) 0:02:24.087 ******* skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 22:20:25 +0000 (0:00:00.024) 0:02:24.112 ******* skipping: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 22:20:25 +0000 (0:00:00.018) 0:02:24.130 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 22:20:25 +0000 (0:00:00.020) 0:02:24.151 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 22:20:25 +0000 (0:00:00.019) 0:02:24.170 ******* changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 22:20:26 +0000 (0:00:00.335) 0:02:24.506 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 08 December 2023 22:20:26 +0000 (0:00:00.019) 0:02:24.525 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:19:25 UTC", "ActiveEnterTimestampMonotonic": "1486422993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target systemd-journald.socket auditd.service -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:19:25 UTC", "AssertTimestampMonotonic": "1486414928", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:19:25 UTC", "ConditionTimestampMonotonic": "1486414926", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30862", "ExecMainStartTimestamp": "Fri 2023-12-08 22:19:25 UTC", "ExecMainStartTimestampMonotonic": "1486422934", "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", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 22:19:25 UTC", "InactiveExitTimestampMonotonic": "1486422993", "InvocationID": "9f65143c102641b1b3c595097872f5cc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30862", "MemoryAccounting": "yes", "MemoryCurrent": "728567808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:19:25 UTC", "StateChangeTimestampMonotonic": "1486422993", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:19:25 UTC", "WatchdogTimestampMonotonic": "1486422990", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 22:20:26 +0000 (0:00:00.565) 0:02:25.091 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 22:20:26 +0000 (0:00:00.018) 0:02:25.109 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:22 Friday 08 December 2023 22:20:26 +0000 (0:00:00.028) 0:02:25.137 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql-sever-increase-start-limit.yml:3 Friday 08 December 2023 22:20:26 +0000 (0:00:00.093) 0:02:25.230 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql-sever-increase-start-limit.yml:10 Friday 08 December 2023 22:20:27 +0000 (0:00:00.278) 0:02:25.509 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql-sever-increase-start-limit.yml:17 Friday 08 December 2023 22:20:27 +0000 (0:00:00.232) 0:02:25.742 ******* ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:25 Friday 08 December 2023 22:20:28 +0000 (0:00:00.530) 0:02:26.272 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 22:20:28 +0000 (0:00:00.209) 0:02:26.482 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 22:20:28 +0000 (0:00:00.031) 0:02:26.514 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 22:20:28 +0000 (0:00:00.036) 0:02:26.550 ******* ok: [sut] => (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 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 22:20:28 +0000 (0:00:00.037) 0:02:26.587 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 22:20:28 +0000 (0:00:00.020) 0:02:26.608 ******* skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 22:20:28 +0000 (0:00:00.018) 0:02:26.626 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 22:20:28 +0000 (0:00:00.020) 0:02:26.647 ******* skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 22:20:28 +0000 (0:00:00.018) 0:02:26.665 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 22:20:28 +0000 (0:00:00.017) 0:02:26.683 ******* skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 22:20:28 +0000 (0:00:00.052) 0:02:26.735 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 22:20:28 +0000 (0:00:00.019) 0:02:26.754 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 22:20:28 +0000 (0:00:00.023) 0:02:26.778 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 22:20:28 +0000 (0:00:00.018) 0:02:26.796 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 22:20:28 +0000 (0:00:00.026) 0:02:26.822 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 22:20:28 +0000 (0:00:00.019) 0:02:26.842 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 22:20:28 +0000 (0:00:00.021) 0:02:26.863 ******* skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 22:20:28 +0000 (0:00:00.023) 0:02:26.887 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 22:20:30 +0000 (0:00:01.574) 0:02:28.461 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 22:20:30 +0000 (0:00:00.057) 0:02:28.518 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 22:20:30 +0000 (0:00:00.018) 0:02:28.537 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 22:20:30 +0000 (0:00:00.023) 0:02:28.561 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 22:20:30 +0000 (0:00:00.035) 0:02:28.597 ******* ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 22:20:31 +0000 (0:00:00.762) 0:02:29.359 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 22:20:31 +0000 (0:00:00.021) 0:02:29.381 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 22:20:31 +0000 (0:00:00.021) 0:02:29.402 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 22:20:31 +0000 (0:00:00.064) 0:02:29.467 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 22:20:31 +0000 (0:00:00.025) 0:02:29.493 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 22:20:31 +0000 (0:00:00.024) 0:02:29.517 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 22:20:31 +0000 (0:00:00.023) 0:02:29.541 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 22:20:31 +0000 (0:00:00.032) 0:02:29.574 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 22:20:31 +0000 (0:00:00.027) 0:02:29.601 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 22:20:31 +0000 (0:00:00.023) 0:02:29.625 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 22:20:34 +0000 (0:00:03.159) 0:02:32.785 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 22:20:34 +0000 (0:00:00.031) 0:02:32.816 ******* ok: [sut] => { "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.006128", "end": "2023-12-08 22:20:34.744212", "rc": 0, "start": "2023-12-08 22:20:34.738084" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 22:20:34 +0000 (0:00:00.219) 0:02:33.036 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 22:20:52 +0000 (0:00:17.585) 0:02:50.622 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 22:20:52 +0000 (0:00:00.037) 0:02:50.659 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 22:20:52 +0000 (0:00:00.025) 0:02:50.684 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 22:20:52 +0000 (0:00:00.029) 0:02:50.713 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:20:52 +0000 (0:00:00.054) 0:02:50.768 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073966.2987812, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702073966.3007812, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 425722116, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702073966.2987812, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "3045188808", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:20:52 +0000 (0:00:00.277) 0:02:51.046 ******* ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:20:53 +0000 (0:00:00.245) 0:02:51.292 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:20:53 +0000 (0:00:00.040) 0:02:51.332 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:20:53 +0000 (0:00:00.072) 0:02:51.405 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2023-12-08 22:20:53.338008", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:20:53.334922" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:20:53 +0000 (0:00:00.238) 0:02:51.644 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:20:53 +0000 (0:00:00.088) 0:02:51.732 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:20:53 +0000 (0:00:00.047) 0:02:51.780 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073967.598763, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702073967.598763, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 436208064, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702073967.598763, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "2630621478", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:20:53 +0000 (0:00:00.236) 0:02:52.016 ******* ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:20:53 +0000 (0:00:00.225) 0:02:52.241 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:20:54 +0000 (0:00:00.035) 0:02:52.277 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:20:54 +0000 (0:00:00.067) 0:02:52.344 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003022", "end": "2023-12-08 22:20:54.294538", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:20:54.291516" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:20:54 +0000 (0:00:00.258) 0:02:52.602 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:20:54 +0000 (0:00:00.063) 0:02:52.666 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 22:20:54 +0000 (0:00:00.045) 0:02:52.712 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 22:20:54 +0000 (0:00:00.026) 0:02:52.738 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 22:20:58 +0000 (0:00:03.876) 0:02:56.614 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 21:55:03 UTC", "ActiveEnterTimestampMonotonic": "24386960", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target dbus.socket systemd-sysctl.service basic.target network.target polkit.service dbus.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 21:55:02 UTC", "AssertTimestampMonotonic": "23487138", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ConditionTimestampMonotonic": "23487137", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service tlp.service power-profiles-daemon.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "710", "ExecMainStartTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ExecMainStartTimestampMonotonic": "23487942", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 21:55:02 UTC", "InactiveExitTimestampMonotonic": "23487996", "InvocationID": "d1f3522a1cb64b7587246dfd0af562a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "710", "MemoryAccounting": "yes", "MemoryCurrent": "20860928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 21:55:03 UTC", "StateChangeTimestampMonotonic": "24386960", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 21:55:03 UTC", "WatchdogTimestampMonotonic": "24386957", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 22:20:59 +0000 (0:00:01.380) 0:02:57.994 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.119375", "end": "2023-12-08 22:21:00.030677", "rc": 0, "start": "2023-12-08 22:20:59.911302" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 22:21:00 +0000 (0:00:00.355) 0:02:58.350 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 22:21:00 +0000 (0:00:00.072) 0:02:58.422 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 22:21:00 +0000 (0:00:00.033) 0:02:58.456 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 22:21:00 +0000 (0:00:00.069) 0:02:58.525 ******* ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 22:21:00 +0000 (0:00:00.219) 0:02:58.745 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 22:21:04 +0000 (0:00:03.851) 0:03:02.596 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 22:21:04 +0000 (0:00:00.040) 0:03:02.636 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveEnterTimestampMonotonic": "1547966174", "ActiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveExitTimestampMonotonic": "1547761214", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:20:26 UTC", "AssertTimestampMonotonic": "1547965104", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ConditionTimestampMonotonic": "1547965102", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32152", "ExecMainStartTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ExecMainStartTimestampMonotonic": "1547966116", "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", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveEnterTimestampMonotonic": "1547963876", "InactiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveExitTimestampMonotonic": "1547966174", "InvocationID": "f33e33521e5643c381ddffd3cc8d7c33", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32152", "MemoryAccounting": "yes", "MemoryCurrent": "796639232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:20:26 UTC", "StateChangeTimestampMonotonic": "1547966174", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "189", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:20:26 UTC", "WatchdogTimestampMonotonic": "1547966171", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 22:21:04 +0000 (0:00:00.364) 0:03:03.001 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003189", "end": "2023-12-08 22:21:04.946374", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:21:04.943185" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 22:21:04 +0000 (0:00:00.239) 0:03:03.240 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003034", "end": "2023-12-08 22:21:05.162950", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:05.159916" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 22:21:05 +0000 (0:00:00.222) 0:03:03.463 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 22:21:05 +0000 (0:00:00.078) 0:03:03.541 ******* ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "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": 20300, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 22:21:06 +0000 (0:00:01.417) 0:03:04.958 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 22:21:06 +0000 (0:00:00.250) 0:03:05.209 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_password_query is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 22:21:06 +0000 (0:00:00.030) 0:03:05.240 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 22:21:08 +0000 (0:00:01.611) 0:03:06.852 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 22:21:08 +0000 (0:00:00.037) 0:03:06.890 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 22:21:08 +0000 (0:00:00.023) 0:03:06.913 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 22:21:08 +0000 (0:00:00.047) 0:03:06.961 ******* ok: [sut] => { "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.005185", "end": "2023-12-08 22:21:08.903117", "rc": 0, "start": "2023-12-08 22:21:08.897932" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 22:21:08 +0000 (0:00:00.237) 0:03:07.198 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 22:21:08 +0000 (0:00:00.021) 0:03:07.220 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 22:21:10 +0000 (0:00:01.375) 0:03:08.596 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 22:21:10 +0000 (0:00:00.027) 0:03:08.624 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:21:10 +0000 (0:00:00.056) 0:03:08.680 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003084", "end": "2023-12-08 22:21:10.620056", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:10.616972" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:21:10 +0000 (0:00:00.238) 0:03:08.919 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:21:10 +0000 (0:00:00.025) 0:03:08.945 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 22:21:10 +0000 (0:00:00.025) 0:03:08.970 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 22:21:10 +0000 (0:00:00.061) 0:03:09.031 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 22:21:10 +0000 (0:00:00.026) 0:03:09.058 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:21:10 +0000 (0:00:00.045) 0:03:09.103 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003136", "end": "2023-12-08 22:21:11.026903", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:21:11.023767" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:21:11 +0000 (0:00:00.209) 0:03:09.313 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.124424", "end": "2023-12-08 22:21:11.357470", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:11.233046" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:21:11 +0000 (0:00:00.342) 0:03:09.655 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 22:21:11 +0000 (0:00:00.026) 0:03:09.681 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 22:21:11 +0000 (0:00:00.026) 0:03:09.707 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:21:11 +0000 (0:00:00.049) 0:03:09.757 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002871", "end": "2023-12-08 22:21:11.679918", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:11.677047" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:21:11 +0000 (0:00:00.209) 0:03:09.967 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:21:11 +0000 (0:00:00.024) 0:03:09.991 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 22:21:11 +0000 (0:00:00.018) 0:03:10.010 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 22:21:14 +0000 (0:00:02.970) 0:03:12.980 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 22:21:17 +0000 (0:00:03.005) 0:03:15.985 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002826", "end": "2023-12-08 22:21:17.908189", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:17.905363" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 22:21:17 +0000 (0:00:00.208) 0:03:16.194 ******* skipping: [sut] => { "changed": false, "false_condition": "'3979' not in __mssql_get_traceflag.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 22:21:17 +0000 (0:00:00.020) 0:03:16.214 ******* skipping: [sut] => { "changed": false, "false_condition": "not mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 22:21:18 +0000 (0:00:00.060) 0:03:16.275 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:21:18 +0000 (0:00:00.044) 0:03:16.320 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002971", "end": "2023-12-08 22:21:18.245656", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:18.242685" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:21:18 +0000 (0:00:00.216) 0:03:16.536 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:21:18 +0000 (0:00:00.025) 0:03:16.562 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 22:21:18 +0000 (0:00:00.022) 0:03:16.584 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:21:18 +0000 (0:00:00.037) 0:03:16.621 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003214", "end": "2023-12-08 22:21:18.556365", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:18.553151" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:21:18 +0000 (0:00:00.239) 0:03:16.861 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:21:18 +0000 (0:00:00.033) 0:03:16.895 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 22:21:18 +0000 (0:00:00.026) 0:03:16.922 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 22:21:18 +0000 (0:00:00.028) 0:03:16.950 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 22:21:18 +0000 (0:00:00.023) 0:03:16.973 ******* skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 22:21:18 +0000 (0:00:00.023) 0:03:16.997 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 22:21:18 +0000 (0:00:00.023) 0:03:17.020 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 22:21:18 +0000 (0:00:00.034) 0:03:17.055 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 22:21:18 +0000 (0:00:00.030) 0:03:17.085 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 22:21:18 +0000 (0:00:00.104) 0:03:17.190 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 22:21:18 +0000 (0:00:00.036) 0:03:17.226 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 22:21:19 +0000 (0:00:00.035) 0:03:17.262 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 22:21:19 +0000 (0:00:00.034) 0:03:17.296 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 22:21:19 +0000 (0:00:00.035) 0:03:17.332 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 22:21:19 +0000 (0:00:00.032) 0:03:17.364 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 22:21:19 +0000 (0:00:00.025) 0:03:17.390 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 22:21:19 +0000 (0:00:00.022) 0:03:17.412 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 22:21:19 +0000 (0:00:00.034) 0:03:17.447 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 22:21:19 +0000 (0:00:00.044) 0:03:17.491 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 22:21:19 +0000 (0:00:00.033) 0:03:17.525 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 22:21:19 +0000 (0:00:00.029) 0:03:17.554 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 22:21:19 +0000 (0:00:00.024) 0:03:17.579 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 22:21:19 +0000 (0:00:00.022) 0:03:17.601 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 22:21:19 +0000 (0:00:00.055) 0:03:17.657 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 22:21:19 +0000 (0:00:00.029) 0:03:17.686 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 22:21:19 +0000 (0:00:00.025) 0:03:17.712 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 22:21:19 +0000 (0:00:00.123) 0:03:17.835 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 22:21:19 +0000 (0:00:00.031) 0:03:17.866 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 22:21:19 +0000 (0:00:00.033) 0:03:17.900 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 22:21:19 +0000 (0:00:00.023) 0:03:17.923 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 22:21:19 +0000 (0:00:00.030) 0:03:17.954 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 22:21:19 +0000 (0:00:00.051) 0:03:18.005 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 22:21:19 +0000 (0:00:00.042) 0:03:18.048 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 22:21:19 +0000 (0:00:00.031) 0:03:18.079 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 22:21:19 +0000 (0:00:00.032) 0:03:18.112 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 22:21:19 +0000 (0:00:00.035) 0:03:18.147 ******* skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 22:21:19 +0000 (0:00:00.063) 0:03:18.211 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 22:21:19 +0000 (0:00:00.028) 0:03:18.240 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 22:21:20 +0000 (0:00:00.032) 0:03:18.272 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 22:21:20 +0000 (0:00:00.060) 0:03:18.332 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 22:21:20 +0000 (0:00:00.043) 0:03:18.376 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 22:21:20 +0000 (0:00:00.039) 0:03:18.416 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 22:21:20 +0000 (0:00:00.032) 0:03:18.449 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 22:21:20 +0000 (0:00:00.027) 0:03:18.476 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 22:21:20 +0000 (0:00:00.077) 0:03:18.553 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 22:21:20 +0000 (0:00:00.022) 0:03:18.576 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 22:21:20 +0000 (0:00:00.019) 0:03:18.595 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 22:21:20 +0000 (0:00:00.029) 0:03:18.625 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 22:21:20 +0000 (0:00:00.037) 0:03:18.663 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 22:21:20 +0000 (0:00:00.033) 0:03:18.697 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 22:21:20 +0000 (0:00:00.036) 0:03:18.733 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 22:21:20 +0000 (0:00:00.034) 0:03:18.768 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 22:21:20 +0000 (0:00:00.019) 0:03:18.788 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 22:21:20 +0000 (0:00:00.037) 0:03:18.825 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 22:21:20 +0000 (0:00:00.027) 0:03:18.853 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 22:21:20 +0000 (0:00:00.022) 0:03:18.875 ******* skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 22:21:20 +0000 (0:00:00.037) 0:03:18.912 ******* skipping: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 22:21:20 +0000 (0:00:00.032) 0:03:18.945 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 22:21:20 +0000 (0:00:00.026) 0:03:18.971 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 22:21:20 +0000 (0:00:00.025) 0:03:18.997 ******* ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 22:21:21 +0000 (0:00:00.312) 0:03:19.309 ******* META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 22:21:21 +0000 (0:00:00.073) 0:03:19.383 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 22:21:21 +0000 (0:00:00.038) 0:03:19.421 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:40 Friday 08 December 2023 22:21:21 +0000 (0:00:00.042) 0:03:19.464 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:8 Friday 08 December 2023 22:21:21 +0000 (0:00:00.108) 0:03:19.573 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005635", "end": "2023-12-08 22:21:21.497690", "rc": 0, "start": "2023-12-08 22:21:21.492055" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:23 Friday 08 December 2023 22:21:21 +0000 (0:00:00.208) 0:03:19.781 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005084", "end": "2023-12-08 22:21:21.705472", "rc": 0, "start": "2023-12-08 22:21:21.700388" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:35 Friday 08 December 2023 22:21:21 +0000 (0:00:00.210) 0:03:19.992 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:39 Friday 08 December 2023 22:21:21 +0000 (0:00:00.023) 0:03:20.016 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '0.0.0.0'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1433}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/tmp/mssql_data'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/tmp/mssql_log'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'enabled', 'value': True}) TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:21 +0000 (0:00:00.083) 0:03:20.099 ******* ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004384", "end": "2023-12-08 22:21:22.045041", "rc": 0, "start": "2023-12-08 22:21:22.040657" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:22 +0000 (0:00:00.252) 0:03:20.352 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:22 +0000 (0:00:00.034) 0:03:20.386 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:22 +0000 (0:00:00.022) 0:03:20.408 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:22 +0000 (0:00:00.020) 0:03:20.429 ******* ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004453", "end": "2023-12-08 22:21:22.349591", "rc": 0, "start": "2023-12-08 22:21:22.345138" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:22 +0000 (0:00:00.248) 0:03:20.677 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting != \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:22 +0000 (0:00:00.023) 0:03:20.700 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:22 +0000 (0:00:00.021) 0:03:20.721 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:22 +0000 (0:00:00.035) 0:03:20.757 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004592", "end": "2023-12-08 22:21:22.683098", "rc": 0, "start": "2023-12-08 22:21:22.678506" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:22 +0000 (0:00:00.225) 0:03:20.982 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:22 +0000 (0:00:00.032) 0:03:21.015 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:22 +0000 (0:00:00.023) 0:03:21.038 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:22 +0000 (0:00:00.021) 0:03:21.059 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004600", "end": "2023-12-08 22:21:22.978789", "rc": 0, "start": "2023-12-08 22:21:22.974189" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:23 +0000 (0:00:00.213) 0:03:21.272 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:23 +0000 (0:00:00.044) 0:03:21.317 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:23 +0000 (0:00:00.046) 0:03:21.364 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:23 +0000 (0:00:00.035) 0:03:21.399 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004255", "end": "2023-12-08 22:21:23.334121", "rc": 0, "start": "2023-12-08 22:21:23.329866" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:23 +0000 (0:00:00.219) 0:03:21.619 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:23 +0000 (0:00:00.022) 0:03:21.641 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:23 +0000 (0:00:00.034) 0:03:21.675 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:55 Friday 08 December 2023 22:21:23 +0000 (0:00:00.029) 0:03:21.705 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073966.2987812, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702073966.3007812, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 425722116, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702073966.2987812, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "3045188808", "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: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:60 Friday 08 December 2023 22:21:23 +0000 (0:00:00.271) 0:03:21.977 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:70 Friday 08 December 2023 22:21:23 +0000 (0:00:00.040) 0:03:22.017 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073967.598763, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702073967.598763, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 436208064, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702073967.598763, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "2630621478", "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: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:75 Friday 08 December 2023 22:21:24 +0000 (0:00:00.240) 0:03:22.258 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:85 Friday 08 December 2023 22:21:24 +0000 (0:00:00.032) 0:03:22.290 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 22:21:24 +0000 (0:00:00.042) 0:03:22.333 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveEnterTimestampMonotonic": "1547966174", "ActiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveExitTimestampMonotonic": "1547761214", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:20:26 UTC", "AssertTimestampMonotonic": "1547965104", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ConditionTimestampMonotonic": "1547965102", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32152", "ExecMainStartTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ExecMainStartTimestampMonotonic": "1547966116", "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", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveEnterTimestampMonotonic": "1547963876", "InactiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveExitTimestampMonotonic": "1547966174", "InvocationID": "f33e33521e5643c381ddffd3cc8d7c33", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32152", "MemoryAccounting": "yes", "MemoryCurrent": "804610048", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:20:26 UTC", "StateChangeTimestampMonotonic": "1547966174", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "189", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:20:26 UTC", "WatchdogTimestampMonotonic": "1547966171", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 22:21:24 +0000 (0:00:00.414) 0:03:22.748 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003018", "end": "2023-12-08 22:21:24.678769", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:21:24.675751" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 22:21:24 +0000 (0:00:00.216) 0:03:22.964 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003077", "end": "2023-12-08 22:21:24.893440", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:21:24.890363" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 22:21:24 +0000 (0:00:00.216) 0:03:23.181 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:93 Friday 08 December 2023 22:21:25 +0000 (0:00:00.077) 0:03:23.259 ******* ok: [sut] => { "changed": false, "elapsed": 18, "gid": 991, "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": 20300, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:100 Friday 08 December 2023 22:21:43 +0000 (0:00:18.264) 0:03:41.523 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027217", "end": "2023-12-08 22:21:43.486007", "rc": 0, "start": "2023-12-08 22:21:43.458790" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Stream 8) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:114 Friday 08 December 2023 22:21:43 +0000 (0:00:00.262) 0:03:41.785 ******* ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:118 Friday 08 December 2023 22:21:43 +0000 (0:00:00.026) 0:03:41.811 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:7 Friday 08 December 2023 22:21:43 +0000 (0:00:00.063) 0:03:41.875 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:12 Friday 08 December 2023 22:21:45 +0000 (0:00:01.529) 0:03:43.405 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:17 Friday 08 December 2023 22:21:45 +0000 (0:00:00.045) 0:03:43.451 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_verify_package_installed", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:125 Friday 08 December 2023 22:21:45 +0000 (0:00:00.038) 0:03:43.489 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:7 Friday 08 December 2023 22:21:45 +0000 (0:00:00.063) 0:03:43.552 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:12 Friday 08 December 2023 22:21:46 +0000 (0:00:01.358) 0:03:44.910 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:17 Friday 08 December 2023 22:21:46 +0000 (0:00:00.028) 0:03:44.939 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_verify_package_installed", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:136 Friday 08 December 2023 22:21:46 +0000 (0:00:00.019) 0:03:44.958 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004863", "end": "2023-12-08 22:21:46.878943", "rc": 0, "start": "2023-12-08 22:21:46.874080" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:141 Friday 08 December 2023 22:21:46 +0000 (0:00:00.208) 0:03:45.166 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:146 Friday 08 December 2023 22:21:46 +0000 (0:00:00.026) 0:03:45.193 ******* skipping: [sut] => { "changed": false, "false_condition": "not __verify_mssql_is_tuned_for_fua | bool", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:152 Friday 08 December 2023 22:21:46 +0000 (0:00:00.039) 0:03:45.232 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:47 +0000 (0:00:00.060) 0:03:45.293 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004535", "end": "2023-12-08 22:21:47.233175", "rc": 0, "start": "2023-12-08 22:21:47.228640" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:47 +0000 (0:00:00.224) 0:03:45.517 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:47 +0000 (0:00:00.067) 0:03:45.585 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:47 +0000 (0:00:00.027) 0:03:45.613 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:158 Friday 08 December 2023 22:21:47 +0000 (0:00:00.022) 0:03:45.635 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:21:47 +0000 (0:00:00.035) 0:03:45.671 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004505", "end": "2023-12-08 22:21:47.598888", "rc": 0, "start": "2023-12-08 22:21:47.594383" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:21:47 +0000 (0:00:00.233) 0:03:45.905 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:21:47 +0000 (0:00:00.025) 0:03:45.930 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:21:47 +0000 (0:00:00.034) 0:03:45.964 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:168 Friday 08 December 2023 22:21:47 +0000 (0:00:00.038) 0:03:46.002 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:179 Friday 08 December 2023 22:21:47 +0000 (0:00:00.026) 0:03:46.029 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:191 Friday 08 December 2023 22:21:47 +0000 (0:00:00.021) 0:03:46.050 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:199 Friday 08 December 2023 22:21:47 +0000 (0:00:00.021) 0:03:46.071 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:209 Friday 08 December 2023 22:21:47 +0000 (0:00:00.025) 0:03:46.096 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:214 Friday 08 December 2023 22:21:47 +0000 (0:00:00.020) 0:03:46.117 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:220 Friday 08 December 2023 22:21:47 +0000 (0:00:00.026) 0:03:46.143 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:56 Friday 08 December 2023 22:21:47 +0000 (0:00:00.022) 0:03:46.166 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 22:21:48 +0000 (0:00:00.337) 0:03:46.504 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 22:21:48 +0000 (0:00:00.063) 0:03:46.567 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 22:21:48 +0000 (0:00:00.052) 0:03:46.620 ******* ok: [sut] => (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 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 22:21:48 +0000 (0:00:00.038) 0:03:46.658 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 22:21:48 +0000 (0:00:00.023) 0:03:46.682 ******* skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 22:21:48 +0000 (0:00:00.027) 0:03:46.710 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 22:21:48 +0000 (0:00:00.027) 0:03:46.738 ******* skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 22:21:48 +0000 (0:00:00.020) 0:03:46.758 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 22:21:48 +0000 (0:00:00.028) 0:03:46.787 ******* skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 22:21:48 +0000 (0:00:00.038) 0:03:46.826 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 22:21:48 +0000 (0:00:00.023) 0:03:46.849 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 22:21:48 +0000 (0:00:00.091) 0:03:46.941 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 22:21:48 +0000 (0:00:00.029) 0:03:46.970 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 22:21:48 +0000 (0:00:00.022) 0:03:46.993 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 22:21:48 +0000 (0:00:00.033) 0:03:47.027 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 22:21:48 +0000 (0:00:00.034) 0:03:47.062 ******* skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 22:21:48 +0000 (0:00:00.034) 0:03:47.097 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 22:21:50 +0000 (0:00:01.362) 0:03:48.459 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 22:21:50 +0000 (0:00:00.054) 0:03:48.514 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 22:21:50 +0000 (0:00:00.019) 0:03:48.534 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 22:21:50 +0000 (0:00:00.024) 0:03:48.558 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 22:21:50 +0000 (0:00:00.036) 0:03:48.594 ******* ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 22:21:51 +0000 (0:00:01.430) 0:03:50.024 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 22:21:51 +0000 (0:00:00.020) 0:03:50.045 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 22:21:51 +0000 (0:00:00.020) 0:03:50.066 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 22:21:51 +0000 (0:00:00.019) 0:03:50.086 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 22:21:51 +0000 (0:00:00.078) 0:03:50.164 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 22:21:51 +0000 (0:00:00.021) 0:03:50.185 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 22:21:51 +0000 (0:00:00.019) 0:03:50.205 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 22:21:51 +0000 (0:00:00.020) 0:03:50.225 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 22:21:51 +0000 (0:00:00.021) 0:03:50.247 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 22:21:52 +0000 (0:00:00.020) 0:03:50.267 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 22:21:55 +0000 (0:00:03.776) 0:03:54.044 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 22:21:55 +0000 (0:00:00.056) 0:03:54.100 ******* ok: [sut] => { "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.005014", "end": "2023-12-08 22:21:56.046399", "rc": 0, "start": "2023-12-08 22:21:56.041385" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 22:21:56 +0000 (0:00:00.239) 0:03:54.340 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 22:22:20 +0000 (0:00:24.507) 0:04:18.848 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 22:22:20 +0000 (0:00:00.028) 0:04:18.876 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 22:22:20 +0000 (0:00:00.018) 0:04:18.895 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 22:22:20 +0000 (0:00:00.020) 0:04:18.916 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/data', 'mode': '0755', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/log', 'mode': '0755', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:22:20 +0000 (0:00:00.040) 0:04:18.957 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073965.1197977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702073965.0827982, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 325058820, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702073965.0827982, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "1827381690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:22:20 +0000 (0:00:00.211) 0:04:19.168 ******* ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:22:21 +0000 (0:00:00.259) 0:04:19.428 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:22:21 +0000 (0:00:00.028) 0:04:19.456 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:22:21 +0000 (0:00:00.033) 0:04:19.490 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003024", "end": "2023-12-08 22:22:21.419914", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:21.416890" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:22:21 +0000 (0:00:00.217) 0:04:19.707 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.129196", "end": "2023-12-08 22:22:21.760523", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:21.631327" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:22:21 +0000 (0:00:00.342) 0:04:20.049 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:22:21 +0000 (0:00:00.020) 0:04:20.070 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702074032.3068576, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702074032.3058577, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 327155904, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702074032.3058577, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3458738250", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:22:22 +0000 (0:00:00.208) 0:04:20.279 ******* ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:22:22 +0000 (0:00:00.217) 0:04:20.496 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:22:22 +0000 (0:00:00.027) 0:04:20.524 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:22:22 +0000 (0:00:00.036) 0:04:20.560 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003031", "end": "2023-12-08 22:22:22.483986", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:22.480955" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:22:22 +0000 (0:00:00.211) 0:04:20.772 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.127900", "end": "2023-12-08 22:22:22.832148", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:22.704248" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:22:22 +0000 (0:00:00.378) 0:04:21.150 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 22:22:22 +0000 (0:00:00.039) 0:04:21.190 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 22:22:22 +0000 (0:00:00.040) 0:04:21.230 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 22:22:25 +0000 (0:00:02.872) 0:04:24.102 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 21:55:03 UTC", "ActiveEnterTimestampMonotonic": "24386960", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target dbus.socket systemd-sysctl.service basic.target network.target polkit.service dbus.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 21:55:02 UTC", "AssertTimestampMonotonic": "23487138", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ConditionTimestampMonotonic": "23487137", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service tlp.service power-profiles-daemon.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "710", "ExecMainStartTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ExecMainStartTimestampMonotonic": "23487942", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 21:55:02 UTC", "InactiveExitTimestampMonotonic": "23487996", "InvocationID": "d1f3522a1cb64b7587246dfd0af562a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "710", "MemoryAccounting": "yes", "MemoryCurrent": "20844544", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 21:55:03 UTC", "StateChangeTimestampMonotonic": "24386960", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 21:55:03 UTC", "WatchdogTimestampMonotonic": "24386957", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 22:22:26 +0000 (0:00:00.380) 0:04:24.482 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115152", "end": "2023-12-08 22:22:26.538930", "rc": 0, "start": "2023-12-08 22:22:26.423778" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 22:22:26 +0000 (0:00:00.437) 0:04:24.919 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 22:22:26 +0000 (0:00:00.039) 0:04:24.958 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 22:22:26 +0000 (0:00:00.035) 0:04:24.994 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 22:22:26 +0000 (0:00:00.029) 0:04:25.023 ******* ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 22:22:27 +0000 (0:00:00.266) 0:04:25.290 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 22:22:29 +0000 (0:00:02.863) 0:04:28.153 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 22:22:29 +0000 (0:00:00.044) 0:04:28.198 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveEnterTimestampMonotonic": "1547966174", "ActiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveExitTimestampMonotonic": "1547761214", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:20:26 UTC", "AssertTimestampMonotonic": "1547965104", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ConditionTimestampMonotonic": "1547965102", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32152", "ExecMainStartTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ExecMainStartTimestampMonotonic": "1547966116", "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", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveEnterTimestampMonotonic": "1547963876", "InactiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveExitTimestampMonotonic": "1547966174", "InvocationID": "f33e33521e5643c381ddffd3cc8d7c33", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32152", "MemoryAccounting": "yes", "MemoryCurrent": "824451072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:20:26 UTC", "StateChangeTimestampMonotonic": "1547966174", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "184", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:20:26 UTC", "WatchdogTimestampMonotonic": "1547966171", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 22:22:30 +0000 (0:00:00.369) 0:04:28.568 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003006", "end": "2023-12-08 22:22:30.492081", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:22:30.489075" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 22:22:30 +0000 (0:00:00.217) 0:04:28.785 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003151", "end": "2023-12-08 22:22:30.726662", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:30.723511" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 22:22:30 +0000 (0:00:00.233) 0:04:29.019 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 22:22:30 +0000 (0:00:00.050) 0:04:29.069 ******* ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "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": 20300, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 22:22:32 +0000 (0:00:01.239) 0:04:30.309 ******* fatal: [sut]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 22:22:32 +0000 (0:00:00.247) 0:04:30.556 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveEnterTimestampMonotonic": "1547966174", "ActiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveExitTimestampMonotonic": "1547761214", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:20:26 UTC", "AssertTimestampMonotonic": "1547965104", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ConditionTimestampMonotonic": "1547965102", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32152", "ExecMainStartTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ExecMainStartTimestampMonotonic": "1547966116", "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", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveEnterTimestampMonotonic": "1547963876", "InactiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveExitTimestampMonotonic": "1547966174", "InvocationID": "f33e33521e5643c381ddffd3cc8d7c33", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32152", "MemoryAccounting": "yes", "MemoryCurrent": "826163200", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:20:26 UTC", "StateChangeTimestampMonotonic": "1547966174", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:20:26 UTC", "WatchdogTimestampMonotonic": "1547966171", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 22:22:33 +0000 (0:00:01.519) 0:04:32.075 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 22:22:35 +0000 (0:00:01.604) 0:04:33.679 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 22:22:42 +0000 (0:00:07.187) 0:04:40.867 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 22:22:42 +0000 (0:00:00.021) 0:04:40.889 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 22:22:42 +0000 (0:00:00.039) 0:04:40.928 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004910", "end": "2023-12-08 22:22:42.891508", "rc": 0, "start": "2023-12-08 22:22:42.886598" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 22:22:42 +0000 (0:00:00.249) 0:04:41.178 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveEnterTimestampMonotonic": "1547966174", "ActiveExitTimestamp": "Fri 2023-12-08 22:22:33 UTC", "ActiveExitTimestampMonotonic": "1674787772", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:20:26 UTC", "AssertTimestampMonotonic": "1547965104", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ConditionTimestampMonotonic": "1547965102", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2023-12-08 22:22:33 UTC", "ExecMainExitTimestampMonotonic": "1674944528", "ExecMainPID": "32152", "ExecMainStartTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ExecMainStartTimestampMonotonic": "1547966116", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 22:20:26 UTC] ; stop_time=[Fri 2023-12-08 22:22:33 UTC] ; pid=32152 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:22:33 UTC", "InactiveEnterTimestampMonotonic": "1674944617", "InactiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveExitTimestampMonotonic": "1547966174", "InvocationID": "f33e33521e5643c381ddffd3cc8d7c33", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:22:33 UTC", "StateChangeTimestampMonotonic": "1674944617", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 22:22:43 +0000 (0:00:00.388) 0:04:41.566 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 22:22:44 +0000 (0:00:01.406) 0:04:42.972 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 22:22:51 +0000 (0:00:07.221) 0:04:50.194 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:22:52 +0000 (0:00:00.068) 0:04:50.263 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002917", "end": "2023-12-08 22:22:52.242353", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:52.239436" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:22:52 +0000 (0:00:00.270) 0:04:50.533 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.122755", "end": "2023-12-08 22:22:52.641677", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:52.518922" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:22:52 +0000 (0:00:00.417) 0:04:50.951 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 22:22:52 +0000 (0:00:00.028) 0:04:50.979 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 22:22:52 +0000 (0:00:00.045) 0:04:51.024 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 22:22:52 +0000 (0:00:00.090) 0:04:51.115 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:22:52 +0000 (0:00:00.035) 0:04:51.150 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003066", "end": "2023-12-08 22:22:53.090842", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:22:53.087776" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:22:53 +0000 (0:00:00.227) 0:04:51.378 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.123947", "end": "2023-12-08 22:22:53.419711", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:53.295764" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:22:53 +0000 (0:00:00.340) 0:04:51.718 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 22:22:53 +0000 (0:00:00.025) 0:04:51.744 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 22:22:53 +0000 (0:00:00.025) 0:04:51.769 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:22:53 +0000 (0:00:00.048) 0:04:51.817 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002803", "end": "2023-12-08 22:22:53.748692", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:53.745889" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:22:53 +0000 (0:00:00.226) 0:04:52.044 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.122597", "end": "2023-12-08 22:22:54.104505", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:22:53.981908" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:22:54 +0000 (0:00:00.373) 0:04:52.417 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 22:22:54 +0000 (0:00:00.038) 0:04:52.456 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 22:22:58 +0000 (0:00:04.431) 0:04:56.888 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.4.0-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 22:23:02 +0000 (0:00:03.437) 0:05:00.326 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002899", "end": "2023-12-08 22:23:02.251174", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:02.248275" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 22:23:02 +0000 (0:00:00.209) 0:05:00.535 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 22:23:02 +0000 (0:00:00.022) 0:05:00.557 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.121047", "end": "2023-12-08 22:23:02.592544", "rc": 0, "start": "2023-12-08 22:23:02.471497" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 22:23:02 +0000 (0:00:00.320) 0:05:00.877 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:02 +0000 (0:00:00.129) 0:05:01.007 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002665", "end": "2023-12-08 22:23:02.942689", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:02.940024" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:02 +0000 (0:00:00.223) 0:05:01.231 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:03 +0000 (0:00:00.038) 0:05:01.269 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 22:23:03 +0000 (0:00:00.029) 0:05:01.299 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:03 +0000 (0:00:00.038) 0:05:01.337 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002554", "end": "2023-12-08 22:23:03.261129", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:03.258575" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:03 +0000 (0:00:00.216) 0:05:01.554 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.120711", "end": "2023-12-08 22:23:03.612665", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:03.491954" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:03 +0000 (0:00:00.346) 0:05:01.901 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 22:23:03 +0000 (0:00:00.022) 0:05:01.923 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 22:23:03 +0000 (0:00:00.020) 0:05:01.943 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 22:23:03 +0000 (0:00:00.020) 0:05:01.964 ******* skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 22:23:03 +0000 (0:00:00.021) 0:05:01.985 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 22:23:03 +0000 (0:00:00.019) 0:05:02.005 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 22:23:03 +0000 (0:00:00.021) 0:05:02.026 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 22:23:03 +0000 (0:00:00.021) 0:05:02.048 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 22:23:03 +0000 (0:00:00.021) 0:05:02.070 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 22:23:03 +0000 (0:00:00.020) 0:05:02.090 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 22:23:03 +0000 (0:00:00.073) 0:05:02.164 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 22:23:03 +0000 (0:00:00.022) 0:05:02.186 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 22:23:03 +0000 (0:00:00.024) 0:05:02.210 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 22:23:03 +0000 (0:00:00.026) 0:05:02.237 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:02.259 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.279 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:02.300 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 22:23:04 +0000 (0:00:00.023) 0:05:02.323 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 22:23:04 +0000 (0:00:00.020) 0:05:02.344 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.364 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:02.385 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 22:23:04 +0000 (0:00:00.032) 0:05:02.418 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 22:23:04 +0000 (0:00:00.020) 0:05:02.438 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 22:23:04 +0000 (0:00:00.022) 0:05:02.461 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 22:23:04 +0000 (0:00:00.018) 0:05:02.480 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 22:23:04 +0000 (0:00:00.025) 0:05:02.506 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 22:23:04 +0000 (0:00:00.066) 0:05:02.572 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.592 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.612 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.631 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.651 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 22:23:04 +0000 (0:00:00.027) 0:05:02.678 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:02.700 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 22:23:04 +0000 (0:00:00.025) 0:05:02.725 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 22:23:04 +0000 (0:00:00.023) 0:05:02.749 ******* skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 22:23:04 +0000 (0:00:00.027) 0:05:02.776 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 22:23:04 +0000 (0:00:00.023) 0:05:02.800 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 22:23:04 +0000 (0:00:00.022) 0:05:02.823 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 22:23:04 +0000 (0:00:00.026) 0:05:02.849 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:02.871 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 22:23:04 +0000 (0:00:00.020) 0:05:02.891 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:02.912 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.931 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 22:23:04 +0000 (0:00:00.019) 0:05:02.950 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 22:23:04 +0000 (0:00:00.068) 0:05:03.019 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 22:23:04 +0000 (0:00:00.021) 0:05:03.040 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 22:23:04 +0000 (0:00:00.024) 0:05:03.065 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 22:23:04 +0000 (0:00:00.035) 0:05:03.100 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 22:23:04 +0000 (0:00:00.042) 0:05:03.143 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 22:23:04 +0000 (0:00:00.028) 0:05:03.171 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 22:23:04 +0000 (0:00:00.041) 0:05:03.213 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 22:23:04 +0000 (0:00:00.024) 0:05:03.237 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 22:23:05 +0000 (0:00:00.026) 0:05:03.264 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 22:23:05 +0000 (0:00:00.024) 0:05:03.288 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 22:23:05 +0000 (0:00:00.042) 0:05:03.331 ******* skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 22:23:05 +0000 (0:00:00.036) 0:05:03.368 ******* skipping: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 22:23:05 +0000 (0:00:00.022) 0:05:03.390 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 22:23:05 +0000 (0:00:00.032) 0:05:03.423 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 22:23:05 +0000 (0:00:00.038) 0:05:03.462 ******* changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 22:23:05 +0000 (0:00:00.334) 0:05:03.796 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 08 December 2023 22:23:05 +0000 (0:00:00.070) 0:05:03.866 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ActiveEnterTimestampMonotonic": "1547966174", "ActiveExitTimestamp": "Fri 2023-12-08 22:22:33 UTC", "ActiveExitTimestampMonotonic": "1674787772", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:20:26 UTC", "AssertTimestampMonotonic": "1547965104", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ConditionTimestampMonotonic": "1547965102", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2023-12-08 22:22:33 UTC", "ExecMainExitTimestampMonotonic": "1674944528", "ExecMainPID": "32152", "ExecMainStartTimestamp": "Fri 2023-12-08 22:20:26 UTC", "ExecMainStartTimestampMonotonic": "1547966116", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 22:20:26 UTC] ; stop_time=[Fri 2023-12-08 22:22:33 UTC] ; pid=32152 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:22:33 UTC", "InactiveEnterTimestampMonotonic": "1674944617", "InactiveExitTimestamp": "Fri 2023-12-08 22:20:26 UTC", "InactiveExitTimestampMonotonic": "1547966174", "InvocationID": "f33e33521e5643c381ddffd3cc8d7c33", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:22:33 UTC", "StateChangeTimestampMonotonic": "1674944617", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 22:23:06 +0000 (0:00:01.365) 0:05:05.232 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 22:23:06 +0000 (0:00:00.024) 0:05:05.256 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:73 Friday 08 December 2023 22:23:07 +0000 (0:00:00.030) 0:05:05.286 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 22:23:07 +0000 (0:00:00.310) 0:05:05.597 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 22:23:07 +0000 (0:00:00.043) 0:05:05.640 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 22:23:07 +0000 (0:00:00.029) 0:05:05.669 ******* ok: [sut] => (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 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 22:23:07 +0000 (0:00:00.039) 0:05:05.709 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 22:23:07 +0000 (0:00:00.080) 0:05:05.789 ******* skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 22:23:07 +0000 (0:00:00.020) 0:05:05.810 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 22:23:07 +0000 (0:00:00.020) 0:05:05.830 ******* skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 22:23:07 +0000 (0:00:00.020) 0:05:05.851 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 22:23:07 +0000 (0:00:00.022) 0:05:05.873 ******* skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 22:23:07 +0000 (0:00:00.019) 0:05:05.893 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 22:23:07 +0000 (0:00:00.020) 0:05:05.914 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 22:23:07 +0000 (0:00:00.023) 0:05:05.937 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 22:23:07 +0000 (0:00:00.024) 0:05:05.962 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 22:23:07 +0000 (0:00:00.028) 0:05:05.991 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 22:23:07 +0000 (0:00:00.027) 0:05:06.018 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 22:23:07 +0000 (0:00:00.026) 0:05:06.045 ******* skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 22:23:07 +0000 (0:00:00.023) 0:05:06.069 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 22:23:09 +0000 (0:00:01.594) 0:05:07.663 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 22:23:09 +0000 (0:00:00.062) 0:05:07.726 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 22:23:09 +0000 (0:00:00.101) 0:05:07.827 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 22:23:09 +0000 (0:00:00.026) 0:05:07.853 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 22:23:09 +0000 (0:00:00.036) 0:05:07.889 ******* ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 22:23:10 +0000 (0:00:00.471) 0:05:08.361 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 22:23:10 +0000 (0:00:00.038) 0:05:08.399 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 22:23:10 +0000 (0:00:00.025) 0:05:08.425 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 22:23:10 +0000 (0:00:00.030) 0:05:08.455 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 22:23:10 +0000 (0:00:00.025) 0:05:08.480 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 22:23:10 +0000 (0:00:00.026) 0:05:08.507 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 22:23:10 +0000 (0:00:00.025) 0:05:08.533 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 22:23:10 +0000 (0:00:00.019) 0:05:08.553 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 22:23:10 +0000 (0:00:00.020) 0:05:08.573 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 22:23:10 +0000 (0:00:00.033) 0:05:08.606 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 22:23:13 +0000 (0:00:03.219) 0:05:11.826 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 22:23:13 +0000 (0:00:00.029) 0:05:11.855 ******* ok: [sut] => { "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.005360", "end": "2023-12-08 22:23:13.784933", "rc": 0, "start": "2023-12-08 22:23:13.779573" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 22:23:13 +0000 (0:00:00.224) 0:05:12.080 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 22:23:39 +0000 (0:00:25.531) 0:05:37.611 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 22:23:39 +0000 (0:00:00.213) 0:05:37.825 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 22:23:39 +0000 (0:00:00.025) 0:05:37.850 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 22:23:39 +0000 (0:00:00.042) 0:05:37.893 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:23:39 +0000 (0:00:00.057) 0:05:37.950 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073965.1197977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702073965.0827982, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 325058820, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702073965.0827982, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "1827381690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:23:39 +0000 (0:00:00.248) 0:05:38.199 ******* ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:23:40 +0000 (0:00:00.247) 0:05:38.447 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:23:40 +0000 (0:00:00.042) 0:05:38.490 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:40 +0000 (0:00:00.052) 0:05:38.543 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003059", "end": "2023-12-08 22:23:40.481797", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:40.478738" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:40 +0000 (0:00:00.232) 0:05:38.775 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:40 +0000 (0:00:00.040) 0:05:38.815 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 22:23:40 +0000 (0:00:00.026) 0:05:38.842 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702074191.9026215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702074191.9106214, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 327155904, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702074191.9106214, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3458738250", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 22:23:40 +0000 (0:00:00.217) 0:05:39.059 ******* ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 22:23:41 +0000 (0:00:00.230) 0:05:39.289 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 22:23:41 +0000 (0:00:00.029) 0:05:39.319 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:41 +0000 (0:00:00.086) 0:05:39.406 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003067", "end": "2023-12-08 22:23:41.339297", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:41.336230" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:41 +0000 (0:00:00.240) 0:05:39.646 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:41 +0000 (0:00:00.028) 0:05:39.675 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 22:23:41 +0000 (0:00:00.045) 0:05:39.720 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 22:23:41 +0000 (0:00:00.044) 0:05:39.765 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 22:23:45 +0000 (0:00:03.832) 0:05:43.598 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 21:55:03 UTC", "ActiveEnterTimestampMonotonic": "24386960", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target dbus.socket systemd-sysctl.service basic.target network.target polkit.service dbus.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 21:55:02 UTC", "AssertTimestampMonotonic": "23487138", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ConditionTimestampMonotonic": "23487137", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service tlp.service power-profiles-daemon.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "710", "ExecMainStartTimestamp": "Fri 2023-12-08 21:55:02 UTC", "ExecMainStartTimestampMonotonic": "23487942", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 21:55:02 UTC", "InactiveExitTimestampMonotonic": "23487996", "InvocationID": "d1f3522a1cb64b7587246dfd0af562a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "710", "MemoryAccounting": "yes", "MemoryCurrent": "20819968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 21:55:03 UTC", "StateChangeTimestampMonotonic": "24386960", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 21:55:03 UTC", "WatchdogTimestampMonotonic": "24386957", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 22:23:45 +0000 (0:00:00.389) 0:05:43.988 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116923", "end": "2023-12-08 22:23:46.033502", "rc": 0, "start": "2023-12-08 22:23:45.916579" } 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 22:23:46 +0000 (0:00:00.340) 0:05:44.328 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 22:23:46 +0000 (0:00:00.037) 0:05:44.365 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 22:23:46 +0000 (0:00:00.046) 0:05:44.412 ******* skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 22:23:46 +0000 (0:00:00.025) 0:05:44.438 ******* ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 22:23:46 +0000 (0:00:00.230) 0:05:44.668 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 22:23:50 +0000 (0:00:03.867) 0:05:48.535 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 22:23:50 +0000 (0:00:00.034) 0:05:48.570 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:23:06 UTC", "ActiveEnterTimestampMonotonic": "1708092646", "ActiveExitTimestamp": "Fri 2023-12-08 22:22:33 UTC", "ActiveExitTimestampMonotonic": "1674787772", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:23:06 UTC", "AssertTimestampMonotonic": "1708091615", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:23:06 UTC", "ConditionTimestampMonotonic": "1708091614", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35293", "ExecMainStartTimestamp": "Fri 2023-12-08 22:23:06 UTC", "ExecMainStartTimestampMonotonic": "1708092587", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 22:23:06 UTC] ; stop_time=[n/a] ; pid=35293 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:22:33 UTC", "InactiveEnterTimestampMonotonic": "1674944617", "InactiveExitTimestamp": "Fri 2023-12-08 22:23:06 UTC", "InactiveExitTimestampMonotonic": "1708092646", "InvocationID": "38569ce671cf44b8b99fdb15aabaec47", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35293", "MemoryAccounting": "yes", "MemoryCurrent": "719376384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:23:06 UTC", "StateChangeTimestampMonotonic": "1708092646", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "174", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:23:06 UTC", "WatchdogTimestampMonotonic": "1708092643", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 22:23:50 +0000 (0:00:00.349) 0:05:48.920 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003020", "end": "2023-12-08 22:23:50.871045", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:50.868025" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 22:23:50 +0000 (0:00:00.237) 0:05:49.157 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003071", "end": "2023-12-08 22:23:51.079498", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:51.076427" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 22:23:51 +0000 (0:00:00.266) 0:05:49.424 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 22:23:51 +0000 (0:00:00.031) 0:05:49.456 ******* ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "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": 16962, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 22:23:52 +0000 (0:00:01.233) 0:05:50.689 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 22:23:52 +0000 (0:00:00.243) 0:05:50.933 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_password_query is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 22:23:52 +0000 (0:00:00.022) 0:05:50.955 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 22:23:54 +0000 (0:00:01.355) 0:05:52.311 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 22:23:54 +0000 (0:00:00.022) 0:05:52.333 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 22:23:54 +0000 (0:00:00.037) 0:05:52.371 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 22:23:54 +0000 (0:00:00.028) 0:05:52.399 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005056", "end": "2023-12-08 22:23:54.321883", "rc": 0, "start": "2023-12-08 22:23:54.316827" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 22:23:54 +0000 (0:00:00.211) 0:05:52.611 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 22:23:54 +0000 (0:00:00.024) 0:05:52.635 ******* ok: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 22:23:55 +0000 (0:00:01.414) 0:05:54.050 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 22:23:55 +0000 (0:00:00.025) 0:05:54.075 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:55 +0000 (0:00:00.114) 0:05:54.190 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003145", "end": "2023-12-08 22:23:56.128098", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:56.124953" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:56 +0000 (0:00:00.234) 0:05:54.424 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:56 +0000 (0:00:00.047) 0:05:54.471 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 22:23:56 +0000 (0:00:00.040) 0:05:54.512 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 22:23:56 +0000 (0:00:00.026) 0:05:54.539 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 22:23:56 +0000 (0:00:00.055) 0:05:54.595 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:56 +0000 (0:00:00.045) 0:05:54.640 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002811", "end": "2023-12-08 22:23:56.561626", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:56.558815" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:56 +0000 (0:00:00.214) 0:05:54.855 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:56 +0000 (0:00:00.030) 0:05:54.885 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 22:23:56 +0000 (0:00:00.024) 0:05:54.910 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 22:23:56 +0000 (0:00:00.032) 0:05:54.942 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:23:56 +0000 (0:00:00.042) 0:05:54.984 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003268", "end": "2023-12-08 22:23:56.909906", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:23:56.906638" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:23:56 +0000 (0:00:00.219) 0:05:55.204 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:23:56 +0000 (0:00:00.045) 0:05:55.249 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 22:23:57 +0000 (0:00:00.029) 0:05:55.279 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 22:24:00 +0000 (0:00:02.990) 0:05:58.269 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 22:24:02 +0000 (0:00:02.821) 0:06:01.091 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003160", "end": "2023-12-08 22:24:03.031818", "failed_when_result": false, "rc": 1, "start": "2023-12-08 22:24:03.028658" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 22:24:03 +0000 (0:00:00.238) 0:06:01.330 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 22:24:03 +0000 (0:00:00.023) 0:06:01.353 ******* skipping: [sut] => { "changed": false, "false_condition": "'3979' in __mssql_get_traceflag.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 22:24:03 +0000 (0:00:00.021) 0:06:01.374 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:24:03 +0000 (0:00:00.035) 0:06:01.409 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003138", "end": "2023-12-08 22:24:03.338409", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:24:03.335271" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:24:03 +0000 (0:00:00.215) 0:06:01.625 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:24:03 +0000 (0:00:00.028) 0:06:01.654 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 22:24:03 +0000 (0:00:00.041) 0:06:01.695 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 22:24:03 +0000 (0:00:00.043) 0:06:01.739 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003236", "end": "2023-12-08 22:24:03.676062", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:24:03.672826" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 22:24:03 +0000 (0:00:00.224) 0:06:01.964 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 22:24:03 +0000 (0:00:00.060) 0:06:02.025 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 22:24:03 +0000 (0:00:00.036) 0:06:02.061 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 22:24:03 +0000 (0:00:00.028) 0:06:02.089 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 22:24:03 +0000 (0:00:00.026) 0:06:02.115 ******* skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 22:24:03 +0000 (0:00:00.098) 0:06:02.214 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 22:24:03 +0000 (0:00:00.025) 0:06:02.239 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 22:24:04 +0000 (0:00:00.023) 0:06:02.263 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 22:24:04 +0000 (0:00:00.048) 0:06:02.311 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 22:24:04 +0000 (0:00:00.021) 0:06:02.332 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 22:24:04 +0000 (0:00:00.022) 0:06:02.355 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 22:24:04 +0000 (0:00:00.029) 0:06:02.385 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 22:24:04 +0000 (0:00:00.024) 0:06:02.409 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 22:24:04 +0000 (0:00:00.030) 0:06:02.440 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 22:24:04 +0000 (0:00:00.041) 0:06:02.481 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 22:24:04 +0000 (0:00:00.027) 0:06:02.509 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 22:24:04 +0000 (0:00:00.020) 0:06:02.530 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 22:24:04 +0000 (0:00:00.020) 0:06:02.550 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 22:24:04 +0000 (0:00:00.020) 0:06:02.571 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 22:24:04 +0000 (0:00:00.023) 0:06:02.594 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 22:24:04 +0000 (0:00:00.025) 0:06:02.620 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 22:24:04 +0000 (0:00:00.027) 0:06:02.648 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 22:24:04 +0000 (0:00:00.025) 0:06:02.673 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 22:24:04 +0000 (0:00:00.124) 0:06:02.798 ******* skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 22:24:04 +0000 (0:00:00.023) 0:06:02.821 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 22:24:04 +0000 (0:00:00.024) 0:06:02.845 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 22:24:04 +0000 (0:00:00.023) 0:06:02.869 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 22:24:04 +0000 (0:00:00.019) 0:06:02.889 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 22:24:04 +0000 (0:00:00.038) 0:06:02.927 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 22:24:04 +0000 (0:00:00.024) 0:06:02.951 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 22:24:04 +0000 (0:00:00.045) 0:06:02.997 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 22:24:04 +0000 (0:00:00.035) 0:06:03.032 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 22:24:04 +0000 (0:00:00.025) 0:06:03.058 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 22:24:04 +0000 (0:00:00.030) 0:06:03.088 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 22:24:04 +0000 (0:00:00.047) 0:06:03.135 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 22:24:04 +0000 (0:00:00.021) 0:06:03.157 ******* skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 22:24:04 +0000 (0:00:00.025) 0:06:03.183 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 22:24:04 +0000 (0:00:00.031) 0:06:03.214 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 22:24:04 +0000 (0:00:00.025) 0:06:03.239 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 22:24:05 +0000 (0:00:00.063) 0:06:03.303 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 22:24:05 +0000 (0:00:00.026) 0:06:03.330 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 22:24:05 +0000 (0:00:00.091) 0:06:03.421 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 22:24:05 +0000 (0:00:00.021) 0:06:03.443 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 22:24:05 +0000 (0:00:00.028) 0:06:03.471 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 22:24:05 +0000 (0:00:00.021) 0:06:03.493 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 22:24:05 +0000 (0:00:00.020) 0:06:03.513 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 22:24:05 +0000 (0:00:00.020) 0:06:03.534 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 22:24:05 +0000 (0:00:00.025) 0:06:03.559 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 22:24:05 +0000 (0:00:00.030) 0:06:03.589 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 22:24:05 +0000 (0:00:00.023) 0:06:03.613 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 22:24:05 +0000 (0:00:00.026) 0:06:03.640 ******* skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 22:24:05 +0000 (0:00:00.037) 0:06:03.678 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 22:24:05 +0000 (0:00:00.028) 0:06:03.706 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 22:24:05 +0000 (0:00:00.024) 0:06:03.730 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 22:24:05 +0000 (0:00:00.022) 0:06:03.753 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 22:24:05 +0000 (0:00:00.019) 0:06:03.772 ******* skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 22:24:05 +0000 (0:00:00.023) 0:06:03.796 ******* skipping: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 22:24:05 +0000 (0:00:00.018) 0:06:03.814 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 22:24:05 +0000 (0:00:00.020) 0:06:03.835 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "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: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 22:24:05 +0000 (0:00:00.071) 0:06:03.906 ******* ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 22:24:05 +0000 (0:00:00.244) 0:06:04.151 ******* META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 22:24:05 +0000 (0:00:00.020) 0:06:04.171 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 22:24:05 +0000 (0:00:00.023) 0:06:04.194 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:88 Friday 08 December 2023 22:24:05 +0000 (0:00:00.040) 0:06:04.235 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:8 Friday 08 December 2023 22:24:06 +0000 (0:00:00.301) 0:06:04.536 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005772", "end": "2023-12-08 22:24:06.480199", "rc": 0, "start": "2023-12-08 22:24:06.474427" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:23 Friday 08 December 2023 22:24:06 +0000 (0:00:00.232) 0:06:04.768 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005173", "end": "2023-12-08 22:24:06.696470", "rc": 0, "start": "2023-12-08 22:24:06.691297" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:35 Friday 08 December 2023 22:24:06 +0000 (0:00:00.222) 0:06:04.991 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:39 Friday 08 December 2023 22:24:06 +0000 (0:00:00.029) 0:06:05.021 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '127.0.0.1'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1435}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/var/opt/mssql/data'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/var/opt/mssql/log'}) included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'enabled', 'value': False}) TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:06 +0000 (0:00:00.069) 0:06:05.090 ******* ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004339", "end": "2023-12-08 22:24:07.016935", "rc": 0, "start": "2023-12-08 22:24:07.012596" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:07 +0000 (0:00:00.220) 0:06:05.311 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:07 +0000 (0:00:00.059) 0:06:05.370 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:07 +0000 (0:00:00.131) 0:06:05.502 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:07 +0000 (0:00:00.026) 0:06:05.528 ******* ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004485", "end": "2023-12-08 22:24:07.482489", "rc": 0, "start": "2023-12-08 22:24:07.478004" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:07 +0000 (0:00:00.245) 0:06:05.774 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting != \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:07 +0000 (0:00:00.034) 0:06:05.808 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:07 +0000 (0:00:00.025) 0:06:05.834 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:07 +0000 (0:00:00.029) 0:06:05.863 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004557", "end": "2023-12-08 22:24:07.795478", "rc": 0, "start": "2023-12-08 22:24:07.790921" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:07 +0000 (0:00:00.218) 0:06:06.082 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:07 +0000 (0:00:00.048) 0:06:06.131 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:07 +0000 (0:00:00.029) 0:06:06.160 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:07 +0000 (0:00:00.060) 0:06:06.221 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004586", "end": "2023-12-08 22:24:08.151999", "rc": 0, "start": "2023-12-08 22:24:08.147413" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:08 +0000 (0:00:00.240) 0:06:06.461 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:08 +0000 (0:00:00.065) 0:06:06.526 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:08 +0000 (0:00:00.030) 0:06:06.557 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:08 +0000 (0:00:00.023) 0:06:06.580 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004452", "end": "2023-12-08 22:24:08.528111", "rc": 0, "start": "2023-12-08 22:24:08.523659" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:08 +0000 (0:00:00.240) 0:06:06.820 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:08 +0000 (0:00:00.020) 0:06:06.841 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:08 +0000 (0:00:00.031) 0:06:06.873 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:55 Friday 08 December 2023 22:24:08 +0000 (0:00:00.110) 0:06:06.983 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702073965.1197977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702073965.0827982, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 325058820, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702073965.0827982, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "1827381690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:60 Friday 08 December 2023 22:24:08 +0000 (0:00:00.228) 0:06:07.212 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:70 Friday 08 December 2023 22:24:08 +0000 (0:00:00.034) 0:06:07.246 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702074191.9026215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702074191.9106214, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 327155904, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702074191.9106214, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3458738250", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:75 Friday 08 December 2023 22:24:09 +0000 (0:00:00.223) 0:06:07.469 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:85 Friday 08 December 2023 22:24:09 +0000 (0:00:00.027) 0:06:07.497 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 22:24:09 +0000 (0:00:00.081) 0:06:07.578 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:23:06 UTC", "ActiveEnterTimestampMonotonic": "1708092646", "ActiveExitTimestamp": "Fri 2023-12-08 22:22:33 UTC", "ActiveExitTimestampMonotonic": "1674787772", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target -.mount network.target auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:23:06 UTC", "AssertTimestampMonotonic": "1708091615", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:23:06 UTC", "ConditionTimestampMonotonic": "1708091614", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35293", "ExecMainStartTimestamp": "Fri 2023-12-08 22:23:06 UTC", "ExecMainStartTimestampMonotonic": "1708092587", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 22:23:06 UTC] ; stop_time=[n/a] ; pid=35293 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 22:22:33 UTC", "InactiveEnterTimestampMonotonic": "1674944617", "InactiveExitTimestamp": "Fri 2023-12-08 22:23:06 UTC", "InactiveExitTimestampMonotonic": "1708092646", "InvocationID": "38569ce671cf44b8b99fdb15aabaec47", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35293", "MemoryAccounting": "yes", "MemoryCurrent": "729079808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:23:06 UTC", "StateChangeTimestampMonotonic": "1708092646", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "174", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 22:23:06 UTC", "WatchdogTimestampMonotonic": "1708092643", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 22:24:09 +0000 (0:00:00.379) 0:06:07.957 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003047", "end": "2023-12-08 22:24:09.898915", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:24:09.895868" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 22:24:09 +0000 (0:00:00.237) 0:06:08.195 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003033", "end": "2023-12-08 22:24:10.143053", "failed_when_result": false, "rc": 0, "start": "2023-12-08 22:24:10.140020" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 22:24:10 +0000 (0:00:00.299) 0:06:08.494 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:93 Friday 08 December 2023 22:24:10 +0000 (0:00:00.060) 0:06:08.554 ******* ok: [sut] => { "changed": false, "elapsed": 18, "gid": 991, "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": 16962, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:100 Friday 08 December 2023 22:24:28 +0000 (0:00:18.353) 0:06:26.907 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026776", "end": "2023-12-08 22:24:28.870605", "rc": 0, "start": "2023-12-08 22:24:28.843829" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Stream 8) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:114 Friday 08 December 2023 22:24:28 +0000 (0:00:00.255) 0:06:27.163 ******* ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:118 Friday 08 December 2023 22:24:28 +0000 (0:00:00.027) 0:06:27.190 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:7 Friday 08 December 2023 22:24:28 +0000 (0:00:00.034) 0:06:27.225 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:12 Friday 08 December 2023 22:24:30 +0000 (0:00:01.636) 0:06:28.862 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_verify_package_installed | bool", "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:17 Friday 08 December 2023 22:24:30 +0000 (0:00:00.037) 0:06:28.899 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:125 Friday 08 December 2023 22:24:30 +0000 (0:00:00.029) 0:06:28.928 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:7 Friday 08 December 2023 22:24:30 +0000 (0:00:00.060) 0:06:28.989 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:12 Friday 08 December 2023 22:24:32 +0000 (0:00:01.375) 0:06:30.364 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_verify_package_installed | bool", "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_package.yml:17 Friday 08 December 2023 22:24:32 +0000 (0:00:00.032) 0:06:30.396 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:136 Friday 08 December 2023 22:24:32 +0000 (0:00:00.102) 0:06:30.499 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004498", "end": "2023-12-08 22:24:32.429619", "rc": 0, "start": "2023-12-08 22:24:32.425121" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:141 Friday 08 December 2023 22:24:32 +0000 (0:00:00.225) 0:06:30.724 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua | bool", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:146 Friday 08 December 2023 22:24:32 +0000 (0:00:00.022) 0:06:30.747 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:152 Friday 08 December 2023 22:24:32 +0000 (0:00:00.043) 0:06:30.790 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:32 +0000 (0:00:00.069) 0:06:30.860 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004391", "end": "2023-12-08 22:24:32.796805", "rc": 0, "start": "2023-12-08 22:24:32.792414" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:32 +0000 (0:00:00.360) 0:06:31.221 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:32 +0000 (0:00:00.031) 0:06:31.252 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:33 +0000 (0:00:00.038) 0:06:31.291 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:158 Friday 08 December 2023 22:24:33 +0000 (0:00:00.032) 0:06:31.324 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 22:24:33 +0000 (0:00:00.059) 0:06:31.383 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004380", "end": "2023-12-08 22:24:33.346831", "rc": 0, "start": "2023-12-08 22:24:33.342451" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 22:24:33 +0000 (0:00:00.259) 0:06:31.642 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 22:24:33 +0000 (0:00:00.038) 0:06:31.681 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 22:24:33 +0000 (0:00:00.040) 0:06:31.722 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:168 Friday 08 December 2023 22:24:33 +0000 (0:00:00.035) 0:06:31.758 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:179 Friday 08 December 2023 22:24:33 +0000 (0:00:00.024) 0:06:31.782 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:191 Friday 08 December 2023 22:24:33 +0000 (0:00:00.029) 0:06:31.811 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:199 Friday 08 December 2023 22:24:33 +0000 (0:00:00.027) 0:06:31.839 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tls_encrypted is defined", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:209 Friday 08 December 2023 22:24:33 +0000 (0:00:00.041) 0:06:31.880 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:214 Friday 08 December 2023 22:24:33 +0000 (0:00:00.052) 0:06:31.933 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:220 Friday 08 December 2023 22:24:33 +0000 (0:00:00.046) 0:06:31.980 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/tests_idempotency.yml:105 Friday 08 December 2023 22:24:33 +0000 (0:00:00.056) 0:06:32.037 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/check_header.yml:4 Friday 08 December 2023 22:24:34 +0000 (0:00:00.395) 0:06:32.432 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003008", "end": "2023-12-08 22:24:34.423940", "rc": 0, "start": "2023-12-08 22:24:34.420932" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tests_idempotency_2022.yml:20 Friday 08 December 2023 22:24:34 +0000 (0:00:00.310) 0:06:32.742 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:2 Friday 08 December 2023 22:24:34 +0000 (0:00:00.055) 0:06:32.798 ******* ok: [sut] => { "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: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:6 Friday 08 December 2023 22:24:36 +0000 (0:00:01.485) 0:06:34.284 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages.pcs is defined", "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:14 Friday 08 December 2023 22:24:36 +0000 (0:00:00.066) 0:06:34.350 ******* ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:18 Friday 08 December 2023 22:24:36 +0000 (0:00:00.032) 0:06:34.382 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 08 December 2023 22:24:36 +0000 (0:00:00.130) 0:06:34.513 ******* included: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 08 December 2023 22:24:36 +0000 (0:00:00.053) 0:06:34.566 ******* skipping: [sut] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 08 December 2023 22:24:36 +0000 (0:00:00.033) 0:06:34.599 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 08 December 2023 22:24:36 +0000 (0:00:00.215) 0:06:34.815 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Friday 08 December 2023 22:24:36 +0000 (0:00:00.164) 0:06:34.979 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 08 December 2023 22:24:39 +0000 (0:00:02.896) 0:06:37.876 ******* skipping: [sut] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 08 December 2023 22:24:39 +0000 (0:00:00.019) 0:06:37.895 ******* skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 08 December 2023 22:24:39 +0000 (0:00:00.027) 0:06:37.922 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:10:59 UTC", "ActiveEnterTimestampMonotonic": "980343965", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service sysinit.target basic.target system.slice dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:10:58 UTC", "AssertTimestampMonotonic": "979594782", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:10:58 UTC", "ConditionTimestampMonotonic": "979594777", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10387", "ExecMainStartTimestamp": "Fri 2023-12-08 22:10:58 UTC", "ExecMainStartTimestampMonotonic": "979596388", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 22:10:58 UTC", "InactiveExitTimestampMonotonic": "979596438", "InvocationID": "454b6b0da3a84324be63081e8258c92a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10387", "MemoryAccounting": "yes", "MemoryCurrent": "45613056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:10:59 UTC", "StateChangeTimestampMonotonic": "980343965", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2023-12-08 22:10:59 UTC", "WatchdogTimestampMonotonic": "980343962", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 08 December 2023 22:24:40 +0000 (0:00:00.419) 0:06:38.341 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 22:10:59 UTC", "ActiveEnterTimestampMonotonic": "980343965", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service sysinit.target basic.target system.slice dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 22:10:58 UTC", "AssertTimestampMonotonic": "979594782", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 22:10:58 UTC", "ConditionTimestampMonotonic": "979594777", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10387", "ExecMainStartTimestamp": "Fri 2023-12-08 22:10:58 UTC", "ExecMainStartTimestampMonotonic": "979596388", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 22:10:58 UTC", "InactiveExitTimestampMonotonic": "979596438", "InvocationID": "454b6b0da3a84324be63081e8258c92a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10387", "MemoryAccounting": "yes", "MemoryCurrent": "45613056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2023-12-08 22:10:59 UTC", "StateChangeTimestampMonotonic": "980343965", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2023-12-08 22:10:59 UTC", "WatchdogTimestampMonotonic": "980343962", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 08 December 2023 22:24:41 +0000 (0:00:01.387) 0:06:39.729 ******* ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 08 December 2023 22:24:41 +0000 (0:00:00.033) 0:06:39.763 ******* ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.186 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 08 December 2023 22:24:41 +0000 (0:00:00.317) 0:06:40.080 ******* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 08 December 2023 22:24:41 +0000 (0:00:00.024) 0:06:40.105 ******* skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 08 December 2023 22:24:41 +0000 (0:00:00.029) 0:06:40.134 ******* skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 08 December 2023 22:24:41 +0000 (0:00:00.057) 0:06:40.192 ******* skipping: [sut] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 08 December 2023 22:24:41 +0000 (0:00:00.045) 0:06:40.238 ******* skipping: [sut] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 08 December 2023 22:24:42 +0000 (0:00:00.037) 0:06:40.275 ******* skipping: [sut] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 08 December 2023 22:24:42 +0000 (0:00:00.089) 0:06:40.364 ******* ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.186 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 08 December 2023 22:24:42 +0000 (0:00:00.394) 0:06:40.759 ******* ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 08 December 2023 22:24:42 +0000 (0:00:00.034) 0:06:40.793 ******* skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:27 Friday 08 December 2023 22:24:42 +0000 (0:00:00.297) 0:06:41.090 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages.realmd is defined", "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:35 Friday 08 December 2023 22:24:42 +0000 (0:00:00.055) 0:06:41.146 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages[\"krb5-workstation\"] is defined", "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:39 Friday 08 December 2023 22:24:42 +0000 (0:00:00.039) 0:06:41.185 ******* ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:45 Friday 08 December 2023 22:24:43 +0000 (0:00:00.405) 0:06:41.590 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-21.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: libatomic-8.5.0-21.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: mssql-server-16.0.4095.4-1.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:58 Friday 08 December 2023 22:24:48 +0000 (0:00:05.279) 0:06:46.870 ******* changed: [sut] => { "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.011574", "end": "2023-12-08 22:24:48.874742", "rc": 0, "start": "2023-12-08 22:24:48.863168" } STDOUT: 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/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/bd5d71de-74c3-4996-83ca-040e0a4c2bbd' 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/lsa.hiv' removed directory '/var/opt/mssql/.system/system' 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/Temp' 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/INetCache/IE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/Content.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies/ESE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History/History.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History' 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/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' 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' 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/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, 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 '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/tempdb2.ndf' removed '/var/opt/mssql/data/tempdb3.ndf' removed '/var/opt/mssql/data/tempdb4.ndf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133465475621800000.xel' removed '/var/opt/mssql/log/system_health_0_133465475641760000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133465475685340000.xel' removed '/var/opt/mssql/log/system_health_0_133465475704150000.xel' removed '/var/opt/mssql/log/log_1.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133465476301760000.xel' removed '/var/opt/mssql/log/system_health_0_133465476319000000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133465477588360000.xel' removed '/var/opt/mssql/log/system_health_0_133465477602610000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/sqlagent.2' removed '/var/opt/mssql/log/sqlagent.1' removed '/var/opt/mssql/log/sqlagent.out' removed '/var/opt/mssql/log/HkEngineEventFile_0_133465477681840000.xel' removed '/var/opt/mssql/log/system_health_0_133465477696500000.xel' removed '/var/opt/mssql/log/log_4.trc' removed '/var/opt/mssql/log/errorlog.6' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133465477900030000.xel' removed '/var/opt/mssql/log/system_health_0_133465477918930000.xel' removed '/var/opt/mssql/log/log_5.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/mssql.conf' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed '/var/opt/mssql/FTData/tsara.xml' removed '/var/opt/mssql/FTData/tsben.xml' removed '/var/opt/mssql/FTData/tsbgr.xml' removed '/var/opt/mssql/FTData/tscat.xml' removed '/var/opt/mssql/FTData/tschs.xml' removed '/var/opt/mssql/FTData/tscht.xml' removed '/var/opt/mssql/FTData/tscze.xml' removed '/var/opt/mssql/FTData/tsdan.xml' removed '/var/opt/mssql/FTData/tsdeu.xml' removed '/var/opt/mssql/FTData/tseng.xml' removed '/var/opt/mssql/FTData/tsenu.xml' removed '/var/opt/mssql/FTData/tsesn.xml' removed '/var/opt/mssql/FTData/tsfra.xml' removed '/var/opt/mssql/FTData/tsgrk.xml' removed '/var/opt/mssql/FTData/tsguj.xml' removed '/var/opt/mssql/FTData/tsheb.xml' removed '/var/opt/mssql/FTData/tshin.xml' removed '/var/opt/mssql/FTData/tshrv.xml' removed '/var/opt/mssql/FTData/tsind.xml' removed '/var/opt/mssql/FTData/tsisl.xml' removed '/var/opt/mssql/FTData/tsita.xml' removed '/var/opt/mssql/FTData/tsjpn.xml' removed '/var/opt/mssql/FTData/tskan.xml' removed '/var/opt/mssql/FTData/tskor.xml' removed '/var/opt/mssql/FTData/tslth.xml' removed '/var/opt/mssql/FTData/tslvi.xml' removed '/var/opt/mssql/FTData/tsmal.xml' removed '/var/opt/mssql/FTData/tsmar.xml' removed '/var/opt/mssql/FTData/tsmsl.xml' removed '/var/opt/mssql/FTData/tsglobal.xml' removed '/var/opt/mssql/FTData/tsnld.xml' removed '/var/opt/mssql/FTData/tsnor.xml' removed '/var/opt/mssql/FTData/tspan.xml' removed '/var/opt/mssql/FTData/tsplk.xml' removed '/var/opt/mssql/FTData/tsptb.xml' removed '/var/opt/mssql/FTData/tsptg.xml' removed '/var/opt/mssql/FTData/tsrom.xml' removed '/var/opt/mssql/FTData/tsrus.xml' removed '/var/opt/mssql/FTData/tssky.xml' removed '/var/opt/mssql/FTData/tsslv.xml' removed '/var/opt/mssql/FTData/tssrb.xml' removed '/var/opt/mssql/FTData/tssrl.xml' removed '/var/opt/mssql/FTData/tssve.xml' removed '/var/opt/mssql/FTData/tstam.xml' removed '/var/opt/mssql/FTData/tstel.xml' removed '/var/opt/mssql/FTData/tstha.xml' removed '/var/opt/mssql/FTData/tstrk.xml' removed '/var/opt/mssql/FTData/tsukr.xml' removed '/var/opt/mssql/FTData/tsurd.xml' removed '/var/opt/mssql/FTData/tsvit.xml' removed directory '/var/opt/mssql/FTData/FilterData' removed directory '/var/opt/mssql/FTData' 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-2022.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' removed directory '/tmp/mssql_data' removed directory '/tmp/mssql_log' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:72 Friday 08 December 2023 22:24:48 +0000 (0:00:00.329) 0:06:47.200 ******* ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010596", "end": "2023-12-08 22:24:49.155801", "rc": 0, "start": "2023-12-08 22:24:49.145205" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. PLAY RECAP ********************************************************************* sut : ok=341 changed=36 unreachable=0 failed=0 skipped=502 rescued=0 ignored=1 Friday 08 December 2023 22:24:49 +0000 (0:00:00.304) 0:06:47.504 ******* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 41.02s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 30.20s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 fedora.linux_system_roles.mssql : Gather system services facts --------- 28.63s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 25.53s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 24.51s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wait for mssql-server to prepare for client connections ---------------- 18.35s /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.26s /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Gather system services facts --------- 17.59s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Ensure the package powershell -------- 12.54s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 8.08s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 7.22s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 fedora.linux_system_roles.mssql : Change the password of sa user -------- 7.19s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Remove related packages ------------------------------------------------- 5.28s /WORKDIR/git-storage-selinuxhfp8umfz/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 4.43s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.02s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.88s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.87s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.85s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.83s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Ensure the package mssql-server ------- 3.78s /WORKDIR/git-storage-selinuxhfp8umfz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---