# 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-selinuxw7itwrrh/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2019.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_idempotency_2019.yml:14 Wednesday 06 December 2023 13:56:44 +0000 (0:00:00.035) 0:00:00.035 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:2 Wednesday 06 December 2023 13:56:44 +0000 (0:00:00.010) 0:00:00.045 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 13:56:44 +0000 (0:00:00.009) 0:00:00.054 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.490) 0:00:00.545 **** 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-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.017) 0:00:00.563 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:5 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.017) 0:00:00.580 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.081) 0:00:00.662 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.009) 0:00:00.672 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.017) 0:00:00.690 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.025) 0:00:00.715 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.008) 0:00:00.724 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.011) 0:00:00.735 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.009) 0:00:00.744 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.009) 0:00:00.753 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.009) 0:00:00.762 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.009) 0:00:00.772 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.009) 0:00:00.781 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.016) 0:00:00.798 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.013) 0:00:00.811 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.014) 0:00:00.826 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.016) 0:00:00.842 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.016) 0:00:00.858 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 13:56:45 +0000 (0:00:00.016) 0:00:00.875 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 13:56:46 +0000 (0:00:01.396) 0:00:02.271 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.032) 0:00:02.304 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.024) 0:00:02.328 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.027) 0:00:02.356 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.037) 0:00:02.394 **** changed: [sut] => { "attempts": 1, "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.689) 0:00:03.083 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.018) 0:00:03.102 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.017) 0:00:03.119 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 13:56:47 +0000 (0:00:00.017) 0:00:03.137 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 13:56:48 +0000 (0:00:00.291) 0:00:03.428 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:56:48 +0000 (0:00:00.041) 0:00:03.470 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 13:56:48 +0000 (0:00:00.022) 0:00:03.492 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 13:56:48 +0000 (0:00:00.023) 0:00:03.515 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 13:56:48 +0000 (0:00:00.023) 0:00:03.539 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 13:56:48 +0000 (0:00:00.024) 0:00:03.563 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: mssql-server-15.0.4335.1-6.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:57:34 +0000 (0:00:45.969) 0:00:49.532 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:57:34 +0000 (0:00:00.017) 0:00:49.550 **** 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.005641", "end": "2023-12-06 13:57:34.518918", "rc": 0, "start": "2023-12-06 13:57:34.513277" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 13:57:34 +0000 (0:00:00.276) 0:00:49.826 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 13:57:48 +0000 (0:00:13.776) 0:01:03.603 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 13:57:48 +0000 (0:00:00.033) 0:01:03.636 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 13:57:48 +0000 (0:00:00.022) 0:01:03.659 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 13:57:54 +0000 (0:00:05.669) 0:01:09.329 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/data', 'mode': '0700', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/log', 'mode': '0700', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/data] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:57:54 +0000 (0:00:00.049) 0:01:09.379 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:57:54 +0000 (0:00:00.312) 0:01:09.691 **** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 13:57:54 +0000 (0:00:00.336) 0:01:10.027 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 13:57:54 +0000 (0:00:00.032) 0:01:10.060 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:57:54 +0000 (0:00:00.029) 0:01:10.089 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003208", "end": "2023-12-06 13:57:55.003978", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:57:55.000770" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:57:55 +0000 (0:00:00.249) 0:01:10.339 **** 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/data" ], "delta": "0:00:00.129650", "end": "2023-12-06 13:57:55.395510", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:57:55.265860" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:57:55 +0000 (0:00:00.374) 0:01:10.714 **** 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/log] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:57:55 +0000 (0:00:00.021) 0:01:10.735 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:57:55 +0000 (0:00:00.283) 0:01:11.019 **** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 13:57:55 +0000 (0:00:00.254) 0:01:11.273 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 13:57:56 +0000 (0:00:00.034) 0:01:11.308 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:57:56 +0000 (0:00:00.040) 0:01:11.348 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003263", "end": "2023-12-06 13:57:56.302619", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:57:56.299356" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:57:56 +0000 (0:00:00.262) 0:01:11.610 **** 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/log" ], "delta": "0:00:00.127435", "end": "2023-12-06 13:57:56.650230", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:57:56.522795" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:57:56 +0000 (0:00:00.365) 0:01:11.975 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 13:57:56 +0000 (0:00:00.023) 0:01:11.999 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 13:57:56 +0000 (0:00:00.027) 0:01:12.026 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.21.0-1.el8_9.noarch" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 13:57:58 +0000 (0:00:02.140) 0:01:14.166 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:50:51 UTC", "ActiveEnterTimestampMonotonic": "13066088", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket systemd-journald.socket polkit.service sysinit.target dbus.service system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:50:50 UTC", "AssertTimestampMonotonic": "12116200", "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": "Wed 2023-12-06 13:50:50 UTC", "ConditionTimestampMonotonic": "12116199", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service auto-cpufreq.service tlp.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "691", "ExecMainStartTimestamp": "Wed 2023-12-06 13:50:50 UTC", "ExecMainStartTimestampMonotonic": "12117430", "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": "Wed 2023-12-06 13:50:50 UTC", "InactiveExitTimestampMonotonic": "12117475", "InvocationID": "01f07ff3fea349a5a331442b9c95e6c4", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "691", "MemoryAccounting": "yes", "MemoryCurrent": "19529728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.service 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": "Wed 2023-12-06 13:50:51 UTC", "StateChangeTimestampMonotonic": "13066088", "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": "45699", "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": "Wed 2023-12-06 13:50:51 UTC", "WatchdogTimestampMonotonic": "13066085", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 13:57:59 +0000 (0:00:00.534) 0:01:14.701 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.141277", "end": "2023-12-06 13:57:59.731614", "rc": 0, "start": "2023-12-06 13:57:59.590337" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 13:57:59 +0000 (0:00:00.338) 0:01:15.040 **** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:03.200607", "end": "2023-12-06 13:58:03.139760", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:57:59.939153" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 13:58:03 +0000 (0:00:03.410) 0:01:18.451 **** skipping: [sut] => { "changed": false, "false_condition": "\"Cannot find profile 'throughput-performance'\" in __mssql_tuned_adm_profile.stderr", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 13:58:03 +0000 (0:00:00.017) 0:01:18.468 **** skipping: [sut] => { "changed": false, "false_condition": "\"Cannot find profile 'throughput-performance'\" in __mssql_tuned_adm_profile.stderr", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 13:58:03 +0000 (0:00:00.017) 0:01:18.486 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 13:58:03 +0000 (0:00:00.227) 0:01:18.714 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 13:58:09 +0000 (0:00:05.947) 0:01:24.662 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.020) 0:01:24.682 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.019) 0:01:24.702 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.019) 0:01:24.722 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.019) 0:01:24.741 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.020) 0:01:24.762 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.021) 0:01:24.783 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.035) 0:01:24.819 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.025) 0:01:24.845 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.020) 0:01:24.865 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.020) 0:01:24.885 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.020) 0:01:24.906 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.019) 0:01:24.925 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.034) 0:01:24.959 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002595", "end": "2023-12-06 13:58:09.855521", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:09.852926" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:58:09 +0000 (0:00:00.202) 0:01:25.162 **** 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.111031", "end": "2023-12-06 13:58:10.169337", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:10.058306" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.319) 0:01:25.481 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.017) 0:01:25.499 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.049) 0:01:25.548 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.025) 0:01:25.574 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.030) 0:01:25.604 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002874", "end": "2023-12-06 13:58:10.500735", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:10.497861" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.203) 0:01:25.807 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.111013", "end": "2023-12-06 13:58:10.814051", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:10.703038" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.319) 0:01:26.126 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.016) 0:01:26.143 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.024) 0:01:26.167 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:58:10 +0000 (0:00:00.035) 0:01:26.202 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002637", "end": "2023-12-06 13:58:11.097474", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:11.094837" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:58:11 +0000 (0:00:00.202) 0:01:26.405 **** 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.112358", "end": "2023-12-06 13:58:11.414079", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:11.301721" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:58:11 +0000 (0:00:00.320) 0:01:26.725 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 13:58:11 +0000 (0:00:00.020) 0:01:26.746 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-15.0.4335.1-6.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 13:58:36 +0000 (0:00:25.341) 0:01:52.087 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 13:58:45 +0000 (0:00:08.330) 0:02:00.418 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002852", "end": "2023-12-06 13:58:45.310227", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:45.307375" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 13:58:45 +0000 (0:00:00.197) 0:02:00.616 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.111119", "end": "2023-12-06 13:58:45.623382", "rc": 0, "start": "2023-12-06 13:58:45.512263" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 13:58:45 +0000 (0:00:00.314) 0:02:00.930 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 13:58:45 +0000 (0:00:00.027) 0:02:00.958 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:58:45 +0000 (0:00:00.056) 0:02:01.014 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002826", "end": "2023-12-06 13:58:45.912381", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:45.909555" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:58:45 +0000 (0:00:00.205) 0:02:01.219 **** 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.111793", "end": "2023-12-06 13:58:46.230727", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:46.118934" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.321) 0:02:01.540 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.022) 0:02:01.562 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.035) 0:02:01.598 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002763", "end": "2023-12-06 13:58:46.498921", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:46.496158" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.207) 0:02:01.806 **** 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.113973", "end": "2023-12-06 13:58:46.835518", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:46.721545" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.340) 0:02:02.146 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.023) 0:02:02.170 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.020) 0:02:02.190 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.020) 0:02:02.211 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.021) 0:02:02.233 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.020) 0:02:02.253 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:58:46 +0000 (0:00:00.020) 0:02:02.273 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.019) 0:02:02.293 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.020) 0:02:02.313 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.024) 0:02:02.337 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.024) 0:02:02.362 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.024) 0:02:02.386 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.088) 0:02:02.474 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.021) 0:02:02.496 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.018) 0:02:02.514 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.531 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.549 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.566 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.582 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.015) 0:02:02.598 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.615 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.632 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.648 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.665 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.681 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.698 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.715 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:02.731 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.018) 0:02:02.750 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.018) 0:02:02.768 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.042) 0:02:02.811 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.829 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.847 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.865 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.882 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.020) 0:02:02.903 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.920 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.018) 0:02:02.939 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.021) 0:02:02.961 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:02.978 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.018) 0:02:02.997 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:03.014 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:03.031 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:03.047 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:03.064 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.018) 0:02:03.083 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:03.099 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:03.117 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.016) 0:02:03.134 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.040) 0:02:03.174 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.022) 0:02:03.196 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:03.214 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:03.231 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:03.249 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 13:58:47 +0000 (0:00:00.017) 0:02:03.266 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.021) 0:02:03.288 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.018) 0:02:03.306 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.019) 0:02:03.325 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.019) 0:02:03.345 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.321) 0:02:03.666 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.018) 0:02:03.685 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:57:53 UTC", "ActiveEnterTimestampMonotonic": "435506044", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice -.mount sysinit.target network.target basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:57:53 UTC", "AssertTimestampMonotonic": "435504690", "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": "Wed 2023-12-06 13:57:53 UTC", "ConditionTimestampMonotonic": "435504688", "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": "6902", "ExecMainStartTimestamp": "Wed 2023-12-06 13:57:53 UTC", "ExecMainStartTimestampMonotonic": "435505955", "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": "990", "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": "Wed 2023-12-06 13:57:53 UTC", "InactiveExitTimestampMonotonic": "435506044", "InvocationID": "ed694a5103874ba59166e192b0961df5", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6902", "MemoryAccounting": "yes", "MemoryCurrent": "693141504", "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": "Wed 2023-12-06 13:57:53 UTC", "StateChangeTimestampMonotonic": "435506044", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "148", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:57:53 UTC", "WatchdogTimestampMonotonic": "435506041", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 13:58:48 +0000 (0:00:00.578) 0:02:04.264 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:58:49 +0000 (0:00:00.017) 0:02:04.281 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:22 Wednesday 06 December 2023 13:58:49 +0000 (0:00:00.027) 0:02:04.308 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 06 December 2023 13:58:49 +0000 (0:00:00.089) 0:02:04.398 **** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 06 December 2023 13:58:49 +0000 (0:00:00.281) 0:02:04.679 **** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 06 December 2023 13:58:49 +0000 (0:00:00.220) 0:02:04.900 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:25 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.489) 0:02:05.389 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.163) 0:02:05.552 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.029) 0:02:05.582 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.024) 0:02:05.606 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.036) 0:02:05.642 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.025) 0:02:05.667 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.026) 0:02:05.694 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.019) 0:02:05.713 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.018) 0:02:05.732 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.017) 0:02:05.750 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.048) 0:02:05.798 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.020) 0:02:05.818 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.021) 0:02:05.840 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.018) 0:02:05.859 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.018) 0:02:05.877 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.020) 0:02:05.897 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.023) 0:02:05.920 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 13:58:50 +0000 (0:00:00.021) 0:02:05.941 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 13:58:52 +0000 (0:00:01.657) 0:02:07.599 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 13:58:52 +0000 (0:00:00.058) 0:02:07.657 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 13:58:52 +0000 (0:00:00.021) 0:02:07.679 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 13:58:52 +0000 (0:00:00.022) 0:02:07.702 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 13:58:52 +0000 (0:00:00.038) 0:02:07.740 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 13:58:53 +0000 (0:00:01.467) 0:02:09.208 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 13:58:53 +0000 (0:00:00.020) 0:02:09.229 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.054) 0:02:09.283 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.028) 0:02:09.312 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.030) 0:02:09.343 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.020) 0:02:09.363 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.019) 0:02:09.383 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.019) 0:02:09.402 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.020) 0:02:09.422 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 13:58:54 +0000 (0:00:00.019) 0:02:09.442 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:58:55 +0000 (0:00:01.294) 0:02:10.737 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:58:55 +0000 (0:00:00.019) 0:02:10.756 **** 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:01.006723", "end": "2023-12-06 13:58:56.655164", "rc": 0, "start": "2023-12-06 13:58:55.648441" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 13:58:56 +0000 (0:00:01.206) 0:02:11.963 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 13:59:01 +0000 (0:00:04.584) 0:02:16.547 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.027) 0:02:16.574 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.019) 0:02:16.594 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.017) 0:02:16.612 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/data] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.068) 0:02:16.681 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871074.717592, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871074.7185922, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 25508962, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871074.717592, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "969289097", "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/data] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.202) 0:02:16.883 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.205) 0:02:17.088 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.026) 0:02:17.115 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:01 +0000 (0:00:00.031) 0:02:17.146 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002762", "end": "2023-12-06 13:59:02.035311", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:02.032549" } STDOUT: defaultdatadir = /tmp/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.197) 0:02:17.343 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.024) 0:02:17.367 **** 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/log] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.019) 0:02:17.387 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871075.96061, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871075.9616098, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 67109514, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871075.96061, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "3109224670", "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/log] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.202) 0:02:17.589 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.221) 0:02:17.811 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.026) 0:02:17.837 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.031) 0:02:17.869 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002910", "end": "2023-12-06 13:59:02.761471", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:02.758561" } STDOUT: defaultlogdir = /tmp/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.200) 0:02:18.069 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.023) 0:02:18.093 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.018) 0:02:18.111 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 13:59:02 +0000 (0:00:00.052) 0:02:18.163 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 13:59:04 +0000 (0:00:01.247) 0:02:19.411 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:50:51 UTC", "ActiveEnterTimestampMonotonic": "13066088", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service sysinit.target system.slice systemd-journald.socket network.target dbus.socket polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:50:50 UTC", "AssertTimestampMonotonic": "12116200", "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": "Wed 2023-12-06 13:50:50 UTC", "ConditionTimestampMonotonic": "12116199", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service cpupower.service shutdown.target 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": "691", "ExecMainStartTimestamp": "Wed 2023-12-06 13:50:50 UTC", "ExecMainStartTimestampMonotonic": "12117430", "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": "Wed 2023-12-06 13:50:50 UTC", "InactiveExitTimestampMonotonic": "12117475", "InvocationID": "01f07ff3fea349a5a331442b9c95e6c4", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "691", "MemoryAccounting": "yes", "MemoryCurrent": "20701184", "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": "Wed 2023-12-06 13:50:51 UTC", "StateChangeTimestampMonotonic": "13066088", "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": "45699", "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": "Wed 2023-12-06 13:50:51 UTC", "WatchdogTimestampMonotonic": "13066085", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 13:59:04 +0000 (0:00:00.356) 0:02:19.767 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118899", "end": "2023-12-06 13:59:04.780490", "rc": 0, "start": "2023-12-06 13:59:04.661591" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 13:59:04 +0000 (0:00:00.321) 0:02:20.089 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 13:59:04 +0000 (0:00:00.019) 0:02:20.108 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 13:59:04 +0000 (0:00:00.018) 0:02:20.127 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 13:59:04 +0000 (0:00:00.018) 0:02:20.146 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 13:59:05 +0000 (0:00:00.206) 0:02:20.352 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 13:59:07 +0000 (0:00:02.220) 0:02:22.573 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:59:07 +0000 (0:00:00.034) 0:02:22.607 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ActiveEnterTimestampMonotonic": "490604326", "ActiveExitTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ActiveExitTimestampMonotonic": "490368143", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:58:48 UTC", "AssertTimestampMonotonic": "490603205", "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": "Wed 2023-12-06 13:58:48 UTC", "ConditionTimestampMonotonic": "490603204", "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": "8153", "ExecMainStartTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ExecMainStartTimestampMonotonic": "490604276", "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": "990", "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": "Wed 2023-12-06 13:58:48 UTC", "InactiveEnterTimestampMonotonic": "490602150", "InactiveExitTimestamp": "Wed 2023-12-06 13:58:48 UTC", "InactiveExitTimestampMonotonic": "490604326", "InvocationID": "b4c200335dc34a0b85d94f7bcb2bfaef", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8153", "MemoryAccounting": "yes", "MemoryCurrent": "831799296", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:58:48 UTC", "StateChangeTimestampMonotonic": "490604326", "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": "167", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:58:48 UTC", "WatchdogTimestampMonotonic": "490604323", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:59:07 +0000 (0:00:00.335) 0:02:22.943 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002900", "end": "2023-12-06 13:59:07.835376", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:07.832476" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:59:07 +0000 (0:00:00.200) 0:02:23.143 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002720", "end": "2023-12-06 13:59:08.033897", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:08.031177" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:59:08 +0000 (0:00:00.203) 0:02:23.347 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 13:59:08 +0000 (0:00:00.029) 0:02:23.376 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 10380, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 13:59:09 +0000 (0:00:01.303) 0:02:24.680 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 13:59:09 +0000 (0:00:00.232) 0:02:24.913 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ActiveEnterTimestampMonotonic": "490604326", "ActiveExitTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ActiveExitTimestampMonotonic": "490368143", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:58:48 UTC", "AssertTimestampMonotonic": "490603205", "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": "Wed 2023-12-06 13:58:48 UTC", "ConditionTimestampMonotonic": "490603204", "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": "8153", "ExecMainStartTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ExecMainStartTimestampMonotonic": "490604276", "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": "990", "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": "Wed 2023-12-06 13:58:48 UTC", "InactiveEnterTimestampMonotonic": "490602150", "InactiveExitTimestamp": "Wed 2023-12-06 13:58:48 UTC", "InactiveExitTimestampMonotonic": "490604326", "InvocationID": "b4c200335dc34a0b85d94f7bcb2bfaef", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8153", "MemoryAccounting": "yes", "MemoryCurrent": "762589184", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:58:48 UTC", "StateChangeTimestampMonotonic": "490604326", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:58:48 UTC", "WatchdogTimestampMonotonic": "490604323", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 13:59:10 +0000 (0:00:00.615) 0:02:25.528 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:59:11 +0000 (0:00:01.268) 0:02:26.797 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 13:59:17 +0000 (0:00:05.763) 0:02:32.561 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 13:59:17 +0000 (0:00:00.019) 0:02:32.580 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 13:59:17 +0000 (0:00:00.018) 0:02:32.599 **** 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:01.006012", "end": "2023-12-06 13:59:18.493080", "rc": 0, "start": "2023-12-06 13:59:17.487068" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 13:59:18 +0000 (0:00:01.204) 0:02:33.803 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 13:59:18 +0000 (0:00:00.021) 0:02:33.825 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 13:59:19 +0000 (0:00:01.277) 0:02:35.103 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 13:59:19 +0000 (0:00:00.026) 0:02:35.129 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:19 +0000 (0:00:00.035) 0:02:35.165 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003225", "end": "2023-12-06 13:59:20.069889", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:20.066664" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.215) 0:02:35.380 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.075) 0:02:35.455 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.022) 0:02:35.478 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.020) 0:02:35.499 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.021) 0:02:35.521 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.033) 0:02:35.554 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003230", "end": "2023-12-06 13:59:20.450276", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:20.447046" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.205) 0:02:35.759 **** 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.117302", "end": "2023-12-06 13:59:20.773770", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:20.656468" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.324) 0:02:36.084 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.019) 0:02:36.104 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.018) 0:02:36.122 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:20 +0000 (0:00:00.034) 0:02:36.157 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003359", "end": "2023-12-06 13:59:21.054094", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:21.050735" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:21 +0000 (0:00:00.216) 0:02:36.373 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:21 +0000 (0:00:00.024) 0:02:36.398 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 13:59:21 +0000 (0:00:00.024) 0:02:36.423 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 13:59:22 +0000 (0:00:01.222) 0:02:37.645 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 13:59:23 +0000 (0:00:01.203) 0:02:38.849 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002845", "end": "2023-12-06 13:59:23.739651", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:23.736806" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 13:59:23 +0000 (0:00:00.226) 0:02:39.076 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 13:59:23 +0000 (0:00:00.021) 0:02:39.097 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 13:59:23 +0000 (0:00:00.019) 0:02:39.116 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:23 +0000 (0:00:00.032) 0:02:39.149 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002722", "end": "2023-12-06 13:59:24.041111", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:24.038389" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.199) 0:02:39.349 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.025) 0:02:39.374 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:39.394 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.033) 0:02:39.427 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002890", "end": "2023-12-06 13:59:24.317133", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:24.314243" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.196) 0:02:39.624 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.025) 0:02:39.649 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.020) 0:02:39.670 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:39.689 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.021) 0:02:39.711 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.022) 0:02:39.733 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.021) 0:02:39.754 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.060) 0:02:39.814 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.021) 0:02:39.835 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:39.855 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:39.875 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:39.895 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:39.914 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.021) 0:02:39.936 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.021) 0:02:39.958 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:39.976 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.020) 0:02:39.996 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.020) 0:02:40.017 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:40.036 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:40.055 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:40.074 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.017) 0:02:40.091 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:40.110 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.047) 0:02:40.158 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:40.176 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:40.195 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.018) 0:02:40.214 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:40.233 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:40.252 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 13:59:24 +0000 (0:00:00.019) 0:02:40.272 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.018) 0:02:40.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.310 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.329 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.020) 0:02:40.350 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.020) 0:02:40.371 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.018) 0:02:40.390 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.024) 0:02:40.414 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.434 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.018) 0:02:40.452 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.025) 0:02:40.478 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.059) 0:02:40.537 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.029) 0:02:40.567 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.022) 0:02:40.589 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.022) 0:02:40.611 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.018) 0:02:40.630 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.650 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.021) 0:02:40.672 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.021) 0:02:40.694 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.713 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.732 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.018) 0:02:40.751 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.026) 0:02:40.777 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.026) 0:02:40.803 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.024) 0:02:40.828 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.024) 0:02:40.853 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.021) 0:02:40.874 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.022) 0:02:40.897 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.056) 0:02:40.953 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.020) 0:02:40.974 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.019) 0:02:40.993 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.239) 0:02:41.233 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:59:25 +0000 (0:00:00.020) 0:02:41.253 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ActiveEnterTimestampMonotonic": "490604326", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:09 UTC", "ActiveExitTimestampMonotonic": "511618761", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:58:48 UTC", "AssertTimestampMonotonic": "490603205", "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": "Wed 2023-12-06 13:58:48 UTC", "ConditionTimestampMonotonic": "490603204", "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": "Wed 2023-12-06 13:59:10 UTC", "ExecMainExitTimestampMonotonic": "511821384", "ExecMainPID": "8153", "ExecMainStartTimestamp": "Wed 2023-12-06 13:58:48 UTC", "ExecMainStartTimestampMonotonic": "490604276", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:58:48 UTC] ; stop_time=[Wed 2023-12-06 13:59:10 UTC] ; pid=8153 ; 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": "Wed 2023-12-06 13:59:10 UTC", "InactiveEnterTimestampMonotonic": "511821495", "InactiveExitTimestamp": "Wed 2023-12-06 13:58:48 UTC", "InactiveExitTimestampMonotonic": "490604326", "InvocationID": "b4c200335dc34a0b85d94f7bcb2bfaef", "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": "28562", "LimitSIGPENDINGSoft": "28562", "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 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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:59:10 UTC", "StateChangeTimestampMonotonic": "511821495", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 13:59:27 +0000 (0:00:01.362) 0:02:42.616 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:59:27 +0000 (0:00:00.018) 0:02:42.634 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:40 Wednesday 06 December 2023 13:59:27 +0000 (0:00:00.027) 0:02:42.661 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:59:27 +0000 (0:00:00.102) 0:02:42.764 **** 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.008926", "end": "2023-12-06 13:59:27.734209", "rc": 0, "start": "2023-12-06 13:59:27.725283" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:59:27 +0000 (0:00:00.288) 0:02:43.052 **** 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:01.005476", "end": "2023-12-06 13:59:28.978922", "rc": 0, "start": "2023-12-06 13:59:27.973446" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:59:29 +0000 (0:00:01.234) 0:02:44.287 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.021) 0:02:44.309 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '0.0.0.0'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1433}) included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/tmp/data'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/tmp/log'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.076) 0:02:44.385 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.010538", "end": "2023-12-06 13:59:29.379401", "rc": 0, "start": "2023-12-06 13:59:29.368863" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.307) 0:02:44.693 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.026) 0:02:44.720 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.019) 0:02:44.739 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.018) 0:02:44.758 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006457", "end": "2023-12-06 13:59:29.777807", "rc": 0, "start": "2023-12-06 13:59:29.771350" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.332) 0:02:45.091 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.020) 0:02:45.112 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.020) 0:02:45.132 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:29 +0000 (0:00:00.025) 0:02:45.158 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004813", "end": "2023-12-06 13:59:30.075377", "rc": 0, "start": "2023-12-06 13:59:30.070564" } STDOUT: defaultdatadir = /tmp/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:30 +0000 (0:00:00.226) 0:02:45.384 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:30 +0000 (0:00:00.026) 0:02:45.410 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/data] ***************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:30 +0000 (0:00:00.019) 0:02:45.429 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:30 +0000 (0:00:00.019) 0:02:45.449 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:01.004824", "end": "2023-12-06 13:59:31.344942", "rc": 0, "start": "2023-12-06 13:59:30.340118" } STDOUT: defaultlogdir = /tmp/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:31 +0000 (0:00:01.211) 0:02:46.661 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:31 +0000 (0:00:00.024) 0:02:46.686 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/log] ****************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:31 +0000 (0:00:00.018) 0:02:46.704 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:31 +0000 (0:00:00.053) 0:02:46.758 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:01.005777", "end": "2023-12-06 13:59:32.659387", "rc": 0, "start": "2023-12-06 13:59:31.653610" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:32 +0000 (0:00:01.210) 0:02:47.968 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:32 +0000 (0:00:00.019) 0:02:47.988 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:32 +0000 (0:00:00.023) 0:02:48.011 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:59:32 +0000 (0:00:00.018) 0:02:48.030 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871074.717592, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871074.7185922, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 25508962, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871074.717592, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "969289097", "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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:59:32 +0000 (0:00:00.199) 0:02:48.229 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:59:32 +0000 (0:00:00.022) 0:02:48.252 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871075.96061, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871075.9616098, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 67109514, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871075.96061, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "3109224670", "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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:59:33 +0000 (0:00:00.197) 0:02:48.450 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:59:33 +0000 (0:00:00.022) 0:02:48.473 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:59:33 +0000 (0:00:00.036) 0:02:48.510 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ActiveEnterTimestampMonotonic": "527946502", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:09 UTC", "ActiveExitTimestampMonotonic": "511618761", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:26 UTC", "AssertTimestampMonotonic": "527945334", "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": "Wed 2023-12-06 13:59:26 UTC", "ConditionTimestampMonotonic": "527945332", "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": "9417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ExecMainStartTimestampMonotonic": "527946447", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:26 UTC] ; stop_time=[n/a] ; pid=9417 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Wed 2023-12-06 13:59:10 UTC", "InactiveEnterTimestampMonotonic": "511821495", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:26 UTC", "InactiveExitTimestampMonotonic": "527946502", "InvocationID": "ee8c273e4bc047ceb2c6d1834b16dba6", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9417", "MemoryAccounting": "yes", "MemoryCurrent": "825360384", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:59:26 UTC", "StateChangeTimestampMonotonic": "527946502", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:59:26 UTC", "WatchdogTimestampMonotonic": "527946495", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:59:33 +0000 (0:00:00.344) 0:02:48.855 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003167", "end": "2023-12-06 13:59:33.746323", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:33.743156" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:59:33 +0000 (0:00:00.198) 0:02:49.053 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002722", "end": "2023-12-06 13:59:33.941565", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:33.938843" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:59:33 +0000 (0:00:00.196) 0:02:49.249 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:59:34 +0000 (0:00:00.039) 0:02:49.289 **** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 990, "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": 11662, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:59:52 +0000 (0:00:18.255) 0:03:07.545 **** 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.022678", "end": "2023-12-06 13:59:52.455995", "rc": 0, "start": "2023-12-06 13:59:52.433317" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:59:52 +0000 (0:00:00.219) 0:03:07.764 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:59:52 +0000 (0:00:00.021) 0:03:07.786 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:59:52 +0000 (0:00:00.031) 0:03:07.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-selinuxw7itwrrh/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:59:53 +0000 (0:00:01.253) 0:03:09.070 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:59:53 +0000 (0:00:00.026) 0:03:09.096 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:59:53 +0000 (0:00:00.018) 0:03:09.114 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:59:53 +0000 (0:00:00.030) 0:03:09.145 **** 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-selinuxw7itwrrh/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:59:55 +0000 (0:00:01.289) 0:03:10.435 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.027) 0:03:10.462 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.018) 0:03:10.480 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004473", "end": "2023-12-06 13:59:55.378860", "rc": 0, "start": "2023-12-06 13:59:55.374387" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.240) 0:03:10.721 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.022) 0:03:10.744 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.019) 0:03:10.763 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.031) 0:03:10.794 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004408", "end": "2023-12-06 13:59:55.693178", "rc": 0, "start": "2023-12-06 13:59:55.688770" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.215) 0:03:11.010 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.022) 0:03:11.033 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.027) 0:03:11.060 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.020) 0:03:11.080 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:59:55 +0000 (0:00:00.035) 0:03:11.116 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004992", "end": "2023-12-06 13:59:56.017753", "rc": 0, "start": "2023-12-06 13:59:56.012761" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.211) 0:03:11.327 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.026) 0:03:11.354 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.026) 0:03:11.381 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.020) 0:03:11.401 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:11.421 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.057) 0:03:11.479 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:11.498 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:11.518 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.020) 0:03:11.538 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.021) 0:03:11.559 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:56 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:11.579 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.236) 0:03:11.816 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.029) 0:03:11.845 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.025) 0:03:11.870 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.035) 0:03:11.906 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.020) 0:03:11.926 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.058) 0:03:11.985 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.020) 0:03:12.005 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:12.024 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:12.044 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.021) 0:03:12.065 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:12.084 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.023) 0:03:12.108 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.020) 0:03:12.128 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:12.147 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:12.167 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.020) 0:03:12.188 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 13:59:56 +0000 (0:00:00.019) 0:03:12.207 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 13:59:58 +0000 (0:00:01.269) 0:03:13.477 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 13:59:58 +0000 (0:00:00.055) 0:03:13.532 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 13:59:58 +0000 (0:00:00.059) 0:03:13.592 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 13:59:58 +0000 (0:00:00.024) 0:03:13.617 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 13:59:58 +0000 (0:00:00.035) 0:03:13.653 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 13:59:59 +0000 (0:00:01.425) 0:03:15.078 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.020) 0:03:15.099 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.020) 0:03:15.119 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.021) 0:03:15.141 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.024) 0:03:15.166 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.018) 0:03:15.185 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.019) 0:03:15.205 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.020) 0:03:15.225 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.019) 0:03:15.245 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 13:59:59 +0000 (0:00:00.019) 0:03:15.265 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:00:01 +0000 (0:00:01.268) 0:03:16.534 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:00:01 +0000 (0:00:00.022) 0:03:16.556 **** 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.005644", "end": "2023-12-06 14:00:01.480222", "rc": 0, "start": "2023-12-06 14:00:01.474578" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:00:01 +0000 (0:00:00.235) 0:03:16.791 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:00:04 +0000 (0:00:02.787) 0:03:19.579 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:00:04 +0000 (0:00:00.028) 0:03:19.607 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:00:04 +0000 (0:00:00.018) 0:03:19.625 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:00:04 +0000 (0:00:00.017) 0:03:19.643 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:00:04 +0000 (0:00:00.040) 0:03:19.684 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871073.733578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871073.6995776, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 528482693, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701871073.6995776, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2329777494", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:00:05 +0000 (0:00:01.209) 0:03:20.894 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:00:05 +0000 (0:00:00.213) 0:03:21.107 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:00:05 +0000 (0:00:00.027) 0:03:21.134 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:05 +0000 (0:00:00.032) 0:03:21.167 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003080", "end": "2023-12-06 14:00:06.060426", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:06.057346" } STDOUT: defaultdatadir = /tmp/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.201) 0:03:21.369 **** 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.118377", "end": "2023-12-06 14:00:06.385543", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:06.267166" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.328) 0:03:21.697 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.020) 0:03:21.718 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871169.4927635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871169.4917636, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 536871241, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701871169.4917636, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "3189836959", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.204) 0:03:21.923 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.217) 0:03:22.140 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/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/data", "/tmp/log", "/tmp/data", "/tmp/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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.069) 0:03:22.210 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:06 +0000 (0:00:00.042) 0:03:22.252 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003040", "end": "2023-12-06 14:00:07.148920", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:07.145880" } STDOUT: defaultlogdir = /tmp/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:07 +0000 (0:00:00.206) 0:03:22.459 **** 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.117115", "end": "2023-12-06 14:00:07.472462", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:07.355347" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:07 +0000 (0:00:00.325) 0:03:22.784 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:00:07 +0000 (0:00:00.021) 0:03:22.806 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:00:07 +0000 (0:00:00.019) 0:03:22.825 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:00:08 +0000 (0:00:01.226) 0:03:24.051 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:50:51 UTC", "ActiveEnterTimestampMonotonic": "13066088", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service sysinit.target system.slice systemd-journald.socket network.target dbus.socket polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:50:50 UTC", "AssertTimestampMonotonic": "12116200", "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": "Wed 2023-12-06 13:50:50 UTC", "ConditionTimestampMonotonic": "12116199", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service cpupower.service shutdown.target 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": "691", "ExecMainStartTimestamp": "Wed 2023-12-06 13:50:50 UTC", "ExecMainStartTimestampMonotonic": "12117430", "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": "Wed 2023-12-06 13:50:50 UTC", "InactiveExitTimestampMonotonic": "12117475", "InvocationID": "01f07ff3fea349a5a331442b9c95e6c4", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "691", "MemoryAccounting": "yes", "MemoryCurrent": "20467712", "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": "Wed 2023-12-06 13:50:51 UTC", "StateChangeTimestampMonotonic": "13066088", "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": "45699", "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": "Wed 2023-12-06 13:50:51 UTC", "WatchdogTimestampMonotonic": "13066085", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:00:09 +0000 (0:00:00.358) 0:03:24.410 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120188", "end": "2023-12-06 14:00:09.418761", "rc": 0, "start": "2023-12-06 14:00:09.298573" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:00:09 +0000 (0:00:00.318) 0:03:24.728 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:00:09 +0000 (0:00:00.018) 0:03:24.747 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:00:09 +0000 (0:00:00.018) 0:03:24.765 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:00:09 +0000 (0:00:00.018) 0:03:24.784 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:00:09 +0000 (0:00:00.207) 0:03:24.992 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:00:11 +0000 (0:00:01.290) 0:03:26.282 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:00:11 +0000 (0:00:00.034) 0:03:26.317 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ActiveEnterTimestampMonotonic": "527946502", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:09 UTC", "ActiveExitTimestampMonotonic": "511618761", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:26 UTC", "AssertTimestampMonotonic": "527945334", "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": "Wed 2023-12-06 13:59:26 UTC", "ConditionTimestampMonotonic": "527945332", "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": "9417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ExecMainStartTimestampMonotonic": "527946447", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:26 UTC] ; stop_time=[n/a] ; pid=9417 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Wed 2023-12-06 13:59:10 UTC", "InactiveEnterTimestampMonotonic": "511821495", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:26 UTC", "InactiveExitTimestampMonotonic": "527946502", "InvocationID": "ee8c273e4bc047ceb2c6d1834b16dba6", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9417", "MemoryAccounting": "yes", "MemoryCurrent": "771784704", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:59:26 UTC", "StateChangeTimestampMonotonic": "527946502", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:59:26 UTC", "WatchdogTimestampMonotonic": "527946495", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:00:11 +0000 (0:00:00.386) 0:03:26.703 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003177", "end": "2023-12-06 14:00:11.604474", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:11.601297" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:00:11 +0000 (0:00:00.212) 0:03:26.916 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003177", "end": "2023-12-06 14:00:11.817147", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:11.813970" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:00:11 +0000 (0:00:00.210) 0:03:27.126 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:00:11 +0000 (0:00:00.029) 0:03:27.155 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 11662, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:00:13 +0000 (0:00:01.203) 0:03:28.359 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:00:13 +0000 (0:00:00.222) 0:03:28.582 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ActiveEnterTimestampMonotonic": "527946502", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:09 UTC", "ActiveExitTimestampMonotonic": "511618761", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:26 UTC", "AssertTimestampMonotonic": "527945334", "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": "Wed 2023-12-06 13:59:26 UTC", "ConditionTimestampMonotonic": "527945332", "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": "9417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ExecMainStartTimestampMonotonic": "527946447", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:26 UTC] ; stop_time=[n/a] ; pid=9417 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Wed 2023-12-06 13:59:10 UTC", "InactiveEnterTimestampMonotonic": "511821495", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:26 UTC", "InactiveExitTimestampMonotonic": "527946502", "InvocationID": "ee8c273e4bc047ceb2c6d1834b16dba6", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9417", "MemoryAccounting": "yes", "MemoryCurrent": "772689920", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:59:26 UTC", "StateChangeTimestampMonotonic": "527946502", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:59:26 UTC", "WatchdogTimestampMonotonic": "527946495", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:00:13 +0000 (0:00:00.676) 0:03:29.258 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:00:15 +0000 (0:00:01.252) 0:03:30.511 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:00:21 +0000 (0:00:05.818) 0:03:36.329 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:00:21 +0000 (0:00:00.019) 0:03:36.348 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:00:21 +0000 (0:00:00.021) 0:03:36.370 **** 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.005189", "end": "2023-12-06 14:00:21.266599", "rc": 0, "start": "2023-12-06 14:00:21.261410" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:00:21 +0000 (0:00:00.204) 0:03:36.574 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ActiveEnterTimestampMonotonic": "527946502", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:13 UTC", "ActiveExitTimestampMonotonic": "575272818", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:26 UTC", "AssertTimestampMonotonic": "527945334", "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": "Wed 2023-12-06 13:59:26 UTC", "ConditionTimestampMonotonic": "527945332", "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": "Wed 2023-12-06 14:00:13 UTC", "ExecMainExitTimestampMonotonic": "575597508", "ExecMainPID": "9417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ExecMainStartTimestampMonotonic": "527946447", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:26 UTC] ; stop_time=[Wed 2023-12-06 14:00:13 UTC] ; pid=9417 ; 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": "Wed 2023-12-06 14:00:13 UTC", "InactiveEnterTimestampMonotonic": "575597597", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:26 UTC", "InactiveExitTimestampMonotonic": "527946502", "InvocationID": "ee8c273e4bc047ceb2c6d1834b16dba6", "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": "28562", "LimitSIGPENDINGSoft": "28562", "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 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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:00:13 UTC", "StateChangeTimestampMonotonic": "575597597", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:00:21 +0000 (0:00:00.333) 0:03:36.908 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:00:22 +0000 (0:00:01.350) 0:03:38.258 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:00:28 +0000 (0:00:05.881) 0:03:44.139 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:28 +0000 (0:00:00.035) 0:03:44.174 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002997", "end": "2023-12-06 14:00:29.064207", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:29.061210" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.197) 0:03:44.372 **** 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.110844", "end": "2023-12-06 14:00:29.373864", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:29.263020" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.312) 0:03:44.685 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.018) 0:03:44.703 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.019) 0:03:44.723 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.020) 0:03:44.743 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.032) 0:03:44.776 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002760", "end": "2023-12-06 14:00:29.665157", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:29.662397" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:29 +0000 (0:00:00.196) 0:03:44.972 **** 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.110783", "end": "2023-12-06 14:00:29.973550", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:29.862767" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.311) 0:03:45.284 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.019) 0:03:45.303 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.019) 0:03:45.322 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.073) 0:03:45.395 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002732", "end": "2023-12-06 14:00:30.285087", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:30.282355" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.196) 0:03:45.592 **** 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.110659", "end": "2023-12-06 14:00:30.592963", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:30.482304" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.310) 0:03:45.903 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:00:30 +0000 (0:00:00.021) 0:03:45.924 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-15.0.4335.1-6.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:00:32 +0000 (0:00:01.663) 0:03:47.588 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:00:34 +0000 (0:00:01.760) 0:03:49.348 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002989", "end": "2023-12-06 14:00:34.240247", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:34.237258" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.199) 0:03:49.547 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.019) 0:03:49.567 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.115273", "end": "2023-12-06 14:00:34.573108", "rc": 0, "start": "2023-12-06 14:00:34.457835" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.314) 0:03:49.881 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.033) 0:03:49.915 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003067", "end": "2023-12-06 14:00:34.809593", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:34.806526" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.202) 0:03:50.117 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.025) 0:03:50.143 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.019) 0:03:50.162 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:34 +0000 (0:00:00.033) 0:03:50.195 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003088", "end": "2023-12-06 14:00:35.089094", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:35.086006" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.201) 0:03:50.397 **** 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.124125", "end": "2023-12-06 14:00:35.420570", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:35.296445" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.373) 0:03:50.770 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.021) 0:03:50.791 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.810 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.829 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.021) 0:03:50.850 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.868 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.886 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.905 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.923 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.019) 0:03:50.942 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.019) 0:03:50.962 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:50.980 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.022) 0:03:51.002 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.021) 0:03:51.024 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.042 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.060 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.054) 0:03:51.115 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.019) 0:03:51.134 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.153 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.171 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.189 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.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 [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.226 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.245 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:00:35 +0000 (0:00:00.018) 0:03:51.264 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.017) 0:03:51.282 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.017) 0:03:51.300 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.318 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.017) 0:03:51.336 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.354 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.019) 0:03:51.373 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.017) 0:03:51.391 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.410 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.058) 0:03:51.468 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.487 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.021) 0:03:51.509 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.528 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.546 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.022) 0:03:51.569 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.587 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.605 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.624 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.643 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.661 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.680 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.019) 0:03:51.699 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.718 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.019) 0:03:51.737 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.755 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.017) 0:03:51.772 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.060) 0:03:51.832 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.019) 0:03:51.851 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.017) 0:03:51.869 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.888 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.906 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.022) 0:03:51.929 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.019) 0:03:51.948 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.967 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.018) 0:03:51.985 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.240) 0:03:52.226 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:00:36 +0000 (0:00:00.019) 0:03:52.245 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ActiveEnterTimestampMonotonic": "527946502", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:13 UTC", "ActiveExitTimestampMonotonic": "575272818", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:26 UTC", "AssertTimestampMonotonic": "527945334", "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": "Wed 2023-12-06 13:59:26 UTC", "ConditionTimestampMonotonic": "527945332", "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": "Wed 2023-12-06 14:00:13 UTC", "ExecMainExitTimestampMonotonic": "575597508", "ExecMainPID": "9417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:26 UTC", "ExecMainStartTimestampMonotonic": "527946447", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:26 UTC] ; stop_time=[Wed 2023-12-06 14:00:13 UTC] ; pid=9417 ; 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": "Wed 2023-12-06 14:00:13 UTC", "InactiveEnterTimestampMonotonic": "575597597", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:26 UTC", "InactiveExitTimestampMonotonic": "527946502", "InvocationID": "ee8c273e4bc047ceb2c6d1834b16dba6", "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": "28562", "LimitSIGPENDINGSoft": "28562", "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 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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:00:13 UTC", "StateChangeTimestampMonotonic": "575597597", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:00:38 +0000 (0:00:01.357) 0:03:53.603 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.018) 0:03:53.621 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:73 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.028) 0:03:53.650 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.334) 0:03:53.984 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.029) 0:03:54.014 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.024) 0:03:54.039 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.033) 0:03:54.072 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.019) 0:03:54.092 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.018) 0:03:54.111 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.017) 0:03:54.129 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.018) 0:03:54.147 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.018) 0:03:54.165 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.018) 0:03:54.184 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.063) 0:03:54.247 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:00:38 +0000 (0:00:00.022) 0:03:54.270 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:00:39 +0000 (0:00:00.018) 0:03:54.289 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:00:39 +0000 (0:00:00.018) 0:03:54.307 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:00:39 +0000 (0:00:00.017) 0:03:54.325 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:00:39 +0000 (0:00:00.019) 0:03:54.344 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:00:39 +0000 (0:00:00.019) 0:03:54.364 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:00:40 +0000 (0:00:01.739) 0:03:56.103 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:00:40 +0000 (0:00:00.055) 0:03:56.159 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:00:40 +0000 (0:00:00.018) 0:03:56.178 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:00:40 +0000 (0:00:00.023) 0:03:56.201 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:00:40 +0000 (0:00:00.036) 0:03:56.238 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.494) 0:03:56.732 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.020) 0:03:56.753 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.066) 0:03:56.819 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.021) 0:03:56.840 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.022) 0:03:56.863 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.019) 0:03:56.882 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.018) 0:03:56.901 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.018) 0:03:56.920 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.018) 0:03:56.938 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:00:41 +0000 (0:00:00.018) 0:03:56.957 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:00:42 +0000 (0:00:01.251) 0:03:58.208 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:00:42 +0000 (0:00:00.018) 0:03:58.227 **** 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.005993", "end": "2023-12-06 14:00:43.126953", "rc": 0, "start": "2023-12-06 14:00:43.120960" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:00:43 +0000 (0:00:00.208) 0:03:58.435 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:00:46 +0000 (0:00:03.609) 0:04:02.045 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:00:46 +0000 (0:00:00.028) 0:04:02.073 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:00:46 +0000 (0:00:00.017) 0:04:02.091 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:00:46 +0000 (0:00:00.018) 0:04:02.109 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:00:46 +0000 (0:00:00.041) 0:04:02.151 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871073.733578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871073.6995776, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 528482693, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701871073.6995776, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2329777494", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:00:48 +0000 (0:00:01.276) 0:04:03.427 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.216) 0:04:03.644 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/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/data", "/tmp/log", "/tmp/data", "/tmp/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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.027) 0:04:03.671 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.032) 0:04:03.704 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003105", "end": "2023-12-06 14:00:48.603482", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:48.600377" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.208) 0:04:03.912 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.025) 0:04:03.938 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.021) 0:04:03.959 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871240.3619683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871240.3849688, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 536871241, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701871240.3849688, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "3189836959", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:00:48 +0000 (0:00:00.204) 0:04:04.164 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.210) 0:04:04.374 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/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/data", "/tmp/log", "/tmp/data", "/tmp/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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.029) 0:04:04.404 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.035) 0:04:04.439 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003056", "end": "2023-12-06 14:00:49.349696", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:49.346640" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.219) 0:04:04.659 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.025) 0:04:04.684 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.019) 0:04:04.704 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:00:49 +0000 (0:00:00.064) 0:04:04.768 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:00:50 +0000 (0:00:01.223) 0:04:05.991 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:50:51 UTC", "ActiveEnterTimestampMonotonic": "13066088", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service sysinit.target system.slice systemd-journald.socket network.target dbus.socket polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:50:50 UTC", "AssertTimestampMonotonic": "12116200", "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": "Wed 2023-12-06 13:50:50 UTC", "ConditionTimestampMonotonic": "12116199", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service cpupower.service shutdown.target 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": "691", "ExecMainStartTimestamp": "Wed 2023-12-06 13:50:50 UTC", "ExecMainStartTimestampMonotonic": "12117430", "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": "Wed 2023-12-06 13:50:50 UTC", "InactiveExitTimestampMonotonic": "12117475", "InvocationID": "01f07ff3fea349a5a331442b9c95e6c4", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "691", "MemoryAccounting": "yes", "MemoryCurrent": "20463616", "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": "Wed 2023-12-06 13:50:51 UTC", "StateChangeTimestampMonotonic": "13066088", "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": "45699", "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": "Wed 2023-12-06 13:50:51 UTC", "WatchdogTimestampMonotonic": "13066085", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:00:52 +0000 (0:00:01.345) 0:04:07.337 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114885", "end": "2023-12-06 14:00:52.337607", "rc": 0, "start": "2023-12-06 14:00:52.222722" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:00:52 +0000 (0:00:00.309) 0:04:07.646 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:00:52 +0000 (0:00:00.018) 0:04:07.665 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:00:52 +0000 (0:00:00.019) 0:04:07.684 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:00:52 +0000 (0:00:00.019) 0:04:07.703 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:00:52 +0000 (0:00:00.201) 0:04:07.905 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:00:53 +0000 (0:00:01.238) 0:04:09.143 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:00:53 +0000 (0:00:00.033) 0:04:09.177 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:00:37 UTC", "ActiveEnterTimestampMonotonic": "598937670", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:13 UTC", "ActiveExitTimestampMonotonic": "575272818", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:00:37 UTC", "AssertTimestampMonotonic": "598936514", "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": "Wed 2023-12-06 14:00:37 UTC", "ConditionTimestampMonotonic": "598936513", "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": "11346", "ExecMainStartTimestamp": "Wed 2023-12-06 14:00:37 UTC", "ExecMainStartTimestampMonotonic": "598937620", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:00:37 UTC] ; stop_time=[n/a] ; pid=11346 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Wed 2023-12-06 14:00:13 UTC", "InactiveEnterTimestampMonotonic": "575597597", "InactiveExitTimestamp": "Wed 2023-12-06 14:00:37 UTC", "InactiveExitTimestampMonotonic": "598937670", "InvocationID": "90ad99ef44d54228a1f7d2db22bb5b91", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11346", "MemoryAccounting": "yes", "MemoryCurrent": "675487744", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:00:37 UTC", "StateChangeTimestampMonotonic": "598937670", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "148", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 14:00:37 UTC", "WatchdogTimestampMonotonic": "598937664", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:00:54 +0000 (0:00:00.334) 0:04:09.512 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002946", "end": "2023-12-06 14:00:54.405888", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:54.402942" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:00:54 +0000 (0:00:00.201) 0:04:09.713 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002861", "end": "2023-12-06 14:00:54.606089", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:54.603228" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:00:54 +0000 (0:00:00.199) 0:04:09.912 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:00:54 +0000 (0:00:00.028) 0:04:09.941 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 7545, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:00:55 +0000 (0:00:01.198) 0:04:11.140 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:00:56 +0000 (0:00:00.219) 0:04:11.360 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:00:37 UTC", "ActiveEnterTimestampMonotonic": "598937670", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:13 UTC", "ActiveExitTimestampMonotonic": "575272818", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:00:37 UTC", "AssertTimestampMonotonic": "598936514", "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": "Wed 2023-12-06 14:00:37 UTC", "ConditionTimestampMonotonic": "598936513", "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": "11346", "ExecMainStartTimestamp": "Wed 2023-12-06 14:00:37 UTC", "ExecMainStartTimestampMonotonic": "598937620", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:00:37 UTC] ; stop_time=[n/a] ; pid=11346 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Wed 2023-12-06 14:00:13 UTC", "InactiveEnterTimestampMonotonic": "575597597", "InactiveExitTimestamp": "Wed 2023-12-06 14:00:37 UTC", "InactiveExitTimestampMonotonic": "598937670", "InvocationID": "90ad99ef44d54228a1f7d2db22bb5b91", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11346", "MemoryAccounting": "yes", "MemoryCurrent": "676651008", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:00:37 UTC", "StateChangeTimestampMonotonic": "598937670", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "148", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 14:00:37 UTC", "WatchdogTimestampMonotonic": "598937664", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:00:56 +0000 (0:00:00.756) 0:04:12.117 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:00:58 +0000 (0:00:01.266) 0:04:13.383 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:01:02 +0000 (0:00:04.095) 0:04:17.479 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:01:02 +0000 (0:00:00.020) 0:04:17.499 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:01:02 +0000 (0:00:00.022) 0:04:17.522 **** 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.005570", "end": "2023-12-06 14:01:02.425830", "rc": 0, "start": "2023-12-06 14:01:02.420260" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:01:02 +0000 (0:00:00.213) 0:04:17.735 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:01:02 +0000 (0:00:00.021) 0:04:17.757 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:01:03 +0000 (0:00:01.287) 0:04:19.044 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.028) 0:04:19.072 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.036) 0:04:19.108 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002950", "end": "2023-12-06 14:01:04.004049", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:04.001099" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.204) 0:04:19.313 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.072) 0:04:19.385 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.020) 0:04:19.405 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.020) 0:04:19.426 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.018) 0:04:19.445 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.032) 0:04:19.477 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003192", "end": "2023-12-06 14:01:04.372079", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:04.368887" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.203) 0:04:19.681 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.025) 0:04:19.706 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.019) 0:04:19.726 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.020) 0:04:19.746 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.037) 0:04:19.783 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002915", "end": "2023-12-06 14:01:04.679098", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:04.676183" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.204) 0:04:19.988 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.026) 0:04:20.014 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:01:04 +0000 (0:00:00.020) 0:04:20.034 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:01:06 +0000 (0:00:01.251) 0:04:21.285 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:01:07 +0000 (0:00:01.227) 0:04:22.513 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003204", "end": "2023-12-06 14:01:07.407716", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:01:07.404512" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.255) 0:04:22.768 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.021) 0:04:22.789 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.021) 0:04:22.811 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.034) 0:04:22.845 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003219", "end": "2023-12-06 14:01:07.741112", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:07.737893" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.207) 0:04:23.052 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.046) 0:04:23.099 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.024) 0:04:23.123 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:01:07 +0000 (0:00:00.036) 0:04:23.160 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003331", "end": "2023-12-06 14:01:08.058829", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:08.055498" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.212) 0:04:23.372 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.028) 0:04:23.400 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.021) 0:04:23.422 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:23.441 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.020) 0:04:23.462 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.026) 0:04:23.488 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:23.508 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.074) 0:04:23.582 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.035) 0:04:23.618 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.026) 0:04:23.645 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.025) 0:04:23.670 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.025) 0:04:23.695 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.022) 0:04:23.718 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.029) 0:04:23.748 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.023) 0:04:23.771 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.022) 0:04:23.794 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.021) 0:04:23.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:23.835 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:23.854 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:23.874 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.018) 0:04:23.892 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.028) 0:04:23.921 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.021) 0:04:23.942 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.022) 0:04:23.964 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.067) 0:04:24.031 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.020) 0:04:24.052 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.018) 0:04:24.071 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.090 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.109 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.129 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.148 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.020) 0:04:24.168 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.187 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.207 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.019) 0:04:24.226 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.021) 0:04:24.247 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:01:08 +0000 (0:00:00.022) 0:04:24.270 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.289 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.018) 0:04:24.308 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.023) 0:04:24.331 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.072) 0:04:24.403 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.021) 0:04:24.424 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.444 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.464 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.483 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.502 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.522 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.541 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.560 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.018) 0:04:24.579 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.599 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.023) 0:04:24.622 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.018) 0:04:24.641 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.660 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:24.680 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.018) 0:04:24.699 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.023) 0:04:24.722 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.082) 0:04:24.804 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.021) 0:04:24.826 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.021) 0:04:24.847 **** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.240) 0:04:25.088 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:01:09 +0000 (0:00:00.019) 0:04:25.107 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:00:37 UTC", "ActiveEnterTimestampMonotonic": "598937670", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:56 UTC", "ActiveExitTimestampMonotonic": "618046587", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:00:37 UTC", "AssertTimestampMonotonic": "598936514", "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": "Wed 2023-12-06 14:00:37 UTC", "ConditionTimestampMonotonic": "598936513", "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": "Wed 2023-12-06 14:00:56 UTC", "ExecMainExitTimestampMonotonic": "618408545", "ExecMainPID": "11346", "ExecMainStartTimestamp": "Wed 2023-12-06 14:00:37 UTC", "ExecMainStartTimestampMonotonic": "598937620", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:00:37 UTC] ; stop_time=[Wed 2023-12-06 14:00:56 UTC] ; pid=11346 ; 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": "Wed 2023-12-06 14:00:56 UTC", "InactiveEnterTimestampMonotonic": "618408636", "InactiveExitTimestamp": "Wed 2023-12-06 14:00:37 UTC", "InactiveExitTimestampMonotonic": "598937670", "InvocationID": "90ad99ef44d54228a1f7d2db22bb5b91", "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": "28562", "LimitSIGPENDINGSoft": "28562", "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 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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:00:56 UTC", "StateChangeTimestampMonotonic": "618408636", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:01:10 +0000 (0:00:00.348) 0:04:25.456 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:01:10 +0000 (0:00:00.018) 0:04:25.475 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:88 Wednesday 06 December 2023 14:01:10 +0000 (0:00:00.028) 0:04:25.503 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:01:10 +0000 (0:00:00.170) 0:04:25.674 **** 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:01.007585", "end": "2023-12-06 14:01:11.588473", "rc": 0, "start": "2023-12-06 14:01:10.580888" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:01:11 +0000 (0:00:01.227) 0:04:26.902 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.007938", "end": "2023-12-06 14:01:11.888845", "rc": 0, "start": "2023-12-06 14:01:11.880907" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:01:11 +0000 (0:00:00.299) 0:04:27.201 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:01:11 +0000 (0:00:00.021) 0:04:27.223 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '127.0.0.1'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1435}) included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/var/opt/mssql/data'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/var/opt/mssql/log'}) included: /WORKDIR/git-storage-selinuxw7itwrrh/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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.093) 0:04:27.317 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004570", "end": "2023-12-06 14:01:12.235878", "rc": 0, "start": "2023-12-06 14:01:12.231308" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.230) 0:04:27.547 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.026) 0:04:27.574 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.020) 0:04:27.594 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.019) 0:04:27.614 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004865", "end": "2023-12-06 14:01:12.510227", "rc": 0, "start": "2023-12-06 14:01:12.505362" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.204) 0:04:27.818 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.020) 0:04:27.839 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.020) 0:04:27.860 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.027) 0:04:27.887 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005736", "end": "2023-12-06 14:01:12.807925", "rc": 0, "start": "2023-12-06 14:01:12.802189" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.234) 0:04:28.122 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.026) 0:04:28.148 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.019) 0:04:28.167 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:12 +0000 (0:00:00.018) 0:04:28.185 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.007388", "end": "2023-12-06 14:01:13.182728", "rc": 0, "start": "2023-12-06 14:01:13.175340" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.312) 0:04:28.497 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.026) 0:04:28.524 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.019) 0:04:28.544 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.076) 0:04:28.620 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004859", "end": "2023-12-06 14:01:13.571023", "rc": 0, "start": "2023-12-06 14:01:13.566164" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.259) 0:04:28.880 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.020) 0:04:28.901 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.026) 0:04:28.927 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.019) 0:04:28.946 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871073.733578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871073.6995776, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 528482693, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701871073.6995776, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2329777494", "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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.297) 0:04:29.244 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:01:13 +0000 (0:00:00.023) 0:04:29.268 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871273.2223425, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871273.2343426, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 536871241, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701871273.2343426, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "3189836959", "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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:01:14 +0000 (0:00:00.231) 0:04:29.500 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:01:14 +0000 (0:00:00.022) 0:04:29.522 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:01:14 +0000 (0:00:00.035) 0:04:29.558 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:01:10 UTC", "ActiveEnterTimestampMonotonic": "631796642", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:56 UTC", "ActiveExitTimestampMonotonic": "618046587", "ActiveState": "active", "After": "systemd-journald.socket auditd.service system.slice -.mount sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:01:10 UTC", "AssertTimestampMonotonic": "631795496", "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": "Wed 2023-12-06 14:01:10 UTC", "ConditionTimestampMonotonic": "631795495", "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": "12514", "ExecMainStartTimestamp": "Wed 2023-12-06 14:01:10 UTC", "ExecMainStartTimestampMonotonic": "631796588", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:01:10 UTC] ; stop_time=[n/a] ; pid=12514 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Wed 2023-12-06 14:00:56 UTC", "InactiveEnterTimestampMonotonic": "618408636", "InactiveExitTimestamp": "Wed 2023-12-06 14:01:10 UTC", "InactiveExitTimestampMonotonic": "631796642", "InvocationID": "1e398564066d44ab8f047b39b9a550bf", "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": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12514", "MemoryAccounting": "yes", "MemoryCurrent": "674140160", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:01:10 UTC", "StateChangeTimestampMonotonic": "631796642", "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": "138", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 14:01:10 UTC", "WatchdogTimestampMonotonic": "631796636", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:01:14 +0000 (0:00:00.337) 0:04:29.895 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003028", "end": "2023-12-06 14:01:14.787400", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:14.784372" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:01:14 +0000 (0:00:00.199) 0:04:30.094 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003049", "end": "2023-12-06 14:01:14.986400", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:14.983351" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:01:15 +0000 (0:00:00.199) 0:04:30.294 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:01:15 +0000 (0:00:00.037) 0:04:30.331 **** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 990, "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": 7545, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:01:33 +0000 (0:00:18.283) 0:04:48.614 **** 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:01.029133", "end": "2023-12-06 14:01:34.537319", "rc": 0, "start": "2023-12-06 14:01:33.508186" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:01:34 +0000 (0:00:01.230) 0:04:49.845 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:01:34 +0000 (0:00:00.022) 0:04:49.867 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 14:01:34 +0000 (0:00:00.030) 0:04:49.897 **** 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-selinuxw7itwrrh/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 14:01:35 +0000 (0:00:01.274) 0:04:51.172 **** 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-selinuxw7itwrrh/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 14:01:35 +0000 (0:00:00.020) 0:04:51.192 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:01:35 +0000 (0:00:00.028) 0:04:51.220 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 14:01:35 +0000 (0:00:00.034) 0:04:51.254 **** 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-selinuxw7itwrrh/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 14:01:37 +0000 (0:00:01.256) 0:04:52.511 **** 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-selinuxw7itwrrh/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.021) 0:04:52.532 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.027) 0:04:52.559 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004450", "end": "2023-12-06 14:01:37.454482", "rc": 0, "start": "2023-12-06 14:01:37.450032" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.253) 0:04:52.813 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.020) 0:04:52.834 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.021) 0:04:52.856 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.031) 0:04:52.888 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004736", "end": "2023-12-06 14:01:37.784613", "rc": 0, "start": "2023-12-06 14:01:37.779877" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.205) 0:04:53.093 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.021) 0:04:53.114 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.025) 0:04:53.139 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.019) 0:04:53.158 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:01:37 +0000 (0:00:00.034) 0:04:53.193 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004651", "end": "2023-12-06 14:01:38.090885", "rc": 0, "start": "2023-12-06 14:01:38.086234" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.204) 0:04:53.398 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.023) 0:04:53.422 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.028) 0:04:53.450 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.020) 0:04:53.471 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.020) 0:04:53.492 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.081) 0:04:53.574 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.020) 0:04:53.594 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.020) 0:04:53.614 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.021) 0:04:53.636 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.020) 0:04:53.657 **** 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-selinuxw7itwrrh/tests/tasks/tests_idempotency.yml:105 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.019) 0:04:53.677 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.172) 0:04:53.850 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003082", "end": "2023-12-06 14:01:38.782830", "rc": 0, "start": "2023-12-06 14:01:38.779748" } 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-selinuxw7itwrrh/tests/tests_idempotency_2019.yml:17 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.239) 0:04:54.089 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 14:01:38 +0000 (0:00:00.030) 0:04:54.120 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 14:01:40 +0000 (0:00:01.284) 0:04:55.405 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.076) 0:04:55.482 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.020) 0:04:55.503 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.048) 0:04:55.551 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.031) 0:04:55.583 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.025) 0:04:55.608 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.197) 0:04:55.806 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 14:01:40 +0000 (0:00:00.022) 0:04:55.829 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 14:01:41 +0000 (0:00:01.264) 0:04:57.093 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 14:01:41 +0000 (0:00:00.019) 0:04:57.113 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 14:01:41 +0000 (0:00:00.027) 0:04:57.140 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target polkit.service sysinit.target system.slice dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service iptables.service ip6tables.service shutdown.target nftables.service ebtables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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", "InactiveExitTimestampMonotonic": "0", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "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": "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": "sysinit.target system.slice 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "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": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 14:01:42 +0000 (0:00:00.354) 0:04:57.495 **** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.socket dbus.service system.slice polkit.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service ipset.service nftables.service shutdown.target ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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", "InactiveExitTimestampMonotonic": "0", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "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]", "StateChangeTimestampMonotonic": "0", "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": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 14:01:43 +0000 (0:00:01.213) 0:04:58.708 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 14:01:43 +0000 (0:00:00.027) 0:04:58.736 **** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.45.119 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 14:01:45 +0000 (0:00:01.911) 0:05:00.648 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.021) 0:05:00.670 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.071) 0:05:00.742 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.022) 0:05:00.765 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.021) 0:05:00.786 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.020) 0:05:00.807 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.020) 0:05:00.828 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.119 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.272) 0:05:01.100 **** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.026) 0:05:01.126 **** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.032) 0:05:01.159 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.026) 0:05:01.186 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 14:01:45 +0000 (0:00:00.024) 0:05:01.210 **** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 14:01:46 +0000 (0:00:00.346) 0:05:01.557 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: mssql-server-15.0.4335.1-6.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: guile-5:2.0.14-7.el8.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: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 14:01:49 +0000 (0:00:03.415) 0:05:04.973 **** fatal: [sut]: FAILED! => { "changed": false, "changed_when_result": "The conditional check ''removed' in __mssql_cleanup_remove.stdout' failed. The error was: error while evaluating conditional ('removed' in __mssql_cleanup_remove.stdout): 'dict object' has no attribute 'stdout'. 'dict object' has no attribute 'stdout'" } MSG: Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, expand_argument_vars, removes, stdin, stdin_add_newline, strip_empty_ends. to retry, use: --limit @/tmp/tests_idempotency_2019.retry PLAY RECAP ********************************************************************* sut : ok=346 changed=49 unreachable=0 failed=1 skipped=497 rescued=0 ignored=3 Wednesday 06 December 2023 14:01:49 +0000 (0:00:00.196) 0:05:05.169 **** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 45.97s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 25.34s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wait for mssql-server to prepare for client connections ---------------- 18.28s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.26s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Gather system services facts --------- 13.78s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 8.33s /WORKDIR/git-storage-selinuxw7itwrrh/.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 --- 5.95s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 5.88s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.82s /WORKDIR/git-storage-selinuxw7itwrrh/.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.76s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.67s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Gather system services facts ---------- 4.58s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Change the password of sa user -------- 4.10s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Gather system services facts ---------- 3.61s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Remove related packages ------------------------------------------------- 3.42s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 3.41s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.79s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 2.22s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.14s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.91s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---