# 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-selinuxlgqbtjtz/.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_2019.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tests_idempotency_2019.yml:14 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.039) 0:00:00.039 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:2 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.010) 0:00:00.049 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.010) 0:00:00.060 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.500) 0:00:00.560 ***** 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-selinuxlgqbtjtz/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.018) 0:00:00.579 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:5 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.017) 0:00:00.597 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.087) 0:00:00.684 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.009) 0:00:00.694 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.024) 0:00:00.719 ***** 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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.067) 0:00:00.787 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.048) 0:00:00.835 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.026) 0:00:00.861 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.019) 0:00:00.881 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.012) 0:00:00.893 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.016) 0:00:00.909 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:28:14 +0000 (0:00:00.056) 0:00:00.965 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.032) 0:00:00.998 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.052) 0:00:01.050 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.021) 0:00:01.072 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.016) 0:00:01.088 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.015) 0:00:01.104 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.018) 0:00:01.122 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:28:15 +0000 (0:00:00.026) 0:00:01.149 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:28:16 +0000 (0:00:01.489) 0:00:02.639 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:28:16 +0000 (0:00:00.036) 0:00:02.675 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:28:16 +0000 (0:00:00.020) 0:00:02.695 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:28:16 +0000 (0:00:00.029) 0:00:02.724 ***** 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": "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": "mssql_version | int == item.key", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:28:16 +0000 (0:00:00.042) 0:00:02.766 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.546) 0:00:03.313 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.018) 0:00:03.332 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.018) 0:00:03.350 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.018) 0:00:03.368 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.288) 0:00:03.657 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.041) 0:00:03.699 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.022) 0:00:03.722 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.022) 0:00:03.745 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.023) 0:00:03.768 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:28:17 +0000 (0:00:00.022) 0:00:03.790 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "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: mssql-server-15.0.4335.1-6.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:28:54 +0000 (0:00:36.751) 0:00:40.542 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:28:54 +0000 (0:00:00.015) 0:00:40.558 ***** 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.005743", "end": "2023-12-07 08:28:54.810909", "rc": 0, "start": "2023-12-07 08:28:54.805166" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:28:54 +0000 (0:00:00.255) 0:00:40.814 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:29:01 +0000 (0:00:06.597) 0:00:47.412 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:29:01 +0000 (0:00:00.035) 0:00:47.448 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:29:01 +0000 (0:00:00.036) 0:00:47.484 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:29:06 +0000 (0:00:05.137) 0:00:52.622 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:29:06 +0000 (0:00:00.076) 0:00:52.699 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:29:07 +0000 (0:00:00.350) 0:00:53.050 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:29:07 +0000 (0:00:00.324) 0:00:53.374 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:29:07 +0000 (0:00:00.033) 0:00:53.408 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:29:07 +0000 (0:00:00.031) 0:00:53.440 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.010245", "end": "2023-12-07 08:29:07.696934", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:29:07.686689" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:29:07 +0000 (0:00:00.293) 0:00:53.733 ***** 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.130283", "end": "2023-12-07 08:29:08.088518", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:29:07.958235" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.367) 0:00:54.101 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.018) 0:00:54.120 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.257) 0:00:54.377 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.229) 0:00:54.607 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.037) 0:00:54.644 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.030) 0:00:54.675 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002946", "end": "2023-12-07 08:29:08.879153", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:29:08.876207" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:29:08 +0000 (0:00:00.206) 0:00:54.882 ***** 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.186336", "end": "2023-12-07 08:29:09.291109", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:29:09.104773" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:29:09 +0000 (0:00:00.423) 0:00:55.305 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:29:09 +0000 (0:00:00.023) 0:00:55.328 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:29:09 +0000 (0:00:00.028) 0:00:55.357 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:29:12 +0000 (0:00:03.036) 0:00:58.393 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:46 UTC", "ActiveEnterTimestampMonotonic": "38613435", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-sysctl.service sysinit.target basic.target polkit.service dbus.service network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37121988", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:07:44 UTC", "ConditionTimestampMonotonic": "37121987", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.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": "723", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37122761", "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": "Thu 2023-12-07 08:07:44 UTC", "InactiveExitTimestampMonotonic": "37122816", "InvocationID": "7230f42fb2604632b724854728a356c8", "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": "723", "MemoryAccounting": "yes", "MemoryCurrent": "22790144", "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 sysinit.target system.slice 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": "Thu 2023-12-07 08:07:46 UTC", "StateChangeTimestampMonotonic": "38613435", "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": "Thu 2023-12-07 08:07:46 UTC", "WatchdogTimestampMonotonic": "38613432", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:29:14 +0000 (0:00:01.698) 0:01:00.092 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113460", "end": "2023-12-07 08:29:14.410045", "rc": 0, "start": "2023-12-07 08:29:14.296585" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:29:14 +0000 (0:00:00.367) 0:01:00.459 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:29:14 +0000 (0:00:00.039) 0:01:00.499 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:29:14 +0000 (0:00:00.020) 0:01:00.520 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:29:14 +0000 (0:00:00.029) 0:01:00.550 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:29:14 +0000 (0:00:00.295) 0:01:00.845 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "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" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:29:19 +0000 (0:00:04.889) 0:01:05.735 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.022) 0:01:05.757 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.028) 0:01:05.786 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.029) 0:01:05.816 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.033) 0:01:05.849 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.023) 0:01:05.872 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.023) 0:01:05.895 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.035) 0:01:05.931 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.019) 0:01:05.951 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:29:19 +0000 (0:00:00.025) 0:01:05.976 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.020) 0:01:05.997 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.019) 0:01:06.017 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.019) 0:01:06.036 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.035) 0:01:06.071 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003149", "end": "2023-12-07 08:29:20.289788", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:29:20.286639" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.220) 0:01:06.292 ***** 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.112934", "end": "2023-12-07 08:29:20.616063", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:29:20.503129" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.331) 0:01:06.624 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.018) 0:01:06.642 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.074) 0:01:06.716 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.041) 0:01:06.758 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:29:20 +0000 (0:00:00.052) 0:01:06.810 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002961", "end": "2023-12-07 08:29:21.068694", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:29:21.065733" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:29:21 +0000 (0:00:00.263) 0:01:07.073 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.112343", "end": "2023-12-07 08:29:21.388415", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:29:21.276072" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:29:21 +0000 (0:00:00.322) 0:01:07.396 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:29:21 +0000 (0:00:00.017) 0:01:07.413 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:29:21 +0000 (0:00:00.025) 0:01:07.438 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:29:21 +0000 (0:00:00.038) 0:01:07.477 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002806", "end": "2023-12-07 08:29:21.679883", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:29:21.677077" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:29:21 +0000 (0:00:00.227) 0:01:07.705 ***** 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.113144", "end": "2023-12-07 08:29:22.087851", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:29:21.974707" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:29:22 +0000 (0:00:00.435) 0:01:08.140 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:29:22 +0000 (0:00:00.057) 0:01:08.198 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-15.0.4335.1-6.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:29:50 +0000 (0:00:27.909) 0:01:36.108 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.4.0-1.rh.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:30:00 +0000 (0:00:10.842) 0:01:46.950 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002792", "end": "2023-12-07 08:30:01.160184", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:30:01.157392" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:30:01 +0000 (0:00:00.233) 0:01:47.184 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.112464", "end": "2023-12-07 08:30:01.540019", "rc": 0, "start": "2023-12-07 08:30:01.427555" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:30:01 +0000 (0:00:00.369) 0:01:47.553 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:30:01 +0000 (0:00:00.039) 0:01:47.593 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:01 +0000 (0:00:00.103) 0:01:47.696 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003189", "end": "2023-12-07 08:30:01.941901", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:30:01.938712" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:01 +0000 (0:00:00.251) 0:01:47.947 ***** 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.121665", "end": "2023-12-07 08:30:02.302241", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:02.180576" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:02 +0000 (0:00:00.363) 0:01:48.311 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:30:02 +0000 (0:00:00.028) 0:01:48.340 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:02 +0000 (0:00:00.035) 0:01:48.375 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002964", "end": "2023-12-07 08:30:02.603857", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:30:02.600893" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:02 +0000 (0:00:00.236) 0:01:48.611 ***** 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.111202", "end": "2023-12-07 08:30:02.930568", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:02.819366" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:02 +0000 (0:00:00.338) 0:01:48.950 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.028) 0:01:48.979 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.021) 0:01:49.000 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.023) 0:01:49.023 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.027) 0:01:49.051 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.033) 0:01:49.084 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.022) 0:01:49.107 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.022) 0:01:49.129 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.021) 0:01:49.151 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.025) 0:01:49.176 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.026) 0:01:49.203 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.024) 0:01:49.227 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.101) 0:01:49.328 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.045) 0:01:49.374 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.030) 0:01:49.405 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.032) 0:01:49.437 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.020) 0:01:49.458 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.031) 0:01:49.490 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.030) 0:01:49.520 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.024) 0:01:49.545 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.073) 0:01:49.618 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.028) 0:01:49.647 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.045) 0:01:49.693 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.053) 0:01:49.747 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.036) 0:01:49.783 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.023) 0:01:49.806 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.022) 0:01:49.829 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.020) 0:01:49.849 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.020) 0:01:49.869 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.017) 0:01:49.887 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:30:03 +0000 (0:00:00.076) 0:01:49.964 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.023) 0:01:49.988 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.020) 0:01:50.008 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.026) 0:01:50.035 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.019) 0:01:50.054 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.020) 0:01:50.075 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.019) 0:01:50.094 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.018) 0:01:50.112 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.023) 0:01:50.135 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.026) 0:01:50.162 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.037) 0:01:50.199 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.040) 0:01:50.240 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.020) 0:01:50.260 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.025) 0:01:50.285 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.052) 0:01:50.337 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.068) 0:01:50.406 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.050) 0:01:50.456 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.035) 0:01:50.492 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.031) 0:01:50.523 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.074) 0:01:50.598 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.028) 0:01:50.627 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.031) 0:01:50.658 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.045) 0:01:50.703 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.021) 0:01:50.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 from the control node] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.031) 0:01:50.756 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.028) 0:01:50.785 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.029) 0:01:50.815 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.023) 0:01:50.839 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:30:04 +0000 (0:00:00.024) 0:01:50.864 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:30:05 +0000 (0:00:00.335) 0:01:51.199 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:30:05 +0000 (0:00:00.019) 0:01:51.219 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:29:06 UTC", "ActiveEnterTimestampMonotonic": "1318591696", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target sysinit.target systemd-journald.socket auditd.service network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:29:06 UTC", "AssertTimestampMonotonic": "1318583957", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:29:06 UTC", "ConditionTimestampMonotonic": "1318583956", "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": "21903", "ExecMainStartTimestamp": "Thu 2023-12-07 08:29:06 UTC", "ExecMainStartTimestampMonotonic": "1318591637", "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": "Thu 2023-12-07 08:29:06 UTC", "InactiveExitTimestampMonotonic": "1318591696", "InvocationID": "fff4f3834bd0432b92748d9096302340", "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": "21903", "MemoryAccounting": "yes", "MemoryCurrent": "686301184", "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": "Thu 2023-12-07 08:29:06 UTC", "StateChangeTimestampMonotonic": "1318591696", "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": "148", "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": "Thu 2023-12-07 08:29:06 UTC", "WatchdogTimestampMonotonic": "1318591694", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:30:05 +0000 (0:00:00.610) 0:01:51.829 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:30:05 +0000 (0:00:00.051) 0:01:51.880 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:22 Thursday 07 December 2023 08:30:05 +0000 (0:00:00.063) 0:01:51.943 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 07 December 2023 08:30:06 +0000 (0:00:00.103) 0:01:52.046 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 07 December 2023 08:30:06 +0000 (0:00:00.285) 0:01:52.332 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 07 December 2023 08:30:06 +0000 (0:00:00.245) 0:01:52.577 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:25 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.551) 0:01:53.129 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.331) 0:01:53.460 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.051) 0:01:53.511 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.033) 0:01:53.545 ***** 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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.061) 0:01:53.606 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.044) 0:01:53.650 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.044) 0:01:53.695 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.024) 0:01:53.720 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.053) 0:01:53.774 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.037) 0:01:53.811 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.116) 0:01:53.928 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.043) 0:01:53.971 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:30:08 +0000 (0:00:00.026) 0:01:53.998 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:30:08 +0000 (0:00:00.051) 0:01:54.049 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:30:08 +0000 (0:00:00.029) 0:01:54.079 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:30:08 +0000 (0:00:00.043) 0:01:54.123 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:30:08 +0000 (0:00:00.043) 0:01:54.167 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:30:08 +0000 (0:00:00.023) 0:01:54.190 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:30:10 +0000 (0:00:01.912) 0:01:56.103 ***** 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" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:30:10 +0000 (0:00:00.090) 0:01:56.194 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:30:10 +0000 (0:00:00.021) 0:01:56.215 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:30:10 +0000 (0:00:00.040) 0:01:56.256 ***** 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": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "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": "mssql_version | int == item.key", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:30:10 +0000 (0:00:00.070) 0:01:56.326 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:30:11 +0000 (0:00:01.467) 0:01:57.793 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:30:11 +0000 (0:00:00.031) 0:01:57.825 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:30:11 +0000 (0:00:00.036) 0:01:57.862 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:30:11 +0000 (0:00:00.094) 0:01:57.956 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:30:12 +0000 (0:00:00.067) 0:01:58.024 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:30:12 +0000 (0:00:00.080) 0:01:58.104 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:30:12 +0000 (0:00:00.106) 0:01:58.210 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:30:12 +0000 (0:00:00.057) 0:01:58.267 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:30:12 +0000 (0:00:00.046) 0:01:58.314 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:30:12 +0000 (0:00:00.038) 0:01:58.353 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:30:15 +0000 (0:00:02.893) 0:02:01.246 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:30:15 +0000 (0:00:00.022) 0:02:01.268 ***** 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.005848", "end": "2023-12-07 08:30:15.466618", "rc": 0, "start": "2023-12-07 08:30:15.460770" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:30:15 +0000 (0:00:00.202) 0:02:01.471 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:30:21 +0000 (0:00:06.461) 0:02:07.933 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:30:21 +0000 (0:00:00.027) 0:02:07.960 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:30:22 +0000 (0:00:00.018) 0:02:07.979 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:30:22 +0000 (0:00:00.017) 0:02:07.997 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:30:22 +0000 (0:00:00.038) 0:02:08.036 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937747.3648775, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937747.3658774, "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": 1701937747.3648775, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "1069796920", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:30:23 +0000 (0:00:01.231) 0:02:09.267 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:30:23 +0000 (0:00:00.203) 0:02:09.471 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:30:23 +0000 (0:00:00.026) 0:02:09.498 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:23 +0000 (0:00:00.033) 0:02:09.531 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002919", "end": "2023-12-07 08:30:23.726896", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:23.723977" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:23 +0000 (0:00:00.200) 0:02:09.731 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:23 +0000 (0:00:00.024) 0:02:09.756 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:30:23 +0000 (0:00:00.019) 0:02:09.775 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937748.6038437, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937748.6038437, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 436208000, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701937748.6038437, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "1444926471", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:30:25 +0000 (0:00:01.216) 0:02:10.991 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.213) 0:02:11.205 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.041) 0:02:11.247 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.040) 0:02:11.287 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002896", "end": "2023-12-07 08:30:25.489857", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:25.486961" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.206) 0:02:11.494 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.024) 0:02:11.519 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.018) 0:02:11.537 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:30:25 +0000 (0:00:00.018) 0:02:11.555 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:30:28 +0000 (0:00:02.801) 0:02:14.357 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:46 UTC", "ActiveEnterTimestampMonotonic": "38613435", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice polkit.service dbus.socket network.target systemd-sysctl.service dbus.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37121988", "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": "Thu 2023-12-07 08:07:44 UTC", "ConditionTimestampMonotonic": "37121987", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service cpupower.service tlp.service power-profiles-daemon.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": "723", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37122761", "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": "Thu 2023-12-07 08:07:44 UTC", "InactiveExitTimestampMonotonic": "37122816", "InvocationID": "7230f42fb2604632b724854728a356c8", "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": "723", "MemoryAccounting": "yes", "MemoryCurrent": "22577152", "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.service dbus.socket system.slice 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": "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": "Thu 2023-12-07 08:07:46 UTC", "StateChangeTimestampMonotonic": "38613435", "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": "Thu 2023-12-07 08:07:46 UTC", "WatchdogTimestampMonotonic": "38613432", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:30:28 +0000 (0:00:00.336) 0:02:14.693 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116246", "end": "2023-12-07 08:30:28.998694", "rc": 0, "start": "2023-12-07 08:30:28.882448" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:30:29 +0000 (0:00:00.314) 0:02:15.008 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:30:29 +0000 (0:00:00.019) 0:02:15.027 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:30:29 +0000 (0:00:00.020) 0:02:15.048 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:30:29 +0000 (0:00:00.020) 0:02:15.069 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:30:29 +0000 (0:00:00.205) 0:02:15.275 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:30:32 +0000 (0:00:02.769) 0:02:18.044 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:30:32 +0000 (0:00:00.034) 0:02:18.079 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ActiveEnterTimestampMonotonic": "1377965747", "ActiveExitTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ActiveExitTimestampMonotonic": "1377742095", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:05 UTC", "AssertTimestampMonotonic": "1377964738", "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": "Thu 2023-12-07 08:30:05 UTC", "ConditionTimestampMonotonic": "1377964736", "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": "23178", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ExecMainStartTimestampMonotonic": "1377965693", "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": "Thu 2023-12-07 08:30:05 UTC", "InactiveEnterTimestampMonotonic": "1377963741", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:05 UTC", "InactiveExitTimestampMonotonic": "1377965747", "InvocationID": "66f203610af749ad9aaa6e567d5bd5d7", "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": "23178", "MemoryAccounting": "yes", "MemoryCurrent": "764653568", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:30:05 UTC", "StateChangeTimestampMonotonic": "1377965747", "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": "158", "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": "Thu 2023-12-07 08:30:05 UTC", "WatchdogTimestampMonotonic": "1377965741", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:30:32 +0000 (0:00:00.335) 0:02:18.414 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003028", "end": "2023-12-07 08:30:32.611198", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:30:32.608170" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:30:32 +0000 (0:00:00.198) 0:02:18.613 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002607", "end": "2023-12-07 08:30:32.808452", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:32.805845" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:30:32 +0000 (0:00:00.199) 0:02:18.812 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:30:32 +0000 (0:00:00.028) 0:02:18.841 ***** 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": 10845, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:30:34 +0000 (0:00:01.307) 0:02:20.149 ***** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:30:34 +0000 (0:00:00.218) 0:02:20.367 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ActiveEnterTimestampMonotonic": "1377965747", "ActiveExitTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ActiveExitTimestampMonotonic": "1377742095", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:05 UTC", "AssertTimestampMonotonic": "1377964738", "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": "Thu 2023-12-07 08:30:05 UTC", "ConditionTimestampMonotonic": "1377964736", "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": "23178", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ExecMainStartTimestampMonotonic": "1377965693", "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": "Thu 2023-12-07 08:30:05 UTC", "InactiveEnterTimestampMonotonic": "1377963741", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:05 UTC", "InactiveExitTimestampMonotonic": "1377965747", "InvocationID": "66f203610af749ad9aaa6e567d5bd5d7", "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": "23178", "MemoryAccounting": "yes", "MemoryCurrent": "765095936", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:30:05 UTC", "StateChangeTimestampMonotonic": "1377965747", "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": "158", "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": "Thu 2023-12-07 08:30:05 UTC", "WatchdogTimestampMonotonic": "1377965741", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:30:34 +0000 (0:00:00.556) 0:02:20.924 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:30:36 +0000 (0:00:01.388) 0:02:22.313 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:30:41 +0000 (0:00:05.557) 0:02:27.870 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:30:41 +0000 (0:00:00.018) 0:02:27.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:30:41 +0000 (0:00:00.018) 0:02:27.908 ***** 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.004941", "end": "2023-12-07 08:30:42.104902", "rc": 0, "start": "2023-12-07 08:30:42.099961" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:30:42 +0000 (0:00:00.203) 0:02:28.112 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:30:42 +0000 (0:00:00.026) 0:02:28.138 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:30:43 +0000 (0:00:01.318) 0:02:29.457 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.022) 0:02:29.480 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.034) 0:02:29.514 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003018", "end": "2023-12-07 08:30:43.709111", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:43.706093" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.202) 0:02:29.716 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.024) 0:02:29.741 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.018) 0:02:29.760 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.049) 0:02:29.810 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.019) 0:02:29.829 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:43 +0000 (0:00:00.031) 0:02:29.861 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002641", "end": "2023-12-07 08:30:44.055140", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:30:44.052499" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.196) 0:02:30.057 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.110999", "end": "2023-12-07 08:30:44.364572", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:44.253573" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.320) 0:02:30.378 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.022) 0:02:30.400 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.023) 0:02:30.424 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.036) 0:02:30.460 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003071", "end": "2023-12-07 08:30:44.658882", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:44.655811" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.202) 0:02:30.663 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.023) 0:02:30.687 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:30:44 +0000 (0:00:00.018) 0:02:30.705 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:30:47 +0000 (0:00:02.873) 0:02:33.578 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:30:50 +0000 (0:00:02.769) 0:02:36.348 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002993", "end": "2023-12-07 08:30:50.544287", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:50.541294" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.198) 0:02:36.547 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.021) 0:02:36.568 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.052) 0:02:36.621 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.060) 0:02:36.682 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002839", "end": "2023-12-07 08:30:50.880254", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:50.877415" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.213) 0:02:36.895 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.036) 0:02:36.932 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:30:50 +0000 (0:00:00.035) 0:02:36.968 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.038) 0:02:37.006 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002753", "end": "2023-12-07 08:30:51.226146", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:30:51.223393" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.226) 0:02:37.233 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.025) 0:02:37.259 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.021) 0:02:37.280 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.020) 0:02:37.300 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.019) 0:02:37.320 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.022) 0:02:37.342 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.019) 0:02:37.362 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.020) 0:02:37.382 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.019) 0:02:37.402 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.059) 0:02:37.461 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.030) 0:02:37.492 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.026) 0:02:37.518 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.024) 0:02:37.542 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.026) 0:02:37.568 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.024) 0:02:37.593 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.019) 0:02:37.612 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.020) 0:02:37.632 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.023) 0:02:37.655 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.021) 0:02:37.677 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.023) 0:02:37.700 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.035) 0:02:37.735 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.019) 0:02:37.755 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.019) 0:02:37.775 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.021) 0:02:37.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 [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.023) 0:02:37.820 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.022) 0:02:37.843 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.048) 0:02:37.892 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.018) 0:02:37.910 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.018) 0:02:37.928 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.018) 0:02:37.947 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:30:51 +0000 (0:00:00.018) 0:02:37.965 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.018) 0:02:37.983 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.017) 0:02:38.001 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.017) 0:02:38.018 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.037 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.057 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.022) 0:02:38.079 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.098 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.117 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.022) 0:02:38.140 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.021) 0:02:38.161 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.025) 0:02:38.187 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.207 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.018) 0:02:38.225 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.051) 0:02:38.276 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.296 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.023) 0:02:38.319 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.020) 0:02:38.339 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.031) 0:02:38.371 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.022) 0:02:38.393 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.024) 0:02:38.417 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.026) 0:02:38.444 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.018) 0:02:38.462 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.018) 0:02:38.481 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.019) 0:02:38.500 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.028) 0:02:38.528 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.027) 0:02:38.556 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.030) 0:02:38.586 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.038) 0:02:38.624 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:30:52 +0000 (0:00:00.040) 0:02:38.665 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:30:53 +0000 (0:00:00.320) 0:02:38.985 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:30:53 +0000 (0:00:00.115) 0:02:39.101 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ActiveEnterTimestampMonotonic": "1377965747", "ActiveExitTimestamp": "Thu 2023-12-07 08:30:34 UTC", "ActiveExitTimestampMonotonic": "1406875007", "ActiveState": "inactive", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:05 UTC", "AssertTimestampMonotonic": "1377964738", "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": "Thu 2023-12-07 08:30:05 UTC", "ConditionTimestampMonotonic": "1377964736", "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": "Thu 2023-12-07 08:30:34 UTC", "ExecMainExitTimestampMonotonic": "1407073372", "ExecMainPID": "23178", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:05 UTC", "ExecMainStartTimestampMonotonic": "1377965693", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:30:05 UTC] ; stop_time=[Thu 2023-12-07 08:30:34 UTC] ; pid=23178 ; 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": "Thu 2023-12-07 08:30:34 UTC", "InactiveEnterTimestampMonotonic": "1407073481", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:05 UTC", "InactiveExitTimestampMonotonic": "1377965747", "InvocationID": "66f203610af749ad9aaa6e567d5bd5d7", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:30:34 UTC", "StateChangeTimestampMonotonic": "1407073481", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:30:54 +0000 (0:00:01.476) 0:02:40.577 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:30:54 +0000 (0:00:00.031) 0:02:40.609 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:40 Thursday 07 December 2023 08:30:54 +0000 (0:00:00.032) 0:02:40.641 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:30:54 +0000 (0:00:00.133) 0:02:40.775 ***** 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.006773", "end": "2023-12-07 08:30:55.010059", "rc": 0, "start": "2023-12-07 08:30:55.003286" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.243) 0:02:41.019 ***** 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.005317", "end": "2023-12-07 08:30:55.221821", "rc": 0, "start": "2023-12-07 08:30:55.216504" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.219) 0:02:41.238 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.046) 0:02:41.284 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '0.0.0.0'}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1433}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/tmp/mssql_data'}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/tmp/mssql_log'}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.063) 0:02:41.347 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004275", "end": "2023-12-07 08:30:55.572763", "rc": 0, "start": "2023-12-07 08:30:55.568488" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.253) 0:02:41.601 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.050) 0:02:41.651 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.024) 0:02:41.676 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:30:55 +0000 (0:00:00.064) 0:02:41.740 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004287", "end": "2023-12-07 08:30:56.016820", "rc": 0, "start": "2023-12-07 08:30:56.012533" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.281) 0:02:42.021 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.021) 0:02:42.042 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.023) 0:02:42.066 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.031) 0:02:42.097 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.012314", "end": "2023-12-07 08:30:56.362484", "rc": 0, "start": "2023-12-07 08:30:56.350170" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.273) 0:02:42.370 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.055) 0:02:42.426 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.044) 0:02:42.470 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.029) 0:02:42.499 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005359", "end": "2023-12-07 08:30:56.757251", "rc": 0, "start": "2023-12-07 08:30:56.751892" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.269) 0:02:42.768 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.027) 0:02:42.795 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.019) 0:02:42.814 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:30:56 +0000 (0:00:00.019) 0:02:42.834 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004694", "end": "2023-12-07 08:30:57.042141", "rc": 0, "start": "2023-12-07 08:30:57.037447" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:30:57 +0000 (0:00:00.218) 0:02:43.053 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:30:57 +0000 (0:00:00.027) 0:02:43.080 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:30:57 +0000 (0:00:00.029) 0:02:43.109 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:30:57 +0000 (0:00:00.071) 0:02:43.180 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937747.3648775, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937747.3658774, "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": 1701937747.3648775, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "1069796920", "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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:30:58 +0000 (0:00:01.299) 0:02:44.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:30:58 +0000 (0:00:00.035) 0:02:44.515 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937748.6038437, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937748.6038437, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 436208000, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701937748.6038437, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "1444926471", "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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:30:59 +0000 (0:00:01.202) 0:02:45.718 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:30:59 +0000 (0:00:00.023) 0:02:45.741 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:30:59 +0000 (0:00:00.039) 0:02:45.781 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ActiveEnterTimestampMonotonic": "1426723065", "ActiveExitTimestamp": "Thu 2023-12-07 08:30:34 UTC", "ActiveExitTimestampMonotonic": "1406875007", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:54 UTC", "AssertTimestampMonotonic": "1426722144", "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": "Thu 2023-12-07 08:30:54 UTC", "ConditionTimestampMonotonic": "1426722142", "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": "24558", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ExecMainStartTimestampMonotonic": "1426722990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:30:54 UTC] ; stop_time=[n/a] ; pid=24558 ; 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": "Thu 2023-12-07 08:30:34 UTC", "InactiveEnterTimestampMonotonic": "1407073481", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:54 UTC", "InactiveExitTimestampMonotonic": "1426723065", "InvocationID": "29ebbd062b8f4eb99eaff3c8e9438e9b", "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": "24558", "MemoryAccounting": "yes", "MemoryCurrent": "821256192", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:30:54 UTC", "StateChangeTimestampMonotonic": "1426723065", "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": "162", "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": "Thu 2023-12-07 08:30:54 UTC", "WatchdogTimestampMonotonic": "1426723047", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:31:00 +0000 (0:00:00.367) 0:02:46.148 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002716", "end": "2023-12-07 08:31:00.346208", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:00.343492" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:31:00 +0000 (0:00:00.212) 0:02:46.361 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003059", "end": "2023-12-07 08:31:00.567531", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:00.564472" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:31:00 +0000 (0:00:00.210) 0:02:46.572 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:31:00 +0000 (0:00:00.039) 0:02:46.611 ***** 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": 11641, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:31:18 +0000 (0:00:18.228) 0:03:04.840 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.021306", "end": "2023-12-07 08:31:19.052257", "rc": 0, "start": "2023-12-07 08:31:19.030951" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:31:19 +0000 (0:00:00.215) 0:03:05.055 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:31:19 +0000 (0:00:00.023) 0:03:05.079 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:31:19 +0000 (0:00:00.034) 0:03:05.113 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:31:20 +0000 (0:00:01.455) 0:03:06.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:31:20 +0000 (0:00:00.038) 0:03:06.608 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:31:20 +0000 (0:00:00.029) 0:03:06.637 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:31:20 +0000 (0:00:00.043) 0:03:06.680 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:31:22 +0000 (0:00:01.332) 0:03:08.013 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.032) 0:03:08.045 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.022) 0:03:08.067 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004559", "end": "2023-12-07 08:31:22.275542", "rc": 0, "start": "2023-12-07 08:31:22.270983" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.214) 0:03:08.282 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.025) 0:03:08.307 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.024) 0:03:08.331 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.087) 0:03:08.419 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004282", "end": "2023-12-07 08:31:22.616994", "rc": 0, "start": "2023-12-07 08:31:22.612712" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.210) 0:03:08.629 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.037) 0:03:08.667 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.027) 0:03:08.695 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.020) 0:03:08.715 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.044) 0:03:08.760 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004238", "end": "2023-12-07 08:31:22.961088", "rc": 0, "start": "2023-12-07 08:31:22.956850" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:31:22 +0000 (0:00:00.205) 0:03:08.966 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.022) 0:03:08.989 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.026) 0:03:09.015 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.021) 0:03:09.036 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.020) 0:03:09.057 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.026) 0:03:09.083 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.020) 0:03:09.104 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.030) 0:03:09.135 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.024) 0:03:09.159 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.023) 0:03:09.182 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:56 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.021) 0:03:09.204 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.302) 0:03:09.506 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.032) 0:03:09.539 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.028) 0:03:09.567 ***** 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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.038) 0:03:09.605 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.023) 0:03:09.629 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.021) 0:03:09.650 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.019) 0:03:09.669 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.020) 0:03:09.690 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.022) 0:03:09.713 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.021) 0:03:09.734 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.063) 0:03:09.797 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.024) 0:03:09.822 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.022) 0:03:09.844 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.021) 0:03:09.865 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.019) 0:03:09.885 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.032) 0:03:09.918 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:31:23 +0000 (0:00:00.034) 0:03:09.952 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:31:25 +0000 (0:00:01.390) 0:03:11.343 ***** 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" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:31:25 +0000 (0:00:00.060) 0:03:11.403 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:31:25 +0000 (0:00:00.035) 0:03:11.438 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:31:25 +0000 (0:00:00.043) 0:03:11.481 ***** 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": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "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": "mssql_version | int == item.key", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:31:25 +0000 (0:00:00.041) 0:03:11.523 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:31:27 +0000 (0:00:01.457) 0:03:12.981 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.028) 0:03:13.009 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.023) 0:03:13.033 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.086) 0:03:13.119 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.043) 0:03:13.162 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.031) 0:03:13.194 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.029) 0:03:13.223 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.027) 0:03:13.251 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.041) 0:03:13.292 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:31:27 +0000 (0:00:00.038) 0:03:13.331 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:31:30 +0000 (0:00:02.862) 0:03:16.193 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:31:30 +0000 (0:00:00.019) 0:03:16.213 ***** 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.005235", "end": "2023-12-07 08:31:30.409591", "rc": 0, "start": "2023-12-07 08:31:30.404356" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:31:30 +0000 (0:00:00.209) 0:03:16.423 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:31:37 +0000 (0:00:07.452) 0:03:23.875 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:31:37 +0000 (0:00:00.028) 0:03:23.904 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:31:37 +0000 (0:00:00.020) 0:03:23.925 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:31:37 +0000 (0:00:00.019) 0:03:23.944 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:31:38 +0000 (0:00:00.042) 0:03:23.986 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937746.2899067, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937746.2599075, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 339739072, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937746.2599075, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "2751551727", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:31:39 +0000 (0:00:01.262) 0:03:25.248 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:31:39 +0000 (0:00:00.213) 0:03:25.461 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:31:39 +0000 (0:00:00.034) 0:03:25.496 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:31:39 +0000 (0:00:00.045) 0:03:25.542 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002709", "end": "2023-12-07 08:31:39.738603", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:39.735894" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:31:39 +0000 (0:00:00.202) 0:03:25.744 ***** 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.110722", "end": "2023-12-07 08:31:40.053584", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:39.942862" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.316) 0:03:26.061 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.020) 0:03:26.081 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937857.5898864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937857.5888865, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 341836032, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937857.5888865, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3707120738", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.205) 0:03:26.286 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.214) 0:03:26.501 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.043) 0:03:26.544 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.033) 0:03:26.577 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003118", "end": "2023-12-07 08:31:40.774051", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:40.770933" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:31:40 +0000 (0:00:00.201) 0:03:26.779 ***** 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.109883", "end": "2023-12-07 08:31:41.086954", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:40.977071" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:31:41 +0000 (0:00:00.315) 0:03:27.094 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:31:41 +0000 (0:00:00.019) 0:03:27.113 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:31:41 +0000 (0:00:00.018) 0:03:27.132 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:31:43 +0000 (0:00:02.757) 0:03:29.889 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:46 UTC", "ActiveEnterTimestampMonotonic": "38613435", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice polkit.service dbus.socket network.target systemd-sysctl.service dbus.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37121988", "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": "Thu 2023-12-07 08:07:44 UTC", "ConditionTimestampMonotonic": "37121987", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service cpupower.service tlp.service power-profiles-daemon.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": "723", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37122761", "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": "Thu 2023-12-07 08:07:44 UTC", "InactiveExitTimestampMonotonic": "37122816", "InvocationID": "7230f42fb2604632b724854728a356c8", "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": "723", "MemoryAccounting": "yes", "MemoryCurrent": "22843392", "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.service dbus.socket system.slice 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": "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": "Thu 2023-12-07 08:07:46 UTC", "StateChangeTimestampMonotonic": "38613435", "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": "Thu 2023-12-07 08:07:46 UTC", "WatchdogTimestampMonotonic": "38613432", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:31:44 +0000 (0:00:00.423) 0:03:30.312 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112629", "end": "2023-12-07 08:31:44.615419", "rc": 0, "start": "2023-12-07 08:31:44.502790" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:31:44 +0000 (0:00:00.307) 0:03:30.620 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:31:44 +0000 (0:00:00.018) 0:03:30.638 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:31:44 +0000 (0:00:00.018) 0:03:30.656 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:31:44 +0000 (0:00:00.018) 0:03:30.675 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:31:44 +0000 (0:00:00.198) 0:03:30.873 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:31:48 +0000 (0:00:03.878) 0:03:34.752 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:31:48 +0000 (0:00:00.037) 0:03:34.789 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ActiveEnterTimestampMonotonic": "1426723065", "ActiveExitTimestamp": "Thu 2023-12-07 08:30:34 UTC", "ActiveExitTimestampMonotonic": "1406875007", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:54 UTC", "AssertTimestampMonotonic": "1426722144", "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": "Thu 2023-12-07 08:30:54 UTC", "ConditionTimestampMonotonic": "1426722142", "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": "24558", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ExecMainStartTimestampMonotonic": "1426722990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:30:54 UTC] ; stop_time=[n/a] ; pid=24558 ; 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": "Thu 2023-12-07 08:30:34 UTC", "InactiveEnterTimestampMonotonic": "1407073481", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:54 UTC", "InactiveExitTimestampMonotonic": "1426723065", "InvocationID": "29ebbd062b8f4eb99eaff3c8e9438e9b", "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": "24558", "MemoryAccounting": "yes", "MemoryCurrent": "771522560", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:30:54 UTC", "StateChangeTimestampMonotonic": "1426723065", "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": "162", "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": "Thu 2023-12-07 08:30:54 UTC", "WatchdogTimestampMonotonic": "1426723047", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:31:49 +0000 (0:00:00.335) 0:03:35.125 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002771", "end": "2023-12-07 08:31:49.320326", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:49.317555" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:31:49 +0000 (0:00:00.204) 0:03:35.330 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002986", "end": "2023-12-07 08:31:49.527393", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:49.524407" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:31:49 +0000 (0:00:00.203) 0:03:35.534 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:31:49 +0000 (0:00:00.029) 0:03:35.563 ***** 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": 11641, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:31:50 +0000 (0:00:01.200) 0:03:36.764 ***** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:31:51 +0000 (0:00:00.218) 0:03:36.982 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ActiveEnterTimestampMonotonic": "1426723065", "ActiveExitTimestamp": "Thu 2023-12-07 08:30:34 UTC", "ActiveExitTimestampMonotonic": "1406875007", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:54 UTC", "AssertTimestampMonotonic": "1426722144", "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": "Thu 2023-12-07 08:30:54 UTC", "ConditionTimestampMonotonic": "1426722142", "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": "24558", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ExecMainStartTimestampMonotonic": "1426722990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:30:54 UTC] ; stop_time=[n/a] ; pid=24558 ; 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": "Thu 2023-12-07 08:30:34 UTC", "InactiveEnterTimestampMonotonic": "1407073481", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:54 UTC", "InactiveExitTimestampMonotonic": "1426723065", "InvocationID": "29ebbd062b8f4eb99eaff3c8e9438e9b", "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": "24558", "MemoryAccounting": "yes", "MemoryCurrent": "771612672", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:30:54 UTC", "StateChangeTimestampMonotonic": "1426723065", "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": "162", "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": "Thu 2023-12-07 08:30:54 UTC", "WatchdogTimestampMonotonic": "1426723047", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:31:52 +0000 (0:00:01.202) 0:03:38.185 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:31:53 +0000 (0:00:01.487) 0:03:39.673 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:31:59 +0000 (0:00:05.606) 0:03:45.279 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:31:59 +0000 (0:00:00.022) 0:03:45.302 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:31:59 +0000 (0:00:00.021) 0:03:45.323 ***** 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:01.006104", "end": "2023-12-07 08:32:00.527518", "rc": 0, "start": "2023-12-07 08:31:59.521414" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:32:00 +0000 (0:00:01.210) 0:03:46.534 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ActiveEnterTimestampMonotonic": "1426723065", "ActiveExitTimestamp": "Thu 2023-12-07 08:31:51 UTC", "ActiveExitTimestampMonotonic": "1483490841", "ActiveState": "inactive", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:54 UTC", "AssertTimestampMonotonic": "1426722144", "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": "Thu 2023-12-07 08:30:54 UTC", "ConditionTimestampMonotonic": "1426722142", "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": "Thu 2023-12-07 08:31:52 UTC", "ExecMainExitTimestampMonotonic": "1484349466", "ExecMainPID": "24558", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ExecMainStartTimestampMonotonic": "1426722990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:30:54 UTC] ; stop_time=[Thu 2023-12-07 08:31:52 UTC] ; pid=24558 ; 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": "Thu 2023-12-07 08:31:52 UTC", "InactiveEnterTimestampMonotonic": "1484349568", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:54 UTC", "InactiveExitTimestampMonotonic": "1426723065", "InvocationID": "29ebbd062b8f4eb99eaff3c8e9438e9b", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:31:52 UTC", "StateChangeTimestampMonotonic": "1484349568", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:32:01 +0000 (0:00:01.378) 0:03:47.912 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:32:03 +0000 (0:00:01.322) 0:03:49.235 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:32:08 +0000 (0:00:05.535) 0:03:54.770 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:08 +0000 (0:00:00.035) 0:03:54.806 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002780", "end": "2023-12-07 08:32:08.999031", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:08.996251" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.214) 0:03:55.020 ***** 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.112611", "end": "2023-12-07 08:32:09.335333", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:09.222722" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.321) 0:03:55.342 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.020) 0:03:55.362 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.068) 0:03:55.431 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.019) 0:03:55.451 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.033) 0:03:55.484 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002941", "end": "2023-12-07 08:32:09.678566", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:09.675625" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:09 +0000 (0:00:00.197) 0:03:55.681 ***** 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.110657", "end": "2023-12-07 08:32:09.986149", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:09.875492" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.311) 0:03:55.993 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.019) 0:03:56.012 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.019) 0:03:56.032 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.036) 0:03:56.068 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002879", "end": "2023-12-07 08:32:10.261848", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:10.258969" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.197) 0:03:56.266 ***** 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.112130", "end": "2023-12-07 08:32:10.573073", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:10.460943" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.314) 0:03:56.580 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:32:10 +0000 (0:00:00.018) 0:03:56.599 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-15.0.4335.1-6.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:32:14 +0000 (0:00:03.395) 0:03:59.995 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:32:17 +0000 (0:00:03.448) 0:04:03.443 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002780", "end": "2023-12-07 08:32:17.648446", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:17.645666" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:32:17 +0000 (0:00:00.210) 0:04:03.654 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:32:17 +0000 (0:00:00.024) 0:04:03.678 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.110127", "end": "2023-12-07 08:32:17.985677", "rc": 0, "start": "2023-12-07 08:32:17.875550" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.312) 0:04:03.990 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.106) 0:04:04.097 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002895", "end": "2023-12-07 08:32:18.295294", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:18.292399" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.218) 0:04:04.316 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.056) 0:04:04.373 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.025) 0:04:04.398 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.040) 0:04:04.438 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002757", "end": "2023-12-07 08:32:18.633967", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:18.631210" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.201) 0:04:04.639 ***** 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.111776", "end": "2023-12-07 08:32:18.947265", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:18.835489" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:18 +0000 (0:00:00.323) 0:04:04.963 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.023) 0:04:04.986 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.036) 0:04:05.023 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.046) 0:04:05.069 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.043) 0:04:05.112 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.036) 0:04:05.149 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.035) 0:04:05.184 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.024) 0:04:05.208 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.022) 0:04:05.231 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.087) 0:04:05.319 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.020) 0:04:05.340 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.021) 0:04:05.361 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.022) 0:04:05.384 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.022) 0:04:05.406 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.019) 0:04:05.426 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.020) 0:04:05.446 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.040) 0:04:05.486 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.028) 0:04:05.515 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.024) 0:04:05.540 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.023) 0:04:05.563 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.020) 0:04:05.583 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.020) 0:04:05.603 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.019) 0:04:05.622 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.020) 0:04:05.643 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.022) 0:04:05.665 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.024) 0:04:05.689 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.095) 0:04:05.785 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.030) 0:04:05.816 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.046) 0:04:05.862 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.025) 0:04:05.887 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.023) 0:04:05.911 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.021) 0:04:05.932 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:32:19 +0000 (0:00:00.026) 0:04:05.959 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.021) 0:04:05.980 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.020) 0:04:06.001 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.024) 0:04:06.025 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.021) 0:04:06.046 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.025) 0:04:06.072 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.029) 0:04:06.101 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.028) 0:04:06.130 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.020) 0:04:06.150 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.023) 0:04:06.174 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.019) 0:04:06.193 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.088) 0:04:06.282 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.027) 0:04:06.310 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.021) 0:04:06.332 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.021) 0:04:06.353 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.023) 0:04:06.377 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.019) 0:04:06.396 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.019) 0:04:06.415 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.025) 0:04:06.440 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.036) 0:04:06.477 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.023) 0:04:06.500 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.028) 0:04:06.529 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.036) 0:04:06.565 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.035) 0:04:06.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.040) 0:04:06.642 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.030) 0:04:06.673 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:32:20 +0000 (0:00:00.021) 0:04:06.694 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.312) 0:04:07.006 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.082) 0:04:07.088 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ActiveEnterTimestampMonotonic": "1426723065", "ActiveExitTimestamp": "Thu 2023-12-07 08:31:51 UTC", "ActiveExitTimestampMonotonic": "1483490841", "ActiveState": "inactive", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:30:54 UTC", "AssertTimestampMonotonic": "1426722144", "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": "Thu 2023-12-07 08:30:54 UTC", "ConditionTimestampMonotonic": "1426722142", "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": "Thu 2023-12-07 08:31:52 UTC", "ExecMainExitTimestampMonotonic": "1484349466", "ExecMainPID": "24558", "ExecMainStartTimestamp": "Thu 2023-12-07 08:30:54 UTC", "ExecMainStartTimestampMonotonic": "1426722990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:30:54 UTC] ; stop_time=[Thu 2023-12-07 08:31:52 UTC] ; pid=24558 ; 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": "Thu 2023-12-07 08:31:52 UTC", "InactiveEnterTimestampMonotonic": "1484349568", "InactiveExitTimestamp": "Thu 2023-12-07 08:30:54 UTC", "InactiveExitTimestampMonotonic": "1426723065", "InvocationID": "29ebbd062b8f4eb99eaff3c8e9438e9b", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:31:52 UTC", "StateChangeTimestampMonotonic": "1484349568", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.360) 0:04:07.449 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.020) 0:04:07.469 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:73 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.030) 0:04:07.500 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.329) 0:04:07.829 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.033) 0:04:07.863 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.028) 0:04:07.891 ***** 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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:32:21 +0000 (0:00:00.049) 0:04:07.940 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.138) 0:04:08.078 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.038) 0:04:08.117 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.025) 0:04:08.143 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.076) 0:04:08.219 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.044) 0:04:08.264 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.034) 0:04:08.299 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.058) 0:04:08.357 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.063) 0:04:08.420 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.049) 0:04:08.470 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.047) 0:04:08.518 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.042) 0:04:08.561 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.025) 0:04:08.587 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:32:22 +0000 (0:00:00.052) 0:04:08.639 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:32:24 +0000 (0:00:01.736) 0:04:10.376 ***** 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" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:32:24 +0000 (0:00:00.239) 0:04:10.615 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:32:24 +0000 (0:00:00.040) 0:04:10.655 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:32:24 +0000 (0:00:00.032) 0:04:10.688 ***** 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": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "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": "mssql_version | int == item.key", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:32:24 +0000 (0:00:00.083) 0:04:10.771 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.478) 0:04:11.250 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.021) 0:04:11.272 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.026) 0:04:11.298 ***** 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 2019] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.028) 0:04:11.327 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.025) 0:04:11.352 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.028) 0:04:11.381 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.022) 0:04:11.403 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.038) 0:04:11.442 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.023) 0:04:11.465 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:32:25 +0000 (0:00:00.023) 0:04:11.488 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:32:28 +0000 (0:00:02.874) 0:04:14.362 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:32:28 +0000 (0:00:00.019) 0:04:14.381 ***** 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.005295", "end": "2023-12-07 08:32:28.577740", "rc": 0, "start": "2023-12-07 08:32:28.572445" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:32:28 +0000 (0:00:00.201) 0:04:14.583 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:32:32 +0000 (0:00:03.528) 0:04:18.111 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.034) 0:04:18.146 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.020) 0:04:18.166 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.018) 0:04:18.184 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.040) 0:04:18.225 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937746.2899067, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937746.2599075, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 339739072, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937746.2599075, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "2751551727", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.201) 0:04:18.427 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.215) 0:04:18.642 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.033) 0:04:18.676 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.035) 0:04:18.711 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002925", "end": "2023-12-07 08:32:32.908890", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:32.905965" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.202) 0:04:18.914 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.028) 0:04:18.943 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:32:32 +0000 (0:00:00.032) 0:04:18.975 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937944.3885386, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937944.3985384, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 341836032, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937944.3985384, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3707120738", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.232) 0:04:19.208 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.210) 0:04:19.419 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.028) 0:04:19.447 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.084) 0:04:19.532 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002656", "end": "2023-12-07 08:32:33.727690", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:33.725034" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.199) 0:04:19.732 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.026) 0:04:19.758 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.021) 0:04:19.780 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:32:33 +0000 (0:00:00.030) 0:04:19.810 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:32:36 +0000 (0:00:02.783) 0:04:22.594 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:46 UTC", "ActiveEnterTimestampMonotonic": "38613435", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice polkit.service dbus.socket network.target systemd-sysctl.service dbus.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37121988", "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": "Thu 2023-12-07 08:07:44 UTC", "ConditionTimestampMonotonic": "37121987", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service cpupower.service tlp.service power-profiles-daemon.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": "723", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37122761", "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": "Thu 2023-12-07 08:07:44 UTC", "InactiveExitTimestampMonotonic": "37122816", "InvocationID": "7230f42fb2604632b724854728a356c8", "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": "723", "MemoryAccounting": "yes", "MemoryCurrent": "22544384", "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.service dbus.socket system.slice 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": "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": "Thu 2023-12-07 08:07:46 UTC", "StateChangeTimestampMonotonic": "38613435", "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": "Thu 2023-12-07 08:07:46 UTC", "WatchdogTimestampMonotonic": "38613432", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:32:37 +0000 (0:00:01.350) 0:04:23.944 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113024", "end": "2023-12-07 08:32:38.247340", "rc": 0, "start": "2023-12-07 08:32:38.134316" } 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:32:38 +0000 (0:00:00.308) 0:04:24.252 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:32:38 +0000 (0:00:00.019) 0:04:24.272 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:32:38 +0000 (0:00:00.019) 0:04:24.292 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:32:38 +0000 (0:00:00.018) 0:04:24.311 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:32:38 +0000 (0:00:00.199) 0:04:24.510 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:32:41 +0000 (0:00:02.760) 0:04:27.271 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:32:41 +0000 (0:00:00.057) 0:04:27.328 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:32:21 UTC", "ActiveEnterTimestampMonotonic": "1513608901", "ActiveExitTimestamp": "Thu 2023-12-07 08:31:51 UTC", "ActiveExitTimestampMonotonic": "1483490841", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:32:21 UTC", "AssertTimestampMonotonic": "1513607943", "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": "Thu 2023-12-07 08:32:21 UTC", "ConditionTimestampMonotonic": "1513607942", "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": "26672", "ExecMainStartTimestamp": "Thu 2023-12-07 08:32:21 UTC", "ExecMainStartTimestampMonotonic": "1513608845", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:32:21 UTC] ; stop_time=[n/a] ; pid=26672 ; 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": "Thu 2023-12-07 08:31:52 UTC", "InactiveEnterTimestampMonotonic": "1484349568", "InactiveExitTimestamp": "Thu 2023-12-07 08:32:21 UTC", "InactiveExitTimestampMonotonic": "1513608901", "InvocationID": "22e410ce5c324f00bcbbe250def5f160", "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": "26672", "MemoryAccounting": "yes", "MemoryCurrent": "668610560", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:32:21 UTC", "StateChangeTimestampMonotonic": "1513608901", "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": "147", "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": "Thu 2023-12-07 08:32:21 UTC", "WatchdogTimestampMonotonic": "1513608899", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:32:41 +0000 (0:00:00.344) 0:04:27.673 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002929", "end": "2023-12-07 08:32:41.869334", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:41.866405" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:32:41 +0000 (0:00:00.198) 0:04:27.871 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002849", "end": "2023-12-07 08:32:42.067725", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:42.064876" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:32:42 +0000 (0:00:00.256) 0:04:28.128 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:32:42 +0000 (0:00:00.030) 0:04:28.159 ***** 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": 7524, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:32:43 +0000 (0:00:01.208) 0:04:29.368 ***** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:32:43 +0000 (0:00:00.228) 0:04:29.596 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:32:21 UTC", "ActiveEnterTimestampMonotonic": "1513608901", "ActiveExitTimestamp": "Thu 2023-12-07 08:31:51 UTC", "ActiveExitTimestampMonotonic": "1483490841", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:32:21 UTC", "AssertTimestampMonotonic": "1513607943", "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": "Thu 2023-12-07 08:32:21 UTC", "ConditionTimestampMonotonic": "1513607942", "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": "26672", "ExecMainStartTimestamp": "Thu 2023-12-07 08:32:21 UTC", "ExecMainStartTimestampMonotonic": "1513608845", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:32:21 UTC] ; stop_time=[n/a] ; pid=26672 ; 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": "Thu 2023-12-07 08:31:52 UTC", "InactiveEnterTimestampMonotonic": "1484349568", "InactiveExitTimestamp": "Thu 2023-12-07 08:32:21 UTC", "InactiveExitTimestampMonotonic": "1513608901", "InvocationID": "22e410ce5c324f00bcbbe250def5f160", "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": "26672", "MemoryAccounting": "yes", "MemoryCurrent": "669720576", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:32:21 UTC", "StateChangeTimestampMonotonic": "1513608901", "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": "145", "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": "Thu 2023-12-07 08:32:21 UTC", "WatchdogTimestampMonotonic": "1513608899", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:32:44 +0000 (0:00:01.148) 0:04:30.745 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:32:46 +0000 (0:00:01.326) 0:04:32.071 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:32:50 +0000 (0:00:03.938) 0:04:36.009 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:32:50 +0000 (0:00:00.020) 0:04:36.029 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:32:50 +0000 (0:00:00.019) 0:04:36.049 ***** 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.004756", "end": "2023-12-07 08:32:50.245791", "rc": 0, "start": "2023-12-07 08:32:50.241035" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:32:50 +0000 (0:00:00.201) 0:04:36.250 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:32:50 +0000 (0:00:00.023) 0:04:36.273 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:32:51 +0000 (0:00:01.321) 0:04:37.595 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:32:51 +0000 (0:00:00.021) 0:04:37.617 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:51 +0000 (0:00:00.088) 0:04:37.705 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002968", "end": "2023-12-07 08:32:51.900678", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:51.897710" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:51 +0000 (0:00:00.201) 0:04:37.907 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:51 +0000 (0:00:00.035) 0:04:37.943 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:32:51 +0000 (0:00:00.021) 0:04:37.964 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.020) 0:04:37.984 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.020) 0:04:38.005 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.034) 0:04:38.040 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002919", "end": "2023-12-07 08:32:52.236343", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:52.233424" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.204) 0:04:38.244 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.026) 0:04:38.270 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.021) 0:04:38.292 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.020) 0:04:38.312 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.037) 0:04:38.350 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002929", "end": "2023-12-07 08:32:52.546234", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:52.543305" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.198) 0:04:38.549 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.025) 0:04:38.574 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:32:52 +0000 (0:00:00.020) 0:04:38.595 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:32:55 +0000 (0:00:02.925) 0:04:41.521 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:32:59 +0000 (0:00:03.780) 0:04:45.301 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002962", "end": "2023-12-07 08:32:59.496432", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:32:59.493470" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.197) 0:04:45.498 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.023) 0:04:45.522 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.024) 0:04:45.546 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.035) 0:04:45.582 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003034", "end": "2023-12-07 08:32:59.779196", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:59.776162" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.210) 0:04:45.792 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.027) 0:04:45.820 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.031) 0:04:45.851 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:32:59 +0000 (0:00:00.038) 0:04:45.890 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002977", "end": "2023-12-07 08:33:00.143136", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:00.140159" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.268) 0:04:46.159 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.028) 0:04:46.187 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.023) 0:04:46.211 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.020) 0:04:46.232 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.251 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.083) 0:04:46.335 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.031) 0:04:46.366 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.023) 0:04:46.390 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.023) 0:04:46.413 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.035) 0:04:46.448 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.029) 0:04:46.478 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.028) 0:04:46.506 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.038) 0:04:46.545 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.023) 0:04:46.569 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.023) 0:04:46.592 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.023) 0:04:46.616 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.636 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.024) 0:04:46.660 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.680 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.699 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.719 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.739 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.019) 0:04:46.758 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.100) 0:04:46.859 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.040) 0:04:46.900 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.046) 0:04:46.946 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:33:00 +0000 (0:00:00.029) 0:04:46.976 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.042) 0:04:47.018 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.021) 0:04:47.040 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.027) 0:04:47.067 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.022) 0:04:47.089 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.023) 0:04:47.112 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.042) 0:04:47.155 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.059) 0:04:47.215 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.032) 0:04:47.247 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.024) 0:04:47.271 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.024) 0:04:47.296 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.019) 0:04:47.315 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.021) 0:04:47.337 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.051) 0:04:47.388 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.035) 0:04:47.423 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.094) 0:04:47.518 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.028) 0:04:47.547 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.023) 0:04:47.570 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.026) 0:04:47.597 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.020) 0:04:47.618 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.021) 0:04:47.639 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.027) 0:04:47.666 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.020) 0:04:47.687 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.033) 0:04:47.720 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.041) 0:04:47.762 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.038) 0:04:47.800 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.029) 0:04:47.829 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.024) 0:04:47.853 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.022) 0:04:47.876 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.018) 0:04:47.895 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.024) 0:04:47.919 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.019) 0:04:47.939 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:33:01 +0000 (0:00:00.021) 0:04:47.961 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.086) 0:04:48.047 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.269) 0:04:48.317 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.020) 0:04:48.337 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:32:21 UTC", "ActiveEnterTimestampMonotonic": "1513608901", "ActiveExitTimestamp": "Thu 2023-12-07 08:32:43 UTC", "ActiveExitTimestampMonotonic": "1536115469", "ActiveState": "inactive", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:32:21 UTC", "AssertTimestampMonotonic": "1513607943", "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": "Thu 2023-12-07 08:32:21 UTC", "ConditionTimestampMonotonic": "1513607942", "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": "Thu 2023-12-07 08:32:44 UTC", "ExecMainExitTimestampMonotonic": "1536899542", "ExecMainPID": "26672", "ExecMainStartTimestamp": "Thu 2023-12-07 08:32:21 UTC", "ExecMainStartTimestampMonotonic": "1513608845", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:32:21 UTC] ; stop_time=[Thu 2023-12-07 08:32:44 UTC] ; pid=26672 ; 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": "Thu 2023-12-07 08:32:44 UTC", "InactiveEnterTimestampMonotonic": "1536899633", "InactiveExitTimestamp": "Thu 2023-12-07 08:32:21 UTC", "InactiveExitTimestampMonotonic": "1513608901", "InvocationID": "22e410ce5c324f00bcbbe250def5f160", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:32:44 UTC", "StateChangeTimestampMonotonic": "1536899633", "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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.374) 0:04:48.711 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.024) 0:04:48.736 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:88 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.036) 0:04:48.772 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:33:02 +0000 (0:00:00.184) 0:04:48.957 ***** 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.006349", "end": "2023-12-07 08:33:03.174868", "rc": 0, "start": "2023-12-07 08:33:03.168519" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.221) 0:04:49.179 ***** 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.005508", "end": "2023-12-07 08:33:03.380696", "rc": 0, "start": "2023-12-07 08:33:03.375188" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.206) 0:04:49.386 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.029) 0:04:49.415 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '127.0.0.1'}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1435}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/var/opt/mssql/data'}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/var/opt/mssql/log'}) included: /WORKDIR/git-storage-selinuxlgqbtjtz/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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.049) 0:04:49.464 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004523", "end": "2023-12-07 08:33:03.677784", "rc": 0, "start": "2023-12-07 08:33:03.673261" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.313) 0:04:49.777 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.054) 0:04:49.832 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.035) 0:04:49.868 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:03 +0000 (0:00:00.041) 0:04:49.910 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004814", "end": "2023-12-07 08:33:04.131021", "rc": 0, "start": "2023-12-07 08:33:04.126207" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.240) 0:04:50.150 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.036) 0:04:50.187 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.024) 0:04:50.211 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.027) 0:04:50.238 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006379", "end": "2023-12-07 08:33:04.457692", "rc": 0, "start": "2023-12-07 08:33:04.451313" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.243) 0:04:50.481 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.044) 0:04:50.525 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.029) 0:04:50.555 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.026) 0:04:50.581 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004215", "end": "2023-12-07 08:33:04.795139", "rc": 0, "start": "2023-12-07 08:33:04.790924" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.224) 0:04:50.805 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.058) 0:04:50.864 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.024) 0:04:50.888 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:04 +0000 (0:00:00.034) 0:04:50.923 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004599", "end": "2023-12-07 08:33:05.135623", "rc": 0, "start": "2023-12-07 08:33:05.131024" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:05 +0000 (0:00:00.228) 0:04:51.151 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:05 +0000 (0:00:00.037) 0:04:51.189 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:05 +0000 (0:00:00.097) 0:04:51.287 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:33:05 +0000 (0:00:00.056) 0:04:51.344 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937746.2899067, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937746.2599075, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 339739072, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937746.2599075, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "2751551727", "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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:33:05 +0000 (0:00:00.412) 0:04:51.757 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:33:05 +0000 (0:00:00.039) 0:04:51.796 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937985.654424, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937985.6694236, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 341836032, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937985.6694236, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3707120738", "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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:33:07 +0000 (0:00:01.345) 0:04:53.141 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:33:07 +0000 (0:00:00.024) 0:04:53.166 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:33:07 +0000 (0:00:00.051) 0:04:53.217 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:33:02 UTC", "ActiveEnterTimestampMonotonic": "1554873784", "ActiveExitTimestamp": "Thu 2023-12-07 08:32:43 UTC", "ActiveExitTimestampMonotonic": "1536115469", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target network.target sysinit.target auditd.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:33:02 UTC", "AssertTimestampMonotonic": "1554872764", "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": "Thu 2023-12-07 08:33:02 UTC", "ConditionTimestampMonotonic": "1554872762", "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": "27919", "ExecMainStartTimestamp": "Thu 2023-12-07 08:33:02 UTC", "ExecMainStartTimestampMonotonic": "1554873717", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:33:02 UTC] ; stop_time=[n/a] ; pid=27919 ; 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": "Thu 2023-12-07 08:32:44 UTC", "InactiveEnterTimestampMonotonic": "1536899633", "InactiveExitTimestamp": "Thu 2023-12-07 08:33:02 UTC", "InactiveExitTimestampMonotonic": "1554873784", "InvocationID": "fafc9ad1ce99444f994233acd1f73b46", "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": "27919", "MemoryAccounting": "yes", "MemoryCurrent": "669077504", "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": "-.mount system.slice 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": "Thu 2023-12-07 08:33:02 UTC", "StateChangeTimestampMonotonic": "1554873784", "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": "144", "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": "Thu 2023-12-07 08:33:02 UTC", "WatchdogTimestampMonotonic": "1554873781", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:33:07 +0000 (0:00:00.341) 0:04:53.558 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002695", "end": "2023-12-07 08:33:07.763637", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:07.760942" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:33:07 +0000 (0:00:00.221) 0:04:53.780 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002722", "end": "2023-12-07 08:33:07.977412", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:07.974690" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:33:08 +0000 (0:00:00.199) 0:04:53.980 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:33:08 +0000 (0:00:00.041) 0:04:54.021 ***** 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": 7524, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:33:26 +0000 (0:00:18.201) 0:05:12.223 ***** ok: [sut] => { "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.022292", "end": "2023-12-07 08:33:26.435845", "rc": 0, "start": "2023-12-07 08:33:26.413553" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:33:26 +0000 (0:00:00.234) 0:05:12.458 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:33:26 +0000 (0:00:00.025) 0:05:12.483 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:33:26 +0000 (0:00:00.102) 0:05:12.585 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:33:27 +0000 (0:00:01.316) 0:05:13.902 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:33:27 +0000 (0:00:00.021) 0:05:13.924 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:33:27 +0000 (0:00:00.027) 0:05:13.951 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:33:28 +0000 (0:00:00.034) 0:05:13.985 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:33:29 +0000 (0:00:01.348) 0:05:15.334 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:33:29 +0000 (0:00:00.024) 0:05:15.359 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:33:29 +0000 (0:00:00.030) 0:05:15.389 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003926", "end": "2023-12-07 08:33:29.587461", "rc": 0, "start": "2023-12-07 08:33:29.583535" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:33:29 +0000 (0:00:00.205) 0:05:15.594 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:33:29 +0000 (0:00:00.022) 0:05:15.617 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:33:29 +0000 (0:00:00.028) 0:05:15.645 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:29 +0000 (0:00:00.158) 0:05:15.804 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004247", "end": "2023-12-07 08:33:30.006932", "rc": 0, "start": "2023-12-07 08:33:30.002685" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.215) 0:05:16.020 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.033) 0:05:16.053 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.044) 0:05:16.097 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.027) 0:05:16.125 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.041) 0:05:16.166 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004317", "end": "2023-12-07 08:33:30.362043", "rc": 0, "start": "2023-12-07 08:33:30.357726" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.210) 0:05:16.377 ***** 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-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.026) 0:05:16.404 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.052) 0:05:16.456 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.022) 0:05:16.478 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.021) 0:05:16.500 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.021) 0:05:16.521 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.021) 0:05:16.542 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.020) 0:05:16.563 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.029) 0:05:16.593 ***** 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-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.021) 0:05:16.614 ***** 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-selinuxlgqbtjtz/tests/tasks/tests_idempotency.yml:105 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.019) 0:05:16.634 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/check_header.yml:4 Thursday 07 December 2023 08:33:30 +0000 (0:00:00.292) 0:05:16.927 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002695", "end": "2023-12-07 08:33:31.168840", "rc": 0, "start": "2023-12-07 08:33:31.166145" } 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-selinuxlgqbtjtz/tests/tests_idempotency_2019.yml:17 Thursday 07 December 2023 08:33:31 +0000 (0:00:00.244) 0:05:17.172 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 08:33:31 +0000 (0:00:00.035) 0:05:17.207 ***** 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-selinuxlgqbtjtz/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 08:33:32 +0000 (0:00:01.317) 0:05:18.525 ***** 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-selinuxlgqbtjtz/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.023) 0:05:18.548 ***** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.019) 0:05:18.568 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.049) 0:05:18.617 ***** included: /WORKDIR/git-storage-selinuxlgqbtjtz/.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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.032) 0:05:18.650 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.098) 0:05:18.748 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.196) 0:05:18.945 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 08:33:32 +0000 (0:00:00.024) 0:05:18.969 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 08:33:35 +0000 (0:00:02.775) 0:05:21.744 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 08:33:35 +0000 (0:00:00.031) 0:05:21.775 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 08:33:35 +0000 (0:00:00.041) 0:05:21.817 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:25:18 UTC", "ActiveEnterTimestampMonotonic": "1090527828", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket dbus.service system.slice polkit.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:25:17 UTC", "AssertTimestampMonotonic": "1089872935", "Before": "multi-user.target shutdown.target network-pre.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": "Thu 2023-12-07 08:25:17 UTC", "ConditionTimestampMonotonic": "1089872933", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ipset.service ip6tables.service iptables.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": "14184", "ExecMainStartTimestamp": "Thu 2023-12-07 08:25:17 UTC", "ExecMainStartTimestampMonotonic": "1089874402", "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": "Thu 2023-12-07 08:25:17 UTC", "InactiveExitTimestampMonotonic": "1089874453", "InvocationID": "e1c03e8767e348b59a212236bb381caf", "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": "14184", "MemoryAccounting": "yes", "MemoryCurrent": "43565056", "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": "dbus.socket system.slice 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": "Thu 2023-12-07 08:25:18 UTC", "StateChangeTimestampMonotonic": "1090527828", "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": "Thu 2023-12-07 08:25:18 UTC", "WatchdogTimestampMonotonic": "1090527824", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 08:33:36 +0000 (0:00:00.364) 0:05:22.181 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:25:18 UTC", "ActiveEnterTimestampMonotonic": "1090527828", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket dbus.service system.slice polkit.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:25:17 UTC", "AssertTimestampMonotonic": "1089872935", "Before": "multi-user.target shutdown.target network-pre.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": "Thu 2023-12-07 08:25:17 UTC", "ConditionTimestampMonotonic": "1089872933", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ipset.service ip6tables.service iptables.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": "14184", "ExecMainStartTimestamp": "Thu 2023-12-07 08:25:17 UTC", "ExecMainStartTimestampMonotonic": "1089874402", "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": "Thu 2023-12-07 08:25:17 UTC", "InactiveExitTimestampMonotonic": "1089874453", "InvocationID": "e1c03e8767e348b59a212236bb381caf", "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": "14184", "MemoryAccounting": "yes", "MemoryCurrent": "43565056", "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": "dbus.socket system.slice 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": "Thu 2023-12-07 08:25:18 UTC", "StateChangeTimestampMonotonic": "1090527828", "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": "Thu 2023-12-07 08:25:18 UTC", "WatchdogTimestampMonotonic": "1090527824", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 08:33:36 +0000 (0:00:00.366) 0:05:22.547 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 08:33:36 +0000 (0:00:00.036) 0:05:22.584 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.13.14 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 08:33:36 +0000 (0:00:00.376) 0:05:22.961 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.038) 0:05:23.000 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.025) 0:05:23.025 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.056) 0:05:23.082 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.033) 0:05:23.116 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.023) 0:05:23.139 ***** 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-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.030) 0:05:23.170 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.13.14 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.264) 0:05:23.435 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.032) 0:05:23.467 ***** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.101) 0:05:23.569 ***** 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-selinuxlgqbtjtz/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.040) 0:05:23.609 ***** 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-selinuxlgqbtjtz/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.042) 0:05:23.651 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 08:33:37 +0000 (0:00:00.271) 0:05:23.922 ***** 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-15.0.4335.1-6.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-selinuxlgqbtjtz/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 08:33:44 +0000 (0:00:06.057) 0:05:29.980 ***** 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.012255", "end": "2023-12-07 08:33:44.183093", "rc": 0, "start": "2023-12-07 08:33:44.170838" } STDOUT: removed directory '/var/opt/mssql/.system/system/Temp' 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/fa06f582-441b-444d-9653-d16f65833b1d' 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/licensing.hiv' 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' 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_133464113446340000.xel' removed '/var/opt/mssql/log/system_health_0_133464113452090000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464113490640000.xel' removed '/var/opt/mssql/log/system_health_0_133464113495100000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464114084570000.xel' removed '/var/opt/mssql/log/system_health_0_133464114088710000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464114391720000.xel' removed '/var/opt/mssql/log/system_health_0_133464114395980000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464114572450000.xel' removed '/var/opt/mssql/log/system_health_0_133464114575730000.xel' removed '/var/opt/mssql/log/log_9.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464115165040000.xel' removed '/var/opt/mssql/log/system_health_0_133464115168720000.xel' removed '/var/opt/mssql/log/log_5.trc' removed '/var/opt/mssql/log/sqlagent.4' removed '/var/opt/mssql/log/sqlagent.3' 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_133464115260970000.xel' removed '/var/opt/mssql/log/system_health_0_133464115264530000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464115439670000.xel' removed '/var/opt/mssql/log/system_health_0_133464115443810000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464115688260000.xel' removed '/var/opt/mssql/log/system_health_0_133464115691980000.xel' removed '/var/opt/mssql/log/log_8.trc' removed '/var/opt/mssql/log/errorlog.10' removed '/var/opt/mssql/log/errorlog.9' removed '/var/opt/mssql/log/errorlog.8' removed '/var/opt/mssql/log/errorlog.7' 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_133464115852570000.xel' removed '/var/opt/mssql/log/system_health_0_133464115856440000.xel' 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-2019.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-selinuxlgqbtjtz/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 08:33:44 +0000 (0:00:00.208) 0:05:30.189 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.009950", "end": "2023-12-07 08:33:44.385733", "rc": 0, "start": "2023-12-07 08:33:44.375783" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. PLAY RECAP ********************************************************************* sut : ok=347 changed=44 unreachable=0 failed=0 skipped=498 rescued=0 ignored=3 Thursday 07 December 2023 08:33:44 +0000 (0:00:00.237) 0:05:30.427 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 36.75s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 27.91s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wait for mssql-server to prepare for client connections ---------------- 18.23s /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.20s /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Ensure the package powershell -------- 10.84s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Gather system services facts ---------- 7.45s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 6.60s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 6.46s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Remove related packages ------------------------------------------------- 6.06s /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.61s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.56s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 5.54s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.14s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.89s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Change the password of sa user -------- 3.94s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.88s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 3.78s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Gather system services facts ---------- 3.53s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 3.45s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 3.40s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---