# 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_2022.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tests_idempotency_2022.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2022] ****************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tests_idempotency_2022.yml:17 Thursday 07 December 2023 08:30:07 +0000 (0:00:00.061) 0:00:00.061 ***** 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:30:07 +0000 (0:00:00.019) 0:00:00.080 ***** 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:30:07 +0000 (0:00:00.018) 0:00:00.099 ***** 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:30:08 +0000 (0:00:00.785) 0:00:00.884 ***** 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:30:08 +0000 (0:00:00.092) 0:00:00.976 ***** 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:30:08 +0000 (0:00:00.052) 0:00:01.029 ***** 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:08 +0000 (0:00:00.115) 0:00:01.145 ***** 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:08 +0000 (0:00:00.020) 0:00:01.165 ***** 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:08 +0000 (0:00:00.038) 0:00:01.204 ***** 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:08 +0000 (0:00:00.039) 0:00:01.243 ***** 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:08 +0000 (0:00:00.011) 0:00:01.255 ***** 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:08 +0000 (0:00:00.024) 0:00:01.279 ***** 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:08 +0000 (0:00:00.011) 0:00:01.291 ***** 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:08 +0000 (0:00:00.023) 0:00:01.315 ***** 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:08 +0000 (0:00:00.021) 0:00:01.337 ***** 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:08 +0000 (0:00:00.021) 0:00:01.358 ***** 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:08 +0000 (0:00:00.023) 0:00:01.382 ***** 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.044) 0:00:01.426 ***** 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:09 +0000 (0:00:00.036) 0:00:01.463 ***** 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:09 +0000 (0:00:00.023) 0:00:01.487 ***** 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:09 +0000 (0:00:00.040) 0:00:01.527 ***** 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:09 +0000 (0:00:00.024) 0:00:01.552 ***** 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:09 +0000 (0:00:00.032) 0:00:01.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 [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.634) 0:00:03.219 ***** 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:30:10 +0000 (0:00:00.044) 0:00:03.263 ***** 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.048) 0:00:03.312 ***** 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.079) 0:00:03.392 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-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.058) 0:00:03.450 ***** 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:30:13 +0000 (0:00:02.886) 0:00:06.336 ***** 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:30:13 +0000 (0:00:00.030) 0:00:06.366 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:30:13 +0000 (0:00:00.041) 0:00:06.407 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:30:13 +0000 (0:00:00.020) 0:00:06.428 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:30:14 +0000 (0:00:00.305) 0:00:06.733 ***** 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:14 +0000 (0:00:00.042) 0:00:06.775 ***** 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:14 +0000 (0:00:00.027) 0:00:06.802 ***** 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:14 +0000 (0:00:00.030) 0:00:06.833 ***** 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:14 +0000 (0:00:00.031) 0:00:06.865 ***** 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:14 +0000 (0:00:00.032) 0:00:06.898 ***** 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-16.0.4095.4-1.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:30:55 +0000 (0:00:40.736) 0:00:47.634 ***** 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:55 +0000 (0:00:00.017) 0:00:47.652 ***** 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.005279", "end": "2023-12-07 08:30:55.435035", "rc": 0, "start": "2023-12-07 08:30:55.429756" } 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:55 +0000 (0:00:00.275) 0:00:47.928 ***** 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:19 +0000 (0:00:23.673) 0:01:11.601 ***** 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:31:19 +0000 (0:00:00.036) 0:01:11.638 ***** 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:31:19 +0000 (0:00:00.024) 0:01:11.663 ***** 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:31:27 +0000 (0:00:08.031) 0:01:19.695 ***** 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:31:27 +0000 (0:00:00.052) 0:01:19.747 ***** 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:31:27 +0000 (0:00:00.377) 0:01:20.124 ***** 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:31:27 +0000 (0:00:00.328) 0:01:20.453 ***** 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:31:28 +0000 (0:00:00.036) 0:01:20.489 ***** 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:28 +0000 (0:00:00.033) 0:01:20.522 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003199", "end": "2023-12-07 08:31:28.268720", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:31:28.265521" } 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:31:28 +0000 (0:00:00.257) 0:01:20.780 ***** 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.123609", "end": "2023-12-07 08:31:28.709823", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:28.586214" } 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:28 +0000 (0:00:00.451) 0:01:21.231 ***** 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:31:28 +0000 (0:00:00.027) 0:01:21.259 ***** 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:31:29 +0000 (0:00:00.232) 0:01:21.492 ***** 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:31:29 +0000 (0:00:00.228) 0:01:21.720 ***** 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:31:29 +0000 (0:00:00.047) 0:01:21.767 ***** 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:29 +0000 (0:00:00.032) 0:01:21.800 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002864", "end": "2023-12-07 08:31:29.554186", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:31:29.551322" } 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:31:29 +0000 (0:00:00.234) 0:01:22.035 ***** 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.123813", "end": "2023-12-07 08:31:29.894597", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:29.770784" } 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:29 +0000 (0:00:00.351) 0:01:22.386 ***** 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:29 +0000 (0:00:00.025) 0:01:22.411 ***** 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:29 +0000 (0:00:00.031) 0:01:22.443 ***** 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:33 +0000 (0:00:03.533) 0:01:25.977 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:45 UTC", "ActiveEnterTimestampMonotonic": "38868725", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket polkit.service basic.target system.slice systemd-journald.socket network.target systemd-sysctl.service dbus.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37383621", "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": "37383620", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service auto-cpufreq.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": "701", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37384521", "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": "37384584", "InvocationID": "fbd2ffbe97d54b779e91de055db08c2f", "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": "701", "MemoryAccounting": "yes", "MemoryCurrent": "22884352", "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 system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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:45 UTC", "StateChangeTimestampMonotonic": "38868725", "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:45 UTC", "WatchdogTimestampMonotonic": "38868723", "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:34 +0000 (0:00:00.552) 0:01:26.529 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114364", "end": "2023-12-07 08:31:34.355555", "rc": 0, "start": "2023-12-07 08:31:34.241191" } 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:34 +0000 (0:00:00.305) 0:01:26.834 ***** 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:34 +0000 (0:00:00.018) 0:01:26.853 ***** 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:34 +0000 (0:00:00.017) 0:01:26.871 ***** 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:34 +0000 (0:00:00.018) 0:01:26.890 ***** 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:31:34 +0000 (0:00:00.230) 0:01:27.120 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:31:38 +0000 (0:00:04.010) 0:01:31.130 ***** 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:31:38 +0000 (0:00:00.020) 0:01:31.151 ***** 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:31:38 +0000 (0:00:00.019) 0:01:31.171 ***** 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:31:38 +0000 (0:00:00.020) 0:01:31.192 ***** 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:31:38 +0000 (0:00:00.019) 0:01:31.211 ***** 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:31:38 +0000 (0:00:00.019) 0:01:31.231 ***** 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:31:38 +0000 (0:00:00.021) 0:01:31.252 ***** 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:38 +0000 (0:00:00.016) 0:01:31.269 ***** 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:38 +0000 (0:00:00.018) 0:01:31.288 ***** 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:31:38 +0000 (0:00:00.019) 0:01:31.308 ***** 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:31:38 +0000 (0:00:00.020) 0:01:31.328 ***** 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:31:38 +0000 (0:00:00.020) 0:01:31.349 ***** 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:31:38 +0000 (0:00:00.019) 0:01:31.368 ***** 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:31:38 +0000 (0:00:00.034) 0:01:31.403 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003241", "end": "2023-12-07 08:31:39.131735", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:31:39.128494" } 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:31:39 +0000 (0:00:00.207) 0:01:31.611 ***** 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.124231", "end": "2023-12-07 08:31:39.465133", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:39.340902" } 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:31:39 +0000 (0:00:00.339) 0:01:31.950 ***** 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:31:39 +0000 (0:00:00.018) 0:01:31.968 ***** 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:31:39 +0000 (0:00:00.053) 0:01:32.022 ***** 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:31:39 +0000 (0:00:00.029) 0:01:32.052 ***** 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:31:39 +0000 (0:00:00.031) 0:01:32.083 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002982", "end": "2023-12-07 08:31:39.811275", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:31:39.808293" } 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:31:39 +0000 (0:00:00.206) 0:01:32.290 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.123895", "end": "2023-12-07 08:31:40.141813", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:40.017918" } 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:31:40 +0000 (0:00:00.340) 0:01:32.630 ***** 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:31:40 +0000 (0:00:00.026) 0:01:32.657 ***** 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:31:40 +0000 (0:00:00.029) 0:01:32.686 ***** 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:31:40 +0000 (0:00:00.040) 0:01:32.727 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002919", "end": "2023-12-07 08:31:40.456222", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:40.453303" } 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:31:40 +0000 (0:00:00.208) 0:01:32.936 ***** 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.125731", "end": "2023-12-07 08:31:40.792301", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:31:40.666570" } 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:31:40 +0000 (0:00:00.339) 0:01:33.275 ***** 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:31:40 +0000 (0:00:00.018) 0:01:33.294 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:32:10 +0000 (0:00:29.408) 0:02:02.703 ***** 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:32:19 +0000 (0:00:09.632) 0:02:12.336 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002967", "end": "2023-12-07 08:32:20.071227", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:32:20.068260" } 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:20 +0000 (0:00:00.225) 0:02:12.561 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.122383", "end": "2023-12-07 08:32:20.429370", "rc": 0, "start": "2023-12-07 08:32:20.306987" } 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:32:20 +0000 (0:00:00.351) 0:02:12.912 ***** 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:32:20 +0000 (0:00:00.062) 0:02:12.974 ***** 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:20 +0000 (0:00:00.111) 0:02:13.086 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003062", "end": "2023-12-07 08:32:20.839136", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:32:20.836074" } 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:32:20 +0000 (0:00:00.237) 0:02:13.324 ***** 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.124716", "end": "2023-12-07 08:32:21.193293", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:21.068577" } 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:32:21 +0000 (0:00:00.354) 0:02:13.678 ***** 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:21 +0000 (0:00:00.021) 0:02:13.700 ***** 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:21 +0000 (0:00:00.039) 0:02:13.740 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002959", "end": "2023-12-07 08:32:21.471037", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:32:21.468078" } 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:32:21 +0000 (0:00:00.212) 0:02:13.953 ***** 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.125336", "end": "2023-12-07 08:32:21.840755", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:21.715419" } 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:21 +0000 (0:00:00.371) 0:02:14.324 ***** 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:21 +0000 (0:00:00.045) 0:02:14.369 ***** 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:21 +0000 (0:00:00.061) 0:02:14.430 ***** 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:22 +0000 (0:00:00.047) 0:02:14.478 ***** 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:22 +0000 (0:00:00.027) 0:02:14.505 ***** 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:22 +0000 (0:00:00.034) 0:02:14.540 ***** 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:22 +0000 (0:00:00.029) 0:02:14.569 ***** 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:22 +0000 (0:00:00.028) 0:02:14.597 ***** 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:22 +0000 (0:00:00.023) 0:02:14.621 ***** 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:22 +0000 (0:00:00.045) 0:02:14.666 ***** 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:22 +0000 (0:00:00.049) 0:02:14.716 ***** 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:22 +0000 (0:00:00.034) 0:02:14.750 ***** 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:22 +0000 (0:00:00.110) 0:02:14.860 ***** 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:22 +0000 (0:00:00.039) 0:02:14.900 ***** 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:22 +0000 (0:00:00.030) 0:02:14.931 ***** 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:22 +0000 (0:00:00.036) 0:02:14.967 ***** 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:22 +0000 (0:00:00.023) 0:02:14.990 ***** 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:22 +0000 (0:00:00.026) 0:02:15.017 ***** 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:22 +0000 (0:00:00.030) 0:02:15.047 ***** 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:22 +0000 (0:00:00.021) 0:02:15.069 ***** 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:22 +0000 (0:00:00.030) 0:02:15.099 ***** 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:22 +0000 (0:00:00.040) 0:02:15.140 ***** 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:22 +0000 (0:00:00.066) 0:02:15.206 ***** 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:22 +0000 (0:00:00.072) 0:02:15.279 ***** 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:22 +0000 (0:00:00.022) 0:02:15.302 ***** 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:22 +0000 (0:00:00.022) 0:02:15.324 ***** 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:22 +0000 (0:00:00.025) 0:02:15.350 ***** 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:22 +0000 (0:00:00.020) 0:02:15.370 ***** 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:22 +0000 (0:00:00.020) 0:02:15.391 ***** 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:22 +0000 (0:00:00.017) 0:02:15.409 ***** 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:23 +0000 (0:00:00.046) 0:02:15.456 ***** 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:23 +0000 (0:00:00.018) 0:02:15.474 ***** 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:23 +0000 (0:00:00.020) 0:02:15.495 ***** 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:23 +0000 (0:00:00.021) 0:02:15.516 ***** 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:23 +0000 (0:00:00.020) 0:02:15.537 ***** 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:23 +0000 (0:00:00.025) 0:02:15.563 ***** 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:23 +0000 (0:00:00.030) 0:02:15.593 ***** 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:23 +0000 (0:00:00.022) 0:02:15.616 ***** 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:23 +0000 (0:00:00.024) 0:02:15.640 ***** 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:23 +0000 (0:00:00.018) 0:02:15.659 ***** 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:23 +0000 (0:00:00.021) 0:02:15.680 ***** 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:23 +0000 (0:00:00.018) 0:02:15.699 ***** 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:23 +0000 (0:00:00.018) 0:02:15.717 ***** 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:23 +0000 (0:00:00.016) 0:02:15.734 ***** 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:23 +0000 (0:00:00.017) 0:02:15.751 ***** 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:23 +0000 (0:00:00.018) 0:02:15.770 ***** 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:23 +0000 (0:00:00.018) 0:02:15.788 ***** 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:23 +0000 (0:00:00.018) 0:02:15.807 ***** 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:23 +0000 (0:00:00.018) 0:02:15.825 ***** 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:23 +0000 (0:00:00.054) 0:02:15.880 ***** 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:23 +0000 (0:00:00.023) 0:02:15.904 ***** 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:23 +0000 (0:00:00.018) 0:02:15.922 ***** 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:23 +0000 (0:00:00.019) 0:02:15.941 ***** 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:23 +0000 (0:00:00.021) 0:02:15.963 ***** 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:23 +0000 (0:00:00.019) 0:02:15.982 ***** 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:23 +0000 (0:00:00.022) 0:02:16.004 ***** 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:23 +0000 (0:00:00.018) 0:02:16.023 ***** 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:23 +0000 (0:00:00.020) 0:02:16.044 ***** 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:23 +0000 (0:00:00.024) 0:02:16.068 ***** 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:23 +0000 (0:00:00.338) 0:02:16.406 ***** 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:23 +0000 (0:00:00.019) 0:02:16.426 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:31:27 UTC", "ActiveEnterTimestampMonotonic": "1460168661", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket network.target auditd.service sysinit.target system.slice -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:31:27 UTC", "AssertTimestampMonotonic": "1460160953", "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:31:27 UTC", "ConditionTimestampMonotonic": "1460160952", "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": "30835", "ExecMainStartTimestamp": "Thu 2023-12-07 08:31:27 UTC", "ExecMainStartTimestampMonotonic": "1460168607", "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:31:27 UTC", "InactiveExitTimestampMonotonic": "1460168661", "InvocationID": "7314a1afdfbd424b8dbef3b5c0117903", "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": "30835", "MemoryAccounting": "yes", "MemoryCurrent": "740098048", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "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:31:27 UTC", "StateChangeTimestampMonotonic": "1460168661", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "174", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:31:27 UTC", "WatchdogTimestampMonotonic": "1460168658", "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:24 +0000 (0:00:00.558) 0:02:16.985 ***** 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:24 +0000 (0:00:00.033) 0:02:17.019 ***** 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:32:24 +0000 (0:00:00.028) 0:02:17.047 ***** 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:32:24 +0000 (0:00:00.155) 0:02:17.203 ***** 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:32:25 +0000 (0:00:00.342) 0:02:17.545 ***** 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:32:25 +0000 (0:00:00.215) 0:02:17.761 ***** 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:32:25 +0000 (0:00:00.527) 0:02:18.288 ***** 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:26 +0000 (0:00:00.178) 0:02:18.467 ***** 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:26 +0000 (0:00:00.035) 0:02:18.502 ***** 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:26 +0000 (0:00:00.027) 0:02:18.530 ***** 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:26 +0000 (0:00:00.043) 0:02:18.574 ***** 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:26 +0000 (0:00:00.020) 0:02:18.594 ***** 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:26 +0000 (0:00:00.019) 0:02:18.614 ***** 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:26 +0000 (0:00:00.018) 0:02:18.633 ***** 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:26 +0000 (0:00:00.019) 0:02:18.652 ***** 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:26 +0000 (0:00:00.017) 0:02:18.670 ***** 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:26 +0000 (0:00:00.046) 0:02:18.716 ***** 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:26 +0000 (0:00:00.019) 0:02:18.736 ***** 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:26 +0000 (0:00:00.023) 0:02:18.759 ***** 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:26 +0000 (0:00:00.018) 0:02:18.777 ***** 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:26 +0000 (0:00:00.018) 0:02:18.795 ***** 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:26 +0000 (0:00:00.018) 0:02:18.814 ***** 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:26 +0000 (0:00:00.019) 0:02:18.833 ***** 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:26 +0000 (0:00:00.020) 0:02:18.854 ***** 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:27 +0000 (0:00:01.480) 0:02:20.334 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:32:27 +0000 (0:00:00.054) 0:02:20.389 ***** 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:27 +0000 (0:00:00.027) 0:02:20.417 ***** 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:27 +0000 (0:00:00.023) 0:02:20.440 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:32:28 +0000 (0:00:00.035) 0:02:20.476 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:32:28 +0000 (0:00:00.704) 0:02:21.181 ***** 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:28 +0000 (0:00:00.025) 0:02:21.207 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:32:28 +0000 (0:00:00.021) 0:02:21.228 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:32:28 +0000 (0:00:00.074) 0:02:21.302 ***** 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:28 +0000 (0:00:00.027) 0:02:21.329 ***** 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:28 +0000 (0:00:00.021) 0:02:21.351 ***** 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:28 +0000 (0:00:00.021) 0:02:21.373 ***** 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:28 +0000 (0:00:00.025) 0:02:21.398 ***** 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:28 +0000 (0:00:00.019) 0:02:21.417 ***** 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:28 +0000 (0:00:00.019) 0:02:21.436 ***** 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:32 +0000 (0:00:03.047) 0:02:24.484 ***** 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:32 +0000 (0:00:00.057) 0:02:24.541 ***** 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.005672", "end": "2023-12-07 08:32:32.281769", "rc": 0, "start": "2023-12-07 08:32:32.276097" } 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:32 +0000 (0:00:00.221) 0:02:24.762 ***** 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:57 +0000 (0:00:25.516) 0:02:50.279 ***** 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:57 +0000 (0:00:00.026) 0:02:50.305 ***** 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:57 +0000 (0:00:00.018) 0:02:50.324 ***** 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:57 +0000 (0:00:00.018) 0:02:50.342 ***** 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:32:57 +0000 (0:00:00.039) 0:02:50.381 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937887.9660993, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937887.9670992, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 429916608, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701937887.9660993, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "2621233636", "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:32:58 +0000 (0:00:00.244) 0:02:50.626 ***** 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:32:58 +0000 (0:00:00.221) 0:02:50.848 ***** 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:32:58 +0000 (0:00:00.027) 0:02:50.875 ***** 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:58 +0000 (0:00:00.032) 0:02:50.908 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002816", "end": "2023-12-07 08:32:58.633086", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:58.630270" } 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:32:58 +0000 (0:00:00.206) 0:02:51.115 ***** 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:58 +0000 (0:00:00.027) 0:02:51.142 ***** 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:32:58 +0000 (0:00:00.020) 0:02:51.162 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937889.2410502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937889.2410502, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 440402368, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701937889.2410502, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "716953967", "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:32:58 +0000 (0:00:00.215) 0:02:51.377 ***** 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:32:59 +0000 (0:00:00.212) 0:02:51.590 ***** 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:32:59 +0000 (0:00:00.030) 0:02:51.620 ***** 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:59 +0000 (0:00:00.031) 0:02:51.652 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002655", "end": "2023-12-07 08:32:59.373390", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:32:59.370735" } 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:32:59 +0000 (0:00:00.205) 0:02:51.858 ***** 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:59 +0000 (0:00:00.026) 0:02:51.885 ***** 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:59 +0000 (0:00:00.026) 0:02:51.911 ***** 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:59 +0000 (0:00:00.021) 0:02:51.933 ***** 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:33:02 +0000 (0:00:02.958) 0:02:54.892 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:45 UTC", "ActiveEnterTimestampMonotonic": "38868725", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus.service network.target systemd-sysctl.service basic.target system.slice polkit.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37383621", "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": "37383620", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service tlp.service auto-cpufreq.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": "701", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37384521", "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": "37384584", "InvocationID": "fbd2ffbe97d54b779e91de055db08c2f", "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": "701", "MemoryAccounting": "yes", "MemoryCurrent": "22945792", "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": "system.slice dbus.service sysinit.target dbus.socket", "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:45 UTC", "StateChangeTimestampMonotonic": "38868725", "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:45 UTC", "WatchdogTimestampMonotonic": "38868723", "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:33:02 +0000 (0:00:00.343) 0:02:55.235 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:01.116551", "end": "2023-12-07 08:33:04.071959", "rc": 0, "start": "2023-12-07 08:33:02.955408" } 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:33:04 +0000 (0:00:01.318) 0:02:56.554 ***** 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:33:04 +0000 (0:00:00.018) 0:02:56.573 ***** 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:33:04 +0000 (0:00:00.025) 0:02:56.598 ***** 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:33:04 +0000 (0:00:00.022) 0:02:56.621 ***** 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:33:04 +0000 (0:00:00.218) 0:02:56.839 ***** 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:33:08 +0000 (0:00:03.819) 0:03:00.659 ***** 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:33:08 +0000 (0:00:00.037) 0:03:00.696 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ActiveEnterTimestampMonotonic": "1517615648", "ActiveExitTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ActiveExitTimestampMonotonic": "1517419046", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:32:24 UTC", "AssertTimestampMonotonic": "1517614577", "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:32:24 UTC", "ConditionTimestampMonotonic": "1517614575", "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": "32123", "ExecMainStartTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ExecMainStartTimestampMonotonic": "1517615583", "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:32:24 UTC", "InactiveEnterTimestampMonotonic": "1517613584", "InactiveExitTimestamp": "Thu 2023-12-07 08:32:24 UTC", "InactiveExitTimestampMonotonic": "1517615648", "InvocationID": "6fcfe1496456476da8335181f6c0ddbc", "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": "32123", "MemoryAccounting": "yes", "MemoryCurrent": "801746944", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:32:24 UTC", "StateChangeTimestampMonotonic": "1517615648", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:32:24 UTC", "WatchdogTimestampMonotonic": "1517615645", "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:08 +0000 (0:00:00.343) 0:03:01.039 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002694", "end": "2023-12-07 08:33:08.759242", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:33:08.756548" } 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:33:08 +0000 (0:00:00.198) 0:03:01.237 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002495", "end": "2023-12-07 08:33:08.965557", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:08.963062" } 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:33:08 +0000 (0:00:00.210) 0:03:01.448 ***** 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:33:09 +0000 (0:00:00.031) 0:03:01.480 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 20300, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:33:10 +0000 (0:00:01.355) 0:03:02.835 ***** 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:33:10 +0000 (0:00:00.317) 0:03:03.152 ***** 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:24 UTC", "ActiveEnterTimestampMonotonic": "1517615648", "ActiveExitTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ActiveExitTimestampMonotonic": "1517419046", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:32:24 UTC", "AssertTimestampMonotonic": "1517614577", "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:32:24 UTC", "ConditionTimestampMonotonic": "1517614575", "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": "32123", "ExecMainStartTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ExecMainStartTimestampMonotonic": "1517615583", "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:32:24 UTC", "InactiveEnterTimestampMonotonic": "1517613584", "InactiveExitTimestamp": "Thu 2023-12-07 08:32:24 UTC", "InactiveExitTimestampMonotonic": "1517615648", "InvocationID": "6fcfe1496456476da8335181f6c0ddbc", "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": "32123", "MemoryAccounting": "yes", "MemoryCurrent": "801443840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:32:24 UTC", "StateChangeTimestampMonotonic": "1517615648", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:32:24 UTC", "WatchdogTimestampMonotonic": "1517615645", "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:33:11 +0000 (0:00:00.510) 0:03:03.663 ***** 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:33:12 +0000 (0:00:01.465) 0:03:05.129 ***** 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:33:19 +0000 (0:00:06.980) 0:03:12.109 ***** 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:33:19 +0000 (0:00:00.020) 0:03:12.129 ***** 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:33:19 +0000 (0:00:00.018) 0:03:12.147 ***** 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.004484", "end": "2023-12-07 08:33:19.866541", "rc": 0, "start": "2023-12-07 08:33:19.862057" } 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:33:19 +0000 (0:00:00.197) 0:03:12.345 ***** 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:33:19 +0000 (0:00:00.026) 0:03:12.371 ***** 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:33:21 +0000 (0:00:01.359) 0:03:13.731 ***** 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:33:21 +0000 (0:00:00.022) 0:03:13.754 ***** 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:33:21 +0000 (0:00:00.040) 0:03:13.794 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002562", "end": "2023-12-07 08:33:21.515985", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:21.513423" } 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:33:21 +0000 (0:00:00.204) 0:03:13.999 ***** 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:33:21 +0000 (0:00:00.057) 0:03:14.056 ***** 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:33:21 +0000 (0:00:00.049) 0:03:14.105 ***** 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:33:21 +0000 (0:00:00.094) 0:03:14.200 ***** 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:33:21 +0000 (0:00:00.037) 0:03:14.238 ***** 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:33:21 +0000 (0:00:00.081) 0:03:14.319 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002616", "end": "2023-12-07 08:33:22.088312", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:33:22.085696" } 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:33:22 +0000 (0:00:00.260) 0:03:14.580 ***** 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.120552", "end": "2023-12-07 08:33:22.452269", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:22.331717" } 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:33:22 +0000 (0:00:00.388) 0:03:14.968 ***** 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:33:22 +0000 (0:00:00.067) 0:03:15.036 ***** 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:33:22 +0000 (0:00:00.094) 0:03:15.130 ***** 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:33:22 +0000 (0:00:00.078) 0:03:15.208 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002509", "end": "2023-12-07 08:33:23.029479", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:23.026970" } 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:33:23 +0000 (0:00:00.319) 0:03:15.528 ***** 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:33:23 +0000 (0:00:00.056) 0:03:15.585 ***** 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:33:23 +0000 (0:00:00.032) 0:03:15.617 ***** 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:33:25 +0000 (0:00:02.726) 0:03:18.343 ***** 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:33:29 +0000 (0:00:03.852) 0:03:22.195 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002508", "end": "2023-12-07 08:33:29.956028", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:29.953520" } 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:33:29 +0000 (0:00:00.239) 0:03:22.434 ***** 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:33:30 +0000 (0:00:00.022) 0:03:22.457 ***** 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:33:30 +0000 (0:00:00.072) 0:03:22.529 ***** 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:33:30 +0000 (0:00:00.051) 0:03:22.580 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002773", "end": "2023-12-07 08:33:30.327299", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:30.324526" } 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:33:30 +0000 (0:00:00.231) 0:03:22.812 ***** 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:33:30 +0000 (0:00:00.029) 0:03:22.842 ***** 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:33:30 +0000 (0:00:00.021) 0:03:22.864 ***** 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:33:30 +0000 (0:00:00.045) 0:03:22.909 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002775", "end": "2023-12-07 08:33:30.639156", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:30.636381" } 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:33:30 +0000 (0:00:00.238) 0:03:23.147 ***** 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:30 +0000 (0:00:00.032) 0:03:23.180 ***** 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:30 +0000 (0:00:00.024) 0:03:23.205 ***** 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:30 +0000 (0:00:00.023) 0:03:23.228 ***** 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:30 +0000 (0:00:00.020) 0:03:23.248 ***** 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:30 +0000 (0:00:00.022) 0:03:23.271 ***** 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:30 +0000 (0:00:00.020) 0:03:23.291 ***** 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:30 +0000 (0:00:00.020) 0:03:23.312 ***** 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:30 +0000 (0:00:00.021) 0:03:23.333 ***** 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:30 +0000 (0:00:00.084) 0:03:23.418 ***** 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:30 +0000 (0:00:00.027) 0:03:23.446 ***** 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:31 +0000 (0:00:00.030) 0:03:23.476 ***** 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:31 +0000 (0:00:00.025) 0:03:23.501 ***** 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:31 +0000 (0:00:00.023) 0:03:23.525 ***** 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:31 +0000 (0:00:00.022) 0:03:23.547 ***** 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:31 +0000 (0:00:00.021) 0:03:23.568 ***** 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:31 +0000 (0:00:00.019) 0:03:23.588 ***** 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:31 +0000 (0:00:00.019) 0:03:23.608 ***** 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:31 +0000 (0:00:00.019) 0:03:23.627 ***** 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:31 +0000 (0:00:00.022) 0:03:23.650 ***** 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:31 +0000 (0:00:00.023) 0:03:23.673 ***** 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:31 +0000 (0:00:00.027) 0:03:23.700 ***** 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:31 +0000 (0:00:00.028) 0:03:23.729 ***** 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:31 +0000 (0:00:00.019) 0:03:23.748 ***** 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:31 +0000 (0:00:00.019) 0:03:23.768 ***** 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:31 +0000 (0:00:00.018) 0:03:23.787 ***** 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:31 +0000 (0:00:00.084) 0:03:23.872 ***** 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:31 +0000 (0:00:00.020) 0:03:23.892 ***** 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:31 +0000 (0:00:00.018) 0:03:23.911 ***** 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:31 +0000 (0:00:00.019) 0:03:23.931 ***** 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:31 +0000 (0:00:00.018) 0:03:23.949 ***** 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:31 +0000 (0:00:00.019) 0:03:23.968 ***** 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:31 +0000 (0:00:00.018) 0:03:23.987 ***** 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:31 +0000 (0:00:00.018) 0:03:24.005 ***** 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:31 +0000 (0:00:00.019) 0:03:24.025 ***** 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:31 +0000 (0:00:00.018) 0:03:24.043 ***** 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:31 +0000 (0:00:00.027) 0:03:24.071 ***** 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:31 +0000 (0:00:00.023) 0:03:24.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:33:31 +0000 (0:00:00.018) 0:03:24.113 ***** 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:31 +0000 (0:00:00.024) 0:03:24.137 ***** 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:31 +0000 (0:00:00.023) 0:03:24.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:33:31 +0000 (0:00:00.019) 0:03:24.181 ***** 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:31 +0000 (0:00:00.019) 0:03:24.200 ***** 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:31 +0000 (0:00:00.019) 0:03:24.220 ***** 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:31 +0000 (0:00:00.052) 0:03:24.272 ***** 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:31 +0000 (0:00:00.019) 0:03:24.291 ***** 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:31 +0000 (0:00:00.018) 0:03:24.309 ***** 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:31 +0000 (0:00:00.018) 0:03:24.328 ***** 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:31 +0000 (0:00:00.018) 0:03:24.346 ***** 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:31 +0000 (0:00:00.017) 0:03:24.364 ***** 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:31 +0000 (0:00:00.018) 0:03:24.382 ***** 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:31 +0000 (0:00:00.022) 0:03:24.404 ***** 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:31 +0000 (0:00:00.018) 0:03:24.423 ***** 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:31 +0000 (0:00:00.018) 0:03:24.441 ***** 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:32 +0000 (0:00:00.018) 0:03:24.460 ***** 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:32 +0000 (0:00:00.018) 0:03:24.478 ***** 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:32 +0000 (0:00:00.022) 0:03:24.501 ***** 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:32 +0000 (0:00:00.018) 0:03:24.519 ***** 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:32 +0000 (0:00:00.018) 0:03:24.538 ***** 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:32 +0000 (0:00:00.018) 0:03:24.556 ***** 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:33:32 +0000 (0:00:00.268) 0:03:24.824 ***** 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:32 +0000 (0:00:00.053) 0:03:24.878 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ActiveEnterTimestampMonotonic": "1517615648", "ActiveExitTimestamp": "Thu 2023-12-07 08:33:11 UTC", "ActiveExitTimestampMonotonic": "1564160209", "ActiveState": "inactive", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:32:24 UTC", "AssertTimestampMonotonic": "1517614577", "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:32:24 UTC", "ConditionTimestampMonotonic": "1517614575", "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:33:11 UTC", "ExecMainExitTimestampMonotonic": "1564303564", "ExecMainPID": "32123", "ExecMainStartTimestamp": "Thu 2023-12-07 08:32:24 UTC", "ExecMainStartTimestampMonotonic": "1517615583", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:32:24 UTC] ; stop_time=[Thu 2023-12-07 08:33:11 UTC] ; pid=32123 ; 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:33:11 UTC", "InactiveEnterTimestampMonotonic": "1564303668", "InactiveExitTimestamp": "Thu 2023-12-07 08:32:24 UTC", "InactiveExitTimestampMonotonic": "1517615648", "InvocationID": "6fcfe1496456476da8335181f6c0ddbc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:33:11 UTC", "StateChangeTimestampMonotonic": "1564303668", "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:32 +0000 (0:00:00.345) 0:03:25.223 ***** 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:32 +0000 (0:00:00.027) 0:03:25.251 ***** 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:33:32 +0000 (0:00:00.030) 0:03:25.281 ***** 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:32 +0000 (0:00:00.105) 0:03:25.387 ***** 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.006159", "end": "2023-12-07 08:33:33.118965", "rc": 0, "start": "2023-12-07 08:33:33.112806" } 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:33 +0000 (0:00:00.218) 0:03:25.605 ***** 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.004891", "end": "2023-12-07 08:33:33.336538", "rc": 0, "start": "2023-12-07 08:33:33.331647" } 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:33 +0000 (0:00:00.212) 0:03:25.817 ***** 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:33 +0000 (0:00:00.022) 0:03:25.840 ***** 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:33:33 +0000 (0:00:00.048) 0:03:25.888 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004519", "end": "2023-12-07 08:33:33.619499", "rc": 0, "start": "2023-12-07 08:33:33.614980" } 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:33:33 +0000 (0:00:00.210) 0:03:26.099 ***** 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:33 +0000 (0:00:00.025) 0:03:26.125 ***** 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:33:33 +0000 (0:00:00.019) 0:03:26.144 ***** 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:33 +0000 (0:00:00.052) 0:03:26.197 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004231", "end": "2023-12-07 08:33:33.933579", "rc": 0, "start": "2023-12-07 08:33:33.929348" } 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:33:33 +0000 (0:00:00.217) 0:03:26.415 ***** 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:33 +0000 (0:00:00.021) 0:03:26.436 ***** 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:33:34 +0000 (0:00:00.019) 0:03:26.455 ***** 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:34 +0000 (0:00:00.024) 0:03:26.480 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005910", "end": "2023-12-07 08:33:34.298532", "rc": 0, "start": "2023-12-07 08:33:34.292622" } 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:33:34 +0000 (0:00:00.300) 0:03:26.780 ***** 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:34 +0000 (0:00:00.027) 0:03:26.807 ***** 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:33:34 +0000 (0:00:00.020) 0:03:26.827 ***** 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:34 +0000 (0:00:00.019) 0:03:26.847 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.008727", "end": "2023-12-07 08:33:34.618593", "rc": 0, "start": "2023-12-07 08:33:34.609866" } 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:33:34 +0000 (0:00:00.261) 0:03:27.109 ***** 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:34 +0000 (0:00:00.027) 0:03:27.136 ***** 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:33:34 +0000 (0:00:00.019) 0:03:27.156 ***** 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:34 +0000 (0:00:00.021) 0:03:27.177 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005021", "end": "2023-12-07 08:33:34.944410", "rc": 0, "start": "2023-12-07 08:33:34.939389" } 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:33:34 +0000 (0:00:00.249) 0:03:27.427 ***** 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:34 +0000 (0:00:00.020) 0:03:27.447 ***** 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:33:35 +0000 (0:00:00.027) 0:03:27.475 ***** 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:35 +0000 (0:00:00.061) 0:03:27.537 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937887.9660993, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937887.9670992, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 429916608, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701937887.9660993, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "2621233636", "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:33:35 +0000 (0:00:00.227) 0:03:27.764 ***** 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:35 +0000 (0:00:00.026) 0:03:27.791 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937889.2410502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701937889.2410502, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 440402368, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701937889.2410502, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "716953967", "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:33:35 +0000 (0:00:00.208) 0:03:27.999 ***** 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:35 +0000 (0:00:00.024) 0:03:28.023 ***** 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:35 +0000 (0:00:00.039) 0:03:28.063 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ActiveEnterTimestampMonotonic": "1585870431", "ActiveExitTimestamp": "Thu 2023-12-07 08:33:11 UTC", "ActiveExitTimestampMonotonic": "1564160209", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:33:32 UTC", "AssertTimestampMonotonic": "1585869578", "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:33:32 UTC", "ConditionTimestampMonotonic": "1585869577", "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": "33589", "ExecMainStartTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ExecMainStartTimestampMonotonic": "1585870375", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:33:32 UTC] ; stop_time=[n/a] ; pid=33589 ; 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:33:11 UTC", "InactiveEnterTimestampMonotonic": "1564303668", "InactiveExitTimestamp": "Thu 2023-12-07 08:33:32 UTC", "InactiveExitTimestampMonotonic": "1585870431", "InvocationID": "8fbb5705ade74ab5afba503978084c35", "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": "33589", "MemoryAccounting": "yes", "MemoryCurrent": "575934464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:33:32 UTC", "StateChangeTimestampMonotonic": "1585870431", "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": "123", "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:32 UTC", "WatchdogTimestampMonotonic": "1585870428", "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:35 +0000 (0:00:00.357) 0:03:28.420 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004487", "end": "2023-12-07 08:33:36.221488", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:36.217001" } 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:33:36 +0000 (0:00:00.293) 0:03:28.714 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.025627", "end": "2023-12-07 08:33:36.603079", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:33:36.577452" } 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:33:36 +0000 (0:00:00.401) 0:03:29.115 ***** 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:36 +0000 (0:00:00.047) 0:03:29.163 ***** 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": 21097, "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:55 +0000 (0:00:18.341) 0:03:47.505 ***** 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.026678", "end": "2023-12-07 08:33:55.257042", "rc": 0, "start": "2023-12-07 08:33:55.230364" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Stream 8) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:33:55 +0000 (0:00:00.233) 0:03:47.738 ***** 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:55 +0000 (0:00:00.024) 0:03:47.763 ***** 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:55 +0000 (0:00:00.054) 0:03:47.817 ***** 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:56 +0000 (0:00:01.428) 0:03:49.245 ***** 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:33:56 +0000 (0:00:00.037) 0:03:49.283 ***** 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:33:56 +0000 (0:00:00.029) 0:03:49.312 ***** 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:56 +0000 (0:00:00.046) 0:03:49.359 ***** 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:58 +0000 (0:00:01.350) 0:03:50.710 ***** 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:33:58 +0000 (0:00:00.030) 0:03:50.740 ***** 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:33:58 +0000 (0:00:00.028) 0:03:50.768 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004031", "end": "2023-12-07 08:33:58.493335", "rc": 0, "start": "2023-12-07 08:33:58.489304" } 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:33:58 +0000 (0:00:00.204) 0:03:50.973 ***** 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:33:58 +0000 (0:00:00.024) 0:03:50.997 ***** 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:33:58 +0000 (0:00:00.020) 0:03:51.018 ***** 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:58 +0000 (0:00:00.084) 0:03:51.103 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003922", "end": "2023-12-07 08:33:58.822151", "rc": 0, "start": "2023-12-07 08:33:58.818229" } 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:58 +0000 (0:00:00.200) 0:03:51.303 ***** 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:58 +0000 (0:00:00.025) 0:03:51.329 ***** 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:58 +0000 (0:00:00.034) 0:03:51.364 ***** 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:58 +0000 (0:00:00.021) 0:03:51.386 ***** 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:58 +0000 (0:00:00.042) 0:03:51.428 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003954", "end": "2023-12-07 08:33:59.164231", "rc": 0, "start": "2023-12-07 08:33:59.160277" } 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:33:59 +0000 (0:00:00.216) 0:03:51.645 ***** 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:59 +0000 (0:00:00.024) 0:03:51.669 ***** 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:33:59 +0000 (0:00:00.028) 0:03:51.697 ***** 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:59 +0000 (0:00:00.021) 0:03:51.719 ***** 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:59 +0000 (0:00:00.025) 0:03:51.744 ***** 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:59 +0000 (0:00:00.021) 0:03:51.765 ***** 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:59 +0000 (0:00:00.029) 0:03:51.795 ***** 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:59 +0000 (0:00:00.020) 0:03:51.815 ***** 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:59 +0000 (0:00:00.021) 0:03:51.837 ***** 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:59 +0000 (0:00:00.020) 0:03:51.857 ***** 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:33:59 +0000 (0:00:00.019) 0:03:51.877 ***** 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:33:59 +0000 (0:00:00.279) 0:03:52.157 ***** 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:33:59 +0000 (0:00:00.030) 0:03:52.187 ***** 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:33:59 +0000 (0:00:00.025) 0:03:52.212 ***** 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:33:59 +0000 (0:00:00.038) 0:03:52.251 ***** 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:33:59 +0000 (0:00:00.023) 0:03:52.274 ***** 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:33:59 +0000 (0:00:00.020) 0:03:52.295 ***** 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:33:59 +0000 (0:00:00.019) 0:03:52.315 ***** 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:33:59 +0000 (0:00:00.019) 0:03:52.335 ***** 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:33:59 +0000 (0:00:00.020) 0:03:52.355 ***** 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:33:59 +0000 (0:00:00.019) 0:03:52.375 ***** 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:33:59 +0000 (0:00:00.071) 0:03:52.447 ***** 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:34:00 +0000 (0:00:00.023) 0:03:52.470 ***** 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:34:00 +0000 (0:00:00.019) 0:03:52.489 ***** 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:34:00 +0000 (0:00:00.019) 0:03:52.509 ***** 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:34:00 +0000 (0:00:00.019) 0:03:52.529 ***** 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:34:00 +0000 (0:00:00.021) 0:03:52.550 ***** 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:34:00 +0000 (0:00:00.022) 0:03:52.573 ***** 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:34:01 +0000 (0:00:01.328) 0:03:53.902 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:34:01 +0000 (0:00:00.061) 0:03:53.963 ***** 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:34:01 +0000 (0:00:00.021) 0:03:53.984 ***** 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:34:01 +0000 (0:00:00.032) 0:03:54.017 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:34:01 +0000 (0:00:00.044) 0:03:54.061 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:34:03 +0000 (0:00:01.464) 0:03:55.526 ***** 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:34:03 +0000 (0:00:00.036) 0:03:55.563 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:34:03 +0000 (0:00:00.035) 0:03:55.598 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:34:03 +0000 (0:00:00.133) 0:03:55.732 ***** 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:34:03 +0000 (0:00:00.045) 0:03:55.777 ***** 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:34:03 +0000 (0:00:00.050) 0:03:55.827 ***** 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:34:03 +0000 (0:00:00.024) 0:03:55.852 ***** 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:34:03 +0000 (0:00:00.023) 0:03:55.876 ***** 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:34:03 +0000 (0:00:00.025) 0:03:55.901 ***** 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:34:03 +0000 (0:00:00.030) 0:03:55.931 ***** 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:34:06 +0000 (0:00:02.799) 0:03:58.730 ***** 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:34:06 +0000 (0:00:00.027) 0:03:58.758 ***** 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.005182", "end": "2023-12-07 08:34:06.490220", "rc": 0, "start": "2023-12-07 08:34:06.485038" } 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:34:06 +0000 (0:00:00.228) 0:03:58.987 ***** 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:34:27 +0000 (0:00:20.498) 0:04:19.485 ***** 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:34:27 +0000 (0:00:00.030) 0:04:19.515 ***** 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:34:27 +0000 (0:00:00.019) 0:04:19.535 ***** 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:34:27 +0000 (0:00:00.021) 0:04:19.556 ***** 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:34:27 +0000 (0:00:00.041) 0:04:19.598 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937886.90914, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937886.8761413, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 329253120, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937886.8761413, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "2700361505", "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:34:27 +0000 (0:00:00.285) 0:04:19.883 ***** 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:34:27 +0000 (0:00:00.219) 0:04:20.103 ***** 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:34:27 +0000 (0:00:00.029) 0:04:20.132 ***** 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:34:27 +0000 (0:00:00.050) 0:04:20.183 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002521", "end": "2023-12-07 08:34:27.925677", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:27.923156" } 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:34:27 +0000 (0:00:00.223) 0:04:20.406 ***** 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.119543", "end": "2023-12-07 08:34:28.249634", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:28.130091" } 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:34:28 +0000 (0:00:00.337) 0:04:20.744 ***** 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:34:28 +0000 (0:00:00.032) 0:04:20.776 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938017.6571, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938017.6551, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 331350276, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938017.6551, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "70711192", "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:34:28 +0000 (0:00:00.207) 0:04:20.984 ***** 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:34:28 +0000 (0:00:00.206) 0:04:21.190 ***** 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:34:28 +0000 (0:00:00.029) 0:04:21.220 ***** 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:34:28 +0000 (0:00:00.032) 0:04:21.252 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002615", "end": "2023-12-07 08:34:28.973778", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:28.971163" } 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:34:29 +0000 (0:00:00.204) 0:04:21.457 ***** 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.120006", "end": "2023-12-07 08:34:29.298087", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:29.178081" } 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:34:29 +0000 (0:00:00.324) 0:04:21.782 ***** 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:34:29 +0000 (0:00:00.020) 0:04:21.802 ***** 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:34:29 +0000 (0:00:00.019) 0:04:21.822 ***** 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:34:32 +0000 (0:00:02.838) 0:04:24.661 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:45 UTC", "ActiveEnterTimestampMonotonic": "38868725", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus.service network.target systemd-sysctl.service basic.target system.slice polkit.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37383621", "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": "37383620", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service tlp.service auto-cpufreq.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": "701", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37384521", "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": "37384584", "InvocationID": "fbd2ffbe97d54b779e91de055db08c2f", "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": "701", "MemoryAccounting": "yes", "MemoryCurrent": "22745088", "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": "system.slice dbus.service sysinit.target dbus.socket", "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:45 UTC", "StateChangeTimestampMonotonic": "38868725", "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:45 UTC", "WatchdogTimestampMonotonic": "38868723", "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:34:32 +0000 (0:00:00.446) 0:04:25.107 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114623", "end": "2023-12-07 08:34:32.937164", "rc": 0, "start": "2023-12-07 08:34:32.822541" } 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:34:32 +0000 (0:00:00.310) 0:04:25.418 ***** 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:34:32 +0000 (0:00:00.019) 0:04:25.438 ***** 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:34:33 +0000 (0:00:00.020) 0:04:25.458 ***** 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:34:33 +0000 (0:00:00.019) 0:04:25.478 ***** 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:34:33 +0000 (0:00:00.199) 0:04:25.677 ***** 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:34:35 +0000 (0:00:02.733) 0:04:28.411 ***** 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:34:36 +0000 (0:00:00.045) 0:04:28.457 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ActiveEnterTimestampMonotonic": "1585870431", "ActiveExitTimestamp": "Thu 2023-12-07 08:33:11 UTC", "ActiveExitTimestampMonotonic": "1564160209", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:33:32 UTC", "AssertTimestampMonotonic": "1585869578", "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:33:32 UTC", "ConditionTimestampMonotonic": "1585869577", "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": "33589", "ExecMainStartTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ExecMainStartTimestampMonotonic": "1585870375", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:33:32 UTC] ; stop_time=[n/a] ; pid=33589 ; 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:33:11 UTC", "InactiveEnterTimestampMonotonic": "1564303668", "InactiveExitTimestamp": "Thu 2023-12-07 08:33:32 UTC", "InactiveExitTimestampMonotonic": "1585870431", "InvocationID": "8fbb5705ade74ab5afba503978084c35", "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": "33589", "MemoryAccounting": "yes", "MemoryCurrent": "791592960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:33:32 UTC", "StateChangeTimestampMonotonic": "1585870431", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:33:32 UTC", "WatchdogTimestampMonotonic": "1585870428", "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:34:36 +0000 (0:00:00.337) 0:04:28.794 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002504", "end": "2023-12-07 08:34:36.518915", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:36.516411" } 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:34:36 +0000 (0:00:00.208) 0:04:29.002 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002532", "end": "2023-12-07 08:34:36.724676", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:36.722144" } 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:34:36 +0000 (0:00:00.202) 0:04:29.205 ***** 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:34:36 +0000 (0:00:00.031) 0:04:29.236 ***** 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": 21097, "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:34:37 +0000 (0:00:01.215) 0:04:30.452 ***** 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:34:38 +0000 (0:00:00.226) 0:04:30.678 ***** 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:33:32 UTC", "ActiveEnterTimestampMonotonic": "1585870431", "ActiveExitTimestamp": "Thu 2023-12-07 08:33:11 UTC", "ActiveExitTimestampMonotonic": "1564160209", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:33:32 UTC", "AssertTimestampMonotonic": "1585869578", "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:33:32 UTC", "ConditionTimestampMonotonic": "1585869577", "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": "33589", "ExecMainStartTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ExecMainStartTimestampMonotonic": "1585870375", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:33:32 UTC] ; stop_time=[n/a] ; pid=33589 ; 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:33:11 UTC", "InactiveEnterTimestampMonotonic": "1564303668", "InactiveExitTimestamp": "Thu 2023-12-07 08:33:32 UTC", "InactiveExitTimestampMonotonic": "1585870431", "InvocationID": "8fbb5705ade74ab5afba503978084c35", "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": "33589", "MemoryAccounting": "yes", "MemoryCurrent": "794636288", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:33:32 UTC", "StateChangeTimestampMonotonic": "1585870431", "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": "193", "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:32 UTC", "WatchdogTimestampMonotonic": "1585870428", "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:34:38 +0000 (0:00:00.506) 0:04:31.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:34:40 +0000 (0:00:01.462) 0:04:32.648 ***** 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:34:47 +0000 (0:00:07.214) 0:04:39.863 ***** 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:34:47 +0000 (0:00:00.018) 0:04:39.882 ***** 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:34:47 +0000 (0:00:00.019) 0:04:39.901 ***** 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.004699", "end": "2023-12-07 08:34:47.623678", "rc": 0, "start": "2023-12-07 08:34:47.618979" } 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:34:47 +0000 (0:00:00.201) 0:04:40.103 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ActiveEnterTimestampMonotonic": "1585870431", "ActiveExitTimestamp": "Thu 2023-12-07 08:34:38 UTC", "ActiveExitTimestampMonotonic": "1651666602", "ActiveState": "inactive", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:33:32 UTC", "AssertTimestampMonotonic": "1585869578", "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:33:32 UTC", "ConditionTimestampMonotonic": "1585869577", "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:34:38 UTC", "ExecMainExitTimestampMonotonic": "1651821458", "ExecMainPID": "33589", "ExecMainStartTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ExecMainStartTimestampMonotonic": "1585870375", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:33:32 UTC] ; stop_time=[Thu 2023-12-07 08:34:38 UTC] ; pid=33589 ; 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:34:38 UTC", "InactiveEnterTimestampMonotonic": "1651821562", "InactiveExitTimestamp": "Thu 2023-12-07 08:33:32 UTC", "InactiveExitTimestampMonotonic": "1585870431", "InvocationID": "8fbb5705ade74ab5afba503978084c35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:34:38 UTC", "StateChangeTimestampMonotonic": "1651821562", "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:34:47 +0000 (0:00:00.337) 0:04:40.441 ***** 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:34:49 +0000 (0:00:01.326) 0:04:41.767 ***** 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:34:56 +0000 (0:00:07.051) 0:04:48.818 ***** 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:34:56 +0000 (0:00:00.034) 0:04:48.852 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002645", "end": "2023-12-07 08:34:56.570374", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:56.567729" } 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:34:56 +0000 (0:00:00.197) 0:04:49.050 ***** 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.123169", "end": "2023-12-07 08:34:56.893509", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:56.770340" } 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:34:56 +0000 (0:00:00.325) 0:04:49.376 ***** 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:34:56 +0000 (0:00:00.019) 0:04:49.395 ***** 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:34:57 +0000 (0:00:00.062) 0:04:49.458 ***** 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:34:57 +0000 (0:00:00.021) 0:04:49.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 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:34:57 +0000 (0:00:00.033) 0:04:49.513 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002739", "end": "2023-12-07 08:34:57.230311", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:57.227572" } 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:34:57 +0000 (0:00:00.196) 0:04:49.710 ***** 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.122818", "end": "2023-12-07 08:34:57.551022", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:57.428204" } 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:34:57 +0000 (0:00:00.326) 0:04:50.037 ***** 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:34:57 +0000 (0:00:00.020) 0:04:50.057 ***** 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:34:57 +0000 (0:00:00.021) 0:04:50.078 ***** 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:34:57 +0000 (0:00:00.044) 0:04:50.123 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002588", "end": "2023-12-07 08:34:57.839305", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:57.836717" } 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:34:57 +0000 (0:00:00.195) 0:04:50.319 ***** 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.122691", "end": "2023-12-07 08:34:58.161691", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:34:58.039000" } 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:34:58 +0000 (0:00:00.331) 0:04:50.650 ***** 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:34:58 +0000 (0:00:00.019) 0:04:50.669 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:35:01 +0000 (0:00:03.417) 0:04:54.087 ***** 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:35:06 +0000 (0:00:04.435) 0:04:58.523 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002616", "end": "2023-12-07 08:35:06.244474", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:06.241858" } 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:35:06 +0000 (0:00:00.212) 0:04:58.735 ***** 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:35:06 +0000 (0:00:00.027) 0:04:58.762 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.119723", "end": "2023-12-07 08:35:06.633141", "rc": 0, "start": "2023-12-07 08:35:06.513418" } 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:35:06 +0000 (0:00:00.359) 0:04:59.122 ***** 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:35:06 +0000 (0:00:00.087) 0:04:59.210 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002707", "end": "2023-12-07 08:35:06.931848", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:06.929141" } 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:35:06 +0000 (0:00:00.214) 0:04:59.424 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting 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:35:07 +0000 (0:00:00.049) 0:04:59.473 ***** 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:35:07 +0000 (0:00:00.027) 0:04:59.501 ***** 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:35:07 +0000 (0:00:00.072) 0:04:59.574 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002717", "end": "2023-12-07 08:35:07.330472", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:07.327755" } 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:35:07 +0000 (0:00:00.239) 0:04:59.813 ***** 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.122300", "end": "2023-12-07 08:35:07.658405", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:07.536105" } 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:35:07 +0000 (0:00:00.335) 0:05:00.149 ***** 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:35:07 +0000 (0:00:00.038) 0:05:00.188 ***** 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:35:07 +0000 (0:00:00.066) 0:05:00.254 ***** 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:35:07 +0000 (0:00:00.032) 0:05:00.286 ***** 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:35:07 +0000 (0:00:00.036) 0:05:00.323 ***** 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:35:07 +0000 (0:00:00.040) 0:05:00.364 ***** 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:35:07 +0000 (0:00:00.040) 0:05:00.404 ***** 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:35:07 +0000 (0:00:00.042) 0:05:00.446 ***** 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:35:08 +0000 (0:00:00.030) 0:05:00.477 ***** 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:35:08 +0000 (0:00:00.119) 0:05:00.596 ***** 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:35:08 +0000 (0:00:00.040) 0:05:00.636 ***** 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:35:08 +0000 (0:00:00.059) 0:05:00.696 ***** 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:35:08 +0000 (0:00:00.026) 0:05:00.722 ***** 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:35:08 +0000 (0:00:00.026) 0:05:00.749 ***** 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:35:08 +0000 (0:00:00.022) 0:05:00.772 ***** 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:35:08 +0000 (0:00:00.043) 0:05:00.815 ***** 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:35:08 +0000 (0:00:00.025) 0:05:00.841 ***** 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:35:08 +0000 (0:00:00.030) 0:05:00.872 ***** 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:35:08 +0000 (0:00:00.023) 0:05:00.895 ***** 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:35:08 +0000 (0:00:00.019) 0:05:00.915 ***** 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:35:08 +0000 (0:00:00.020) 0:05:00.935 ***** 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:35:08 +0000 (0:00:00.019) 0:05:00.955 ***** 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:35:08 +0000 (0:00:00.028) 0:05:00.983 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.003 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.021 ***** 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:35:08 +0000 (0:00:00.017) 0:05:01.039 ***** 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:35:08 +0000 (0:00:00.057) 0:05:01.097 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.117 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.136 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.155 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.174 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.193 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.211 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.231 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.249 ***** 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:35:08 +0000 (0:00:00.024) 0:05:01.274 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.293 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.313 ***** 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:35:08 +0000 (0:00:00.023) 0:05:01.336 ***** 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:35:08 +0000 (0:00:00.018) 0:05:01.355 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.374 ***** 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:35:08 +0000 (0:00:00.019) 0:05:01.393 ***** 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:35:08 +0000 (0:00:00.017) 0:05:01.411 ***** 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:35:09 +0000 (0:00:00.060) 0:05:01.472 ***** 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:35:09 +0000 (0:00:00.019) 0:05:01.492 ***** 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:35:09 +0000 (0:00:00.019) 0:05:01.511 ***** 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:35:09 +0000 (0:00:00.019) 0:05:01.530 ***** 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:35:09 +0000 (0:00:00.019) 0:05:01.549 ***** 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:35:09 +0000 (0:00:00.018) 0:05:01.567 ***** 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:35:09 +0000 (0:00:00.018) 0:05:01.586 ***** 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:35:09 +0000 (0:00:00.022) 0:05:01.608 ***** 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:35:09 +0000 (0:00:00.018) 0:05:01.627 ***** 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:35:09 +0000 (0:00:00.019) 0:05:01.647 ***** 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:35:09 +0000 (0:00:00.018) 0:05:01.665 ***** 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:35:09 +0000 (0:00:00.020) 0:05:01.685 ***** 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:35:09 +0000 (0:00:00.025) 0:05:01.711 ***** 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:35:09 +0000 (0:00:00.020) 0:05:01.731 ***** 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:35:09 +0000 (0:00:00.021) 0:05:01.752 ***** 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:35:09 +0000 (0:00:00.022) 0:05:01.775 ***** 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:35:09 +0000 (0:00:00.306) 0:05:02.081 ***** 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:35:09 +0000 (0:00:00.067) 0:05:02.149 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ActiveEnterTimestampMonotonic": "1585870431", "ActiveExitTimestamp": "Thu 2023-12-07 08:34:38 UTC", "ActiveExitTimestampMonotonic": "1651666602", "ActiveState": "inactive", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:33:32 UTC", "AssertTimestampMonotonic": "1585869578", "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:33:32 UTC", "ConditionTimestampMonotonic": "1585869577", "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:34:38 UTC", "ExecMainExitTimestampMonotonic": "1651821458", "ExecMainPID": "33589", "ExecMainStartTimestamp": "Thu 2023-12-07 08:33:32 UTC", "ExecMainStartTimestampMonotonic": "1585870375", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:33:32 UTC] ; stop_time=[Thu 2023-12-07 08:34:38 UTC] ; pid=33589 ; 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:34:38 UTC", "InactiveEnterTimestampMonotonic": "1651821562", "InactiveExitTimestamp": "Thu 2023-12-07 08:33:32 UTC", "InactiveExitTimestampMonotonic": "1585870431", "InvocationID": "8fbb5705ade74ab5afba503978084c35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:34:38 UTC", "StateChangeTimestampMonotonic": "1651821562", "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:35:10 +0000 (0:00:00.377) 0:05:02.526 ***** 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:35:10 +0000 (0:00:00.025) 0:05:02.551 ***** 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:35:10 +0000 (0:00:00.044) 0:05:02.596 ***** 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:35:10 +0000 (0:00:00.324) 0:05:02.920 ***** 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:35:10 +0000 (0:00:00.032) 0:05:02.952 ***** 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:35:10 +0000 (0:00:00.027) 0:05:02.980 ***** 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:35:10 +0000 (0:00:00.041) 0:05:03.021 ***** 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:35:10 +0000 (0:00:00.083) 0:05:03.104 ***** 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:35:10 +0000 (0:00:00.021) 0:05:03.126 ***** 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:35:10 +0000 (0:00:00.023) 0:05:03.149 ***** 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:35:10 +0000 (0:00:00.023) 0:05:03.173 ***** 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:35:10 +0000 (0:00:00.023) 0:05:03.196 ***** 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:35:10 +0000 (0:00:00.029) 0:05:03.226 ***** 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:35:10 +0000 (0:00:00.036) 0:05:03.262 ***** 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:35:10 +0000 (0:00:00.028) 0:05:03.291 ***** 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:35:10 +0000 (0:00:00.024) 0:05:03.315 ***** 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:35:10 +0000 (0:00:00.030) 0:05:03.346 ***** 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:35:10 +0000 (0:00:00.021) 0:05:03.368 ***** 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:35:10 +0000 (0:00:00.021) 0:05:03.389 ***** 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:35:10 +0000 (0:00:00.023) 0:05:03.412 ***** 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:35:12 +0000 (0:00:01.591) 0:05:05.004 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:35:12 +0000 (0:00:00.231) 0:05:05.236 ***** 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:35:12 +0000 (0:00:00.022) 0:05:05.258 ***** 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:35:12 +0000 (0:00:00.026) 0:05:05.285 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:35:12 +0000 (0:00:00.039) 0:05:05.324 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:35:13 +0000 (0:00:00.623) 0:05:05.948 ***** 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:35:13 +0000 (0:00:00.024) 0:05:05.973 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:35:13 +0000 (0:00:00.031) 0:05:06.005 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:35:13 +0000 (0:00:00.032) 0:05:06.037 ***** 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:35:13 +0000 (0:00:00.055) 0:05:06.093 ***** 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:35:13 +0000 (0:00:00.075) 0:05:06.168 ***** 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:35:13 +0000 (0:00:00.107) 0:05:06.276 ***** 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:35:13 +0000 (0:00:00.069) 0:05:06.346 ***** 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:35:13 +0000 (0:00:00.069) 0:05:06.415 ***** 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:35:13 +0000 (0:00:00.035) 0:05:06.451 ***** 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:35:17 +0000 (0:00:03.048) 0:05:09.499 ***** 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:35:17 +0000 (0:00:00.023) 0:05:09.523 ***** 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.005681", "end": "2023-12-07 08:35:17.256787", "rc": 0, "start": "2023-12-07 08:35:17.251106" } 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:35:17 +0000 (0:00:00.214) 0:05:09.738 ***** 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:35:49 +0000 (0:00:32.633) 0:05:42.371 ***** 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:35:49 +0000 (0:00:00.031) 0:05:42.403 ***** 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:35:49 +0000 (0:00:00.037) 0:05:42.441 ***** 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:35:50 +0000 (0:00:00.020) 0:05:42.461 ***** 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:35:50 +0000 (0:00:00.070) 0:05:42.531 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937886.90914, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937886.8761413, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 329253120, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937886.8761413, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "2700361505", "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:35:50 +0000 (0:00:00.203) 0:05:42.734 ***** 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:35:50 +0000 (0:00:00.206) 0:05:42.940 ***** 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:35:50 +0000 (0:00:00.055) 0:05:42.996 ***** 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:35:50 +0000 (0:00:00.047) 0:05:43.044 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002736", "end": "2023-12-07 08:35:50.767084", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:50.764348" } 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:35:50 +0000 (0:00:00.203) 0:05:43.248 ***** 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:35:50 +0000 (0:00:00.027) 0:05:43.276 ***** 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:35:50 +0000 (0:00:00.024) 0:05:43.300 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938114.954356, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938114.9643555, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 331350276, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938114.9643555, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "70711192", "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:35:51 +0000 (0:00:00.207) 0:05:43.508 ***** 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:35:51 +0000 (0:00:00.207) 0:05:43.715 ***** 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:35:51 +0000 (0:00:00.028) 0:05:43.743 ***** 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:35:51 +0000 (0:00:00.076) 0:05:43.820 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002687", "end": "2023-12-07 08:35:51.541417", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:51.538730" } 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:35:51 +0000 (0:00:00.202) 0:05:44.022 ***** 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:35:51 +0000 (0:00:00.035) 0:05:44.057 ***** 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:35:51 +0000 (0:00:00.023) 0:05:44.081 ***** 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:35:51 +0000 (0:00:00.022) 0:05:44.104 ***** 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:35:54 +0000 (0:00:02.769) 0:05:46.873 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:07:45 UTC", "ActiveEnterTimestampMonotonic": "38868725", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus.service network.target systemd-sysctl.service basic.target system.slice polkit.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:07:44 UTC", "AssertTimestampMonotonic": "37383621", "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": "37383620", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service tlp.service auto-cpufreq.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": "701", "ExecMainStartTimestamp": "Thu 2023-12-07 08:07:44 UTC", "ExecMainStartTimestampMonotonic": "37384521", "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": "37384584", "InvocationID": "fbd2ffbe97d54b779e91de055db08c2f", "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": "701", "MemoryAccounting": "yes", "MemoryCurrent": "22687744", "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": "system.slice dbus.service sysinit.target dbus.socket", "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:45 UTC", "StateChangeTimestampMonotonic": "38868725", "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:45 UTC", "WatchdogTimestampMonotonic": "38868723", "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:35:54 +0000 (0:00:00.340) 0:05:47.214 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114431", "end": "2023-12-07 08:35:55.041504", "rc": 0, "start": "2023-12-07 08:35:54.927073" } 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:35:55 +0000 (0:00:00.308) 0:05:47.522 ***** 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:35:55 +0000 (0:00:00.018) 0:05:47.541 ***** 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:35:55 +0000 (0:00:00.019) 0:05:47.560 ***** 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:35:55 +0000 (0:00:00.018) 0:05:47.579 ***** 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:35:55 +0000 (0:00:00.201) 0:05:47.780 ***** 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:35:59 +0000 (0:00:03.780) 0:05:51.561 ***** 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:35:59 +0000 (0:00:00.036) 0:05:51.598 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:35:10 UTC", "ActiveEnterTimestampMonotonic": "1683172722", "ActiveExitTimestamp": "Thu 2023-12-07 08:34:38 UTC", "ActiveExitTimestampMonotonic": "1651666602", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:35:10 UTC", "AssertTimestampMonotonic": "1683171810", "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:35:10 UTC", "ConditionTimestampMonotonic": "1683171809", "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": "35803", "ExecMainStartTimestamp": "Thu 2023-12-07 08:35:10 UTC", "ExecMainStartTimestampMonotonic": "1683172662", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:35:10 UTC] ; stop_time=[n/a] ; pid=35803 ; 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:34:38 UTC", "InactiveEnterTimestampMonotonic": "1651821562", "InactiveExitTimestamp": "Thu 2023-12-07 08:35:10 UTC", "InactiveExitTimestampMonotonic": "1683172722", "InvocationID": "dbe0576da78f47cbb0e4844e98c7be3e", "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": "35803", "MemoryAccounting": "yes", "MemoryCurrent": "712531968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:35:10 UTC", "StateChangeTimestampMonotonic": "1683172722", "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": "173", "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:35:10 UTC", "WatchdogTimestampMonotonic": "1683172719", "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:35:59 +0000 (0:00:00.334) 0:05:51.932 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002662", "end": "2023-12-07 08:35:59.650006", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:59.647344" } 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:35:59 +0000 (0:00:00.205) 0:05:52.137 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002745", "end": "2023-12-07 08:35:59.859228", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:35:59.856483" } 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:35:59 +0000 (0:00:00.296) 0:05:52.434 ***** 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:36:00 +0000 (0:00:00.041) 0:05:52.475 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 16962, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:36:01 +0000 (0:00:01.207) 0:05:53.682 ***** 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:36:01 +0000 (0:00:00.230) 0:05:53.912 ***** 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:35:10 UTC", "ActiveEnterTimestampMonotonic": "1683172722", "ActiveExitTimestamp": "Thu 2023-12-07 08:34:38 UTC", "ActiveExitTimestampMonotonic": "1651666602", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:35:10 UTC", "AssertTimestampMonotonic": "1683171810", "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:35:10 UTC", "ConditionTimestampMonotonic": "1683171809", "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": "35803", "ExecMainStartTimestamp": "Thu 2023-12-07 08:35:10 UTC", "ExecMainStartTimestampMonotonic": "1683172662", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:35:10 UTC] ; stop_time=[n/a] ; pid=35803 ; 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:34:38 UTC", "InactiveEnterTimestampMonotonic": "1651821562", "InactiveExitTimestamp": "Thu 2023-12-07 08:35:10 UTC", "InactiveExitTimestampMonotonic": "1683172722", "InvocationID": "dbe0576da78f47cbb0e4844e98c7be3e", "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": "35803", "MemoryAccounting": "yes", "MemoryCurrent": "713703424", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:35:10 UTC", "StateChangeTimestampMonotonic": "1683172722", "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": "173", "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:35:10 UTC", "WatchdogTimestampMonotonic": "1683172719", "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:36:01 +0000 (0:00:00.529) 0:05:54.442 ***** 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:36:03 +0000 (0:00:01.319) 0:05:55.762 ***** 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:36:08 +0000 (0:00:05.624) 0:06:01.387 ***** 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:36:08 +0000 (0:00:00.040) 0:06:01.427 ***** 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:36:09 +0000 (0:00:00.053) 0:06:01.481 ***** 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.004748", "end": "2023-12-07 08:36:09.220341", "rc": 0, "start": "2023-12-07 08:36:09.215593" } 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:36:09 +0000 (0:00:00.222) 0:06:01.704 ***** 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:36:09 +0000 (0:00:00.024) 0:06:01.728 ***** 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:36:10 +0000 (0:00:01.325) 0:06:03.053 ***** 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:36:10 +0000 (0:00:00.024) 0:06:03.078 ***** 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:36:10 +0000 (0:00:00.109) 0:06:03.187 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002703", "end": "2023-12-07 08:36:10.916197", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:10.913494" } 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:36:10 +0000 (0:00:00.214) 0:06:03.402 ***** 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:36:10 +0000 (0:00:00.030) 0:06:03.432 ***** 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:36:11 +0000 (0:00:00.043) 0:06:03.476 ***** 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:36:11 +0000 (0:00:00.026) 0:06:03.502 ***** 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:36:11 +0000 (0:00:00.032) 0:06:03.534 ***** 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:36:11 +0000 (0:00:00.034) 0:06:03.569 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002713", "end": "2023-12-07 08:36:11.289296", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:11.286583" } 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:36:11 +0000 (0:00:00.217) 0:06:03.787 ***** 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:36:11 +0000 (0:00:00.044) 0:06:03.831 ***** 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:36:11 +0000 (0:00:00.035) 0:06:03.867 ***** 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:36:11 +0000 (0:00:00.033) 0:06:03.900 ***** 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:36:11 +0000 (0:00:00.043) 0:06:03.943 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002698", "end": "2023-12-07 08:36:11.686989", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:11.684291" } 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:36:11 +0000 (0:00:00.226) 0:06:04.170 ***** 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:36:11 +0000 (0:00:00.028) 0:06:04.198 ***** 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:36:11 +0000 (0:00:00.022) 0:06:04.220 ***** 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:36:15 +0000 (0:00:03.945) 0:06:08.165 ***** 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:36:19 +0000 (0:00:03.762) 0:06:11.928 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002771", "end": "2023-12-07 08:36:19.646585", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:36:19.643814" } 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:36:19 +0000 (0:00:00.196) 0:06:12.125 ***** 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:36:19 +0000 (0:00:00.025) 0:06:12.150 ***** 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:36:19 +0000 (0:00:00.026) 0:06:12.177 ***** 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:36:19 +0000 (0:00:00.039) 0:06:12.216 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002635", "end": "2023-12-07 08:36:19.933330", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:19.930695" } 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:36:19 +0000 (0:00:00.198) 0:06:12.414 ***** 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:36:19 +0000 (0:00:00.027) 0:06:12.441 ***** 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:36:20 +0000 (0:00:00.021) 0:06:12.462 ***** 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:36:20 +0000 (0:00:00.035) 0:06:12.498 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002508", "end": "2023-12-07 08:36:20.219087", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:20.216579" } 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:36:20 +0000 (0:00:00.210) 0:06:12.709 ***** 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:36:20 +0000 (0:00:00.027) 0:06:12.736 ***** 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:36:20 +0000 (0:00:00.023) 0:06:12.759 ***** 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:36:20 +0000 (0:00:00.025) 0:06:12.785 ***** 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:36:20 +0000 (0:00:00.022) 0:06:12.808 ***** 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:36:20 +0000 (0:00:00.130) 0:06:12.938 ***** 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:36:20 +0000 (0:00:00.021) 0:06:12.959 ***** 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:36:20 +0000 (0:00:00.020) 0:06:12.980 ***** 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:36:20 +0000 (0:00:00.020) 0:06:13.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 : 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:36:20 +0000 (0:00:00.025) 0:06:13.026 ***** 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:36:20 +0000 (0:00:00.022) 0:06:13.048 ***** 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:36:20 +0000 (0:00:00.018) 0:06:13.067 ***** 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:36:20 +0000 (0:00:00.019) 0:06:13.087 ***** 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:36:20 +0000 (0:00:00.023) 0:06:13.110 ***** 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:36:20 +0000 (0:00:00.022) 0:06:13.133 ***** 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:36:20 +0000 (0:00:00.020) 0:06:13.153 ***** 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:36:20 +0000 (0:00:00.019) 0:06:13.172 ***** 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:36:20 +0000 (0:00:00.019) 0:06:13.192 ***** 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:36:20 +0000 (0:00:00.020) 0:06:13.212 ***** 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:36:20 +0000 (0:00:00.019) 0:06:13.231 ***** 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:36:20 +0000 (0:00:00.019) 0:06:13.251 ***** 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:36:20 +0000 (0:00:00.019) 0:06:13.271 ***** 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:36:20 +0000 (0:00:00.018) 0:06:13.290 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : 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:36:20 +0000 (0:00:00.077) 0:06:13.368 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:36:20 +0000 (0:00:00.020) 0:06:13.388 ***** 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:36:20 +0000 (0:00:00.026) 0:06:13.414 ***** 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:36:20 +0000 (0:00:00.020) 0:06:13.434 ***** 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:36:21 +0000 (0:00:00.019) 0:06:13.454 ***** 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:36:21 +0000 (0:00:00.021) 0:06:13.475 ***** 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:36:21 +0000 (0:00:00.023) 0:06:13.499 ***** 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:36:21 +0000 (0:00:00.020) 0:06:13.519 ***** 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:36:21 +0000 (0:00:00.027) 0:06:13.546 ***** 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:36:21 +0000 (0:00:00.019) 0:06:13.566 ***** 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:36:21 +0000 (0:00:00.020) 0:06:13.587 ***** 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:36:21 +0000 (0:00:00.021) 0:06:13.608 ***** 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:36:21 +0000 (0:00:00.023) 0:06:13.632 ***** 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:36:21 +0000 (0:00:00.027) 0:06:13.659 ***** 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:36:21 +0000 (0:00:00.019) 0:06:13.679 ***** 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:36:21 +0000 (0:00:00.024) 0:06:13.704 ***** 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:36:21 +0000 (0:00:00.028) 0:06:13.732 ***** 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:36:21 +0000 (0:00:00.029) 0:06:13.761 ***** 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:36:21 +0000 (0:00:00.101) 0:06:13.862 ***** 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:36:21 +0000 (0:00:00.028) 0:06:13.891 ***** 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:36:21 +0000 (0:00:00.030) 0:06:13.921 ***** 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:36:21 +0000 (0:00:00.022) 0:06:13.943 ***** 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:36:21 +0000 (0:00:00.021) 0:06:13.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:1163 Thursday 07 December 2023 08:36:21 +0000 (0:00:00.023) 0:06:13.988 ***** 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:36:21 +0000 (0:00:00.019) 0:06:14.007 ***** 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:36:21 +0000 (0:00:00.019) 0:06:14.027 ***** 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:36:21 +0000 (0:00:00.019) 0:06:14.047 ***** 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:36:21 +0000 (0:00:00.019) 0:06:14.066 ***** 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:36:21 +0000 (0:00:00.030) 0:06:14.097 ***** 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:36:21 +0000 (0:00:00.018) 0:06:14.116 ***** 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:36:21 +0000 (0:00:00.023) 0:06:14.139 ***** 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:36:21 +0000 (0:00:00.019) 0:06:14.159 ***** 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:36:21 +0000 (0:00:00.019) 0:06:14.178 ***** 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:36:21 +0000 (0:00:00.029) 0:06:14.208 ***** 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:36:21 +0000 (0:00:00.021) 0:06:14.229 ***** 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:36:21 +0000 (0:00:00.023) 0:06:14.253 ***** 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:36:21 +0000 (0:00:00.093) 0:06:14.347 ***** 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:36:22 +0000 (0:00:00.290) 0:06:14.637 ***** 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:36:22 +0000 (0:00:00.023) 0:06:14.661 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:35:10 UTC", "ActiveEnterTimestampMonotonic": "1683172722", "ActiveExitTimestamp": "Thu 2023-12-07 08:36:01 UTC", "ActiveExitTimestampMonotonic": "1734909460", "ActiveState": "inactive", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:35:10 UTC", "AssertTimestampMonotonic": "1683171810", "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:35:10 UTC", "ConditionTimestampMonotonic": "1683171809", "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:36:01 UTC", "ExecMainExitTimestampMonotonic": "1735079470", "ExecMainPID": "35803", "ExecMainStartTimestamp": "Thu 2023-12-07 08:35:10 UTC", "ExecMainStartTimestampMonotonic": "1683172662", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:35:10 UTC] ; stop_time=[Thu 2023-12-07 08:36:01 UTC] ; pid=35803 ; 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:36:01 UTC", "InactiveEnterTimestampMonotonic": "1735079556", "InactiveExitTimestamp": "Thu 2023-12-07 08:35:10 UTC", "InactiveExitTimestampMonotonic": "1683172722", "InvocationID": "dbe0576da78f47cbb0e4844e98c7be3e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:36:01 UTC", "StateChangeTimestampMonotonic": "1735079556", "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:36:22 +0000 (0:00:00.421) 0:06:15.083 ***** 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:36:22 +0000 (0:00:00.047) 0:06:15.131 ***** 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:36:22 +0000 (0:00:00.045) 0:06:15.177 ***** 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:36:22 +0000 (0:00:00.222) 0:06:15.399 ***** 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.006588", "end": "2023-12-07 08:36:23.140411", "rc": 0, "start": "2023-12-07 08:36:23.133823" } 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:36:23 +0000 (0:00:00.223) 0:06:15.623 ***** 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:01.005896", "end": "2023-12-07 08:36:24.375549", "rc": 0, "start": "2023-12-07 08:36:23.369653" } 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:36:24 +0000 (0:00:01.234) 0:06:16.857 ***** 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:36:24 +0000 (0:00:00.032) 0:06:16.889 ***** 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:36:24 +0000 (0:00:00.050) 0:06:16.940 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004490", "end": "2023-12-07 08:36:24.668768", "rc": 0, "start": "2023-12-07 08:36:24.664278" } 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:36:24 +0000 (0:00:00.299) 0:06:17.239 ***** 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:36:24 +0000 (0:00:00.035) 0:06:17.274 ***** 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:36:24 +0000 (0:00:00.021) 0:06:17.296 ***** 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:36:24 +0000 (0:00:00.021) 0:06:17.317 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004038", "end": "2023-12-07 08:36:25.040356", "rc": 0, "start": "2023-12-07 08:36:25.036318" } 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:36:25 +0000 (0:00:00.202) 0:06:17.519 ***** 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:36:25 +0000 (0:00:00.021) 0:06:17.541 ***** 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:36:25 +0000 (0:00:00.022) 0:06:17.563 ***** 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:36:25 +0000 (0:00:00.026) 0:06:17.590 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003961", "end": "2023-12-07 08:36:25.315161", "rc": 0, "start": "2023-12-07 08:36:25.311200" } 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:36:25 +0000 (0:00:00.205) 0:06:17.795 ***** 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:36:25 +0000 (0:00:00.027) 0:06:17.822 ***** 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:36:25 +0000 (0:00:00.020) 0:06:17.842 ***** 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:36:25 +0000 (0:00:00.019) 0:06:17.862 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005017", "end": "2023-12-07 08:36:25.598396", "rc": 0, "start": "2023-12-07 08:36:25.593379" } 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:36:25 +0000 (0:00:00.216) 0:06:18.079 ***** 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:36:25 +0000 (0:00:00.027) 0:06:18.107 ***** 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:36:25 +0000 (0:00:00.020) 0:06:18.127 ***** 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:36:25 +0000 (0:00:00.019) 0:06:18.147 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005349", "end": "2023-12-07 08:36:25.965313", "rc": 0, "start": "2023-12-07 08:36:25.959964" } 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:36:25 +0000 (0:00:00.302) 0:06:18.449 ***** 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:36:26 +0000 (0:00:00.020) 0:06:18.469 ***** 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:36:26 +0000 (0:00:00.088) 0:06:18.558 ***** 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:36:26 +0000 (0:00:00.020) 0:06:18.579 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701937886.90914, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701937886.8761413, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 329253120, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701937886.8761413, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "2700361505", "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:36:26 +0000 (0:00:00.323) 0:06:18.902 ***** 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:36:26 +0000 (0:00:00.039) 0:06:18.942 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938185.6686447, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938185.6896439, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 331350276, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938185.6896439, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "70711192", "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:36:26 +0000 (0:00:00.304) 0:06:19.246 ***** 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:36:26 +0000 (0:00:00.028) 0:06:19.274 ***** 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:36:26 +0000 (0:00:00.041) 0:06:19.316 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:36:22 UTC", "ActiveEnterTimestampMonotonic": "1755720581", "ActiveExitTimestamp": "Thu 2023-12-07 08:36:01 UTC", "ActiveExitTimestampMonotonic": "1734909460", "ActiveState": "active", "After": "-.mount sysinit.target basic.target network.target systemd-journald.socket system.slice auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:36:22 UTC", "AssertTimestampMonotonic": "1755719724", "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:36:22 UTC", "ConditionTimestampMonotonic": "1755719723", "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": "37078", "ExecMainStartTimestamp": "Thu 2023-12-07 08:36:22 UTC", "ExecMainStartTimestampMonotonic": "1755720529", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:36:22 UTC] ; stop_time=[n/a] ; pid=37078 ; 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:36:01 UTC", "InactiveEnterTimestampMonotonic": "1735079556", "InactiveExitTimestamp": "Thu 2023-12-07 08:36:22 UTC", "InactiveExitTimestampMonotonic": "1755720581", "InvocationID": "fafaa97f3f554a09a0f677f31cac64b6", "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": "37078", "MemoryAccounting": "yes", "MemoryCurrent": "655101952", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:36:22 UTC", "StateChangeTimestampMonotonic": "1755720581", "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": "164", "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:36:22 UTC", "WatchdogTimestampMonotonic": "1755720578", "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:36:27 +0000 (0:00:00.424) 0:06:19.741 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004408", "end": "2023-12-07 08:36:27.501244", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:27.496836" } 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:36:27 +0000 (0:00:00.256) 0:06:19.997 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003133", "end": "2023-12-07 08:36:27.794019", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:36:27.790886" } 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:36:27 +0000 (0:00:00.300) 0:06:20.297 ***** 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:36:27 +0000 (0:00:00.048) 0:06:20.346 ***** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 16962, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:36:46 +0000 (0:00:18.242) 0:06:38.589 ***** 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.027944", "end": "2023-12-07 08:36:46.333277", "rc": 0, "start": "2023-12-07 08:36:46.305333" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Stream 8) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:36:46 +0000 (0:00:00.227) 0:06:38.816 ***** 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:36:46 +0000 (0:00:00.023) 0:06:38.839 ***** 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:36:46 +0000 (0:00:00.109) 0:06:38.949 ***** 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:36:47 +0000 (0:00:01.313) 0:06:40.262 ***** 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:36:47 +0000 (0:00:00.021) 0:06:40.284 ***** 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:36:47 +0000 (0:00:00.029) 0:06:40.313 ***** 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:36:47 +0000 (0:00:00.046) 0:06:40.359 ***** 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:36:49 +0000 (0:00:01.325) 0:06:41.685 ***** 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:36:49 +0000 (0:00:00.029) 0:06:41.714 ***** 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:36:49 +0000 (0:00:00.028) 0:06:41.742 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004008", "end": "2023-12-07 08:36:49.464302", "rc": 0, "start": "2023-12-07 08:36:49.460294" } 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:36:49 +0000 (0:00:00.201) 0:06:41.944 ***** 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:36:49 +0000 (0:00:00.021) 0:06:41.965 ***** 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:36:49 +0000 (0:00:00.036) 0:06:42.002 ***** 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:36:49 +0000 (0:00:00.110) 0:06:42.112 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004139", "end": "2023-12-07 08:36:49.833674", "rc": 0, "start": "2023-12-07 08:36:49.829535" } 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:36:49 +0000 (0:00:00.224) 0:06:42.337 ***** 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:36:49 +0000 (0:00:00.048) 0:06:42.386 ***** 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:36:50 +0000 (0:00:00.070) 0:06:42.456 ***** 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:36:50 +0000 (0:00:00.046) 0:06:42.503 ***** 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:36:50 +0000 (0:00:00.047) 0:06:42.551 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003990", "end": "2023-12-07 08:36:50.278970", "rc": 0, "start": "2023-12-07 08:36:50.274980" } 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:36:50 +0000 (0:00:00.233) 0:06:42.784 ***** 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:36:50 +0000 (0:00:00.060) 0:06:42.844 ***** 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:36:50 +0000 (0:00:00.048) 0:06:42.893 ***** 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:36:50 +0000 (0:00:00.024) 0:06:42.917 ***** 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:36:50 +0000 (0:00:00.044) 0:06:42.962 ***** 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:36:50 +0000 (0:00:00.057) 0:06:43.019 ***** 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:36:50 +0000 (0:00:00.042) 0:06:43.062 ***** 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:36:50 +0000 (0:00:00.044) 0:06:43.106 ***** 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:36:50 +0000 (0:00:00.035) 0:06:43.142 ***** 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:36:50 +0000 (0:00:00.078) 0:06:43.220 ***** 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:36:50 +0000 (0:00:00.024) 0:06:43.245 ***** 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:36:51 +0000 (0:00:00.292) 0:06:43.538 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002766", "end": "2023-12-07 08:36:51.309275", "rc": 0, "start": "2023-12-07 08:36:51.306509" } 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_2022.yml:20 Thursday 07 December 2023 08:36:51 +0000 (0:00:00.258) 0:06:43.796 ***** 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:36:51 +0000 (0:00:00.042) 0:06:43.839 ***** 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:36:52 +0000 (0:00:01.364) 0:06:45.203 ***** 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:36:52 +0000 (0:00:00.035) 0:06:45.238 ***** 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:36:52 +0000 (0:00:00.024) 0:06:45.263 ***** 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:36:52 +0000 (0:00:00.053) 0:06:45.317 ***** 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:36:52 +0000 (0:00:00.046) 0:06:45.364 ***** 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:36:53 +0000 (0:00:00.112) 0:06:45.476 ***** 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:36:53 +0000 (0:00:00.238) 0:06:45.715 ***** 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:36:53 +0000 (0:00:00.057) 0:06:45.772 ***** 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:36:56 +0000 (0:00:02.796) 0:06:48.569 ***** 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:36:56 +0000 (0:00:00.027) 0:06:48.596 ***** 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:36:56 +0000 (0:00:00.026) 0:06:48.622 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:23:11 UTC", "ActiveEnterTimestampMonotonic": "964674636", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.socket sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:23:10 UTC", "AssertTimestampMonotonic": "964045808", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:23:10 UTC", "ConditionTimestampMonotonic": "964045807", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service iptables.service shutdown.target nftables.service ip6tables.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": "10367", "ExecMainStartTimestamp": "Thu 2023-12-07 08:23:10 UTC", "ExecMainStartTimestampMonotonic": "964047299", "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:23:10 UTC", "InactiveExitTimestampMonotonic": "964047352", "InvocationID": "6d924b743e1e4ee1aacbb2b86ef75d03", "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": "10367", "MemoryAccounting": "yes", "MemoryCurrent": "44220416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:23:11 UTC", "StateChangeTimestampMonotonic": "964674636", "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:23:11 UTC", "WatchdogTimestampMonotonic": "964674633", "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:36:56 +0000 (0:00:00.338) 0:06:48.961 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:23:11 UTC", "ActiveEnterTimestampMonotonic": "964674636", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.socket sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:23:10 UTC", "AssertTimestampMonotonic": "964045808", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:23:10 UTC", "ConditionTimestampMonotonic": "964045807", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service iptables.service shutdown.target nftables.service ip6tables.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": "10367", "ExecMainStartTimestamp": "Thu 2023-12-07 08:23:10 UTC", "ExecMainStartTimestampMonotonic": "964047299", "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:23:10 UTC", "InactiveExitTimestampMonotonic": "964047352", "InvocationID": "6d924b743e1e4ee1aacbb2b86ef75d03", "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": "10367", "MemoryAccounting": "yes", "MemoryCurrent": "44220416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:23:11 UTC", "StateChangeTimestampMonotonic": "964674636", "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:23:11 UTC", "WatchdogTimestampMonotonic": "964674633", "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:36:57 +0000 (0:00:01.338) 0:06:50.300 ***** 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:36:57 +0000 (0:00:00.027) 0:06:50.327 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.113 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:36:58 +0000 (0:00:00.254) 0:06:50.582 ***** 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:36:58 +0000 (0:00:00.024) 0:06:50.606 ***** 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:36:58 +0000 (0:00:00.023) 0:06:50.630 ***** 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:36:58 +0000 (0:00:00.025) 0:06:50.656 ***** 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:36:58 +0000 (0:00:00.033) 0:06:50.689 ***** 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:36:58 +0000 (0:00:00.021) 0:06:50.711 ***** 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:36:58 +0000 (0:00:00.020) 0:06:50.731 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.113 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:36:58 +0000 (0:00:00.270) 0:06:51.002 ***** 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:36:58 +0000 (0:00:00.025) 0:06:51.028 ***** 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:36:58 +0000 (0:00:00.094) 0:06:51.122 ***** 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:36:58 +0000 (0:00:00.025) 0:06:51.148 ***** 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:36:58 +0000 (0:00:00.023) 0:06:51.171 ***** 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:36:58 +0000 (0:00:00.257) 0:06:51.429 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-21.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: libatomic-8.5.0-21.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: mssql-server-16.0.4095.4-1.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 08:37:04 +0000 (0:00:05.235) 0:06:56.664 ***** 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.011596", "end": "2023-12-07 08:37:04.391371", "rc": 0, "start": "2023-12-07 08:37:04.379775" } 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/10860d83-c614-488f-bbb7-9e73c8a56721' 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/INetCache/IE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/Content.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies/ESE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History/History.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/tempdb2.ndf' removed '/var/opt/mssql/data/tempdb3.ndf' removed '/var/opt/mssql/data/tempdb4.ndf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464114839660000.xel' removed '/var/opt/mssql/log/system_health_0_133464114860350000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464114902820000.xel' removed '/var/opt/mssql/log/system_health_0_133464114921010000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464115477500000.xel' removed '/var/opt/mssql/log/system_health_0_133464115493860000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464115960370000.xel' removed '/var/opt/mssql/log/system_health_0_133464115973910000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464116160290000.xel' removed '/var/opt/mssql/log/system_health_0_133464116176420000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464116836730000.xel' removed '/var/opt/mssql/log/system_health_0_133464116850870000.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_133464116927150000.xel' removed '/var/opt/mssql/log/system_health_0_133464116941280000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464117131600000.xel' removed '/var/opt/mssql/log/system_health_0_133464117149460000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464117666010000.xel' removed '/var/opt/mssql/log/system_health_0_133464117682140000.xel' removed '/var/opt/mssql/log/log_8.trc' removed '/var/opt/mssql/log/errorlog.6' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464117856870000.xel' removed '/var/opt/mssql/log/system_health_0_133464117874350000.xel' removed '/var/opt/mssql/log/log_9.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/mssql.conf' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed '/var/opt/mssql/FTData/tsara.xml' removed '/var/opt/mssql/FTData/tsben.xml' removed '/var/opt/mssql/FTData/tsbgr.xml' removed '/var/opt/mssql/FTData/tscat.xml' removed '/var/opt/mssql/FTData/tschs.xml' removed '/var/opt/mssql/FTData/tscht.xml' removed '/var/opt/mssql/FTData/tscze.xml' removed '/var/opt/mssql/FTData/tsdan.xml' removed '/var/opt/mssql/FTData/tsdeu.xml' removed '/var/opt/mssql/FTData/tseng.xml' removed '/var/opt/mssql/FTData/tsenu.xml' removed '/var/opt/mssql/FTData/tsesn.xml' removed '/var/opt/mssql/FTData/tsfra.xml' removed '/var/opt/mssql/FTData/tsgrk.xml' removed '/var/opt/mssql/FTData/tsguj.xml' removed '/var/opt/mssql/FTData/tsheb.xml' removed '/var/opt/mssql/FTData/tshin.xml' removed '/var/opt/mssql/FTData/tshrv.xml' removed '/var/opt/mssql/FTData/tsind.xml' removed '/var/opt/mssql/FTData/tsisl.xml' removed '/var/opt/mssql/FTData/tsita.xml' removed '/var/opt/mssql/FTData/tsjpn.xml' removed '/var/opt/mssql/FTData/tskan.xml' removed '/var/opt/mssql/FTData/tskor.xml' removed '/var/opt/mssql/FTData/tslth.xml' removed '/var/opt/mssql/FTData/tslvi.xml' removed '/var/opt/mssql/FTData/tsmal.xml' removed '/var/opt/mssql/FTData/tsmar.xml' removed '/var/opt/mssql/FTData/tsmsl.xml' removed '/var/opt/mssql/FTData/tsglobal.xml' removed '/var/opt/mssql/FTData/tsnld.xml' removed '/var/opt/mssql/FTData/tsnor.xml' removed '/var/opt/mssql/FTData/tspan.xml' removed '/var/opt/mssql/FTData/tsplk.xml' removed '/var/opt/mssql/FTData/tsptb.xml' removed '/var/opt/mssql/FTData/tsptg.xml' removed '/var/opt/mssql/FTData/tsrom.xml' removed '/var/opt/mssql/FTData/tsrus.xml' removed '/var/opt/mssql/FTData/tssky.xml' removed '/var/opt/mssql/FTData/tsslv.xml' removed '/var/opt/mssql/FTData/tssrb.xml' removed '/var/opt/mssql/FTData/tssrl.xml' removed '/var/opt/mssql/FTData/tssve.xml' removed '/var/opt/mssql/FTData/tstam.xml' removed '/var/opt/mssql/FTData/tstel.xml' removed '/var/opt/mssql/FTData/tstha.xml' removed '/var/opt/mssql/FTData/tstrk.xml' removed '/var/opt/mssql/FTData/tsukr.xml' removed '/var/opt/mssql/FTData/tsurd.xml' removed '/var/opt/mssql/FTData/tsvit.xml' removed directory '/var/opt/mssql/FTData/FilterData' removed directory '/var/opt/mssql/FTData' removed directory '/var/opt/mssql' removed directory '/opt/mssql/misc' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2022.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' removed directory '/tmp/mssql_data' removed directory '/tmp/mssql_log' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 08:37:04 +0000 (0:00:00.211) 0:06:56.876 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.009815", "end": "2023-12-07 08:37:04.599737", "rc": 0, "start": "2023-12-07 08:37:04.589922" } 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:37:04 +0000 (0:00:00.234) 0:06:57.110 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 40.74s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Gather system services facts --------- 32.63s /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 mssql-server-fts -- 29.41s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 fedora.linux_system_roles.mssql : Gather system services facts --------- 25.52s /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 --------- 23.67s /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 --------- 20.50s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wait for mssql-server to prepare for client connections ---------------- 18.34s /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.24s /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Ensure the package powershell --------- 9.63s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 8.03s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Change the password of sa user -------- 7.21s /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 ----------- 7.05s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 fedora.linux_system_roles.mssql : Change the password of sa user -------- 6.98s /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.62s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Remove related packages ------------------------------------------------- 5.24s /WORKDIR/git-storage-selinuxlgqbtjtz/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Ensure the package powershell --------- 4.44s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.01s /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 mssql-server-fts --- 3.95s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 3.85s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.82s /WORKDIR/git-storage-selinuxlgqbtjtz/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---