# 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_2022.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_idempotency_2022.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2022] ****************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_idempotency_2022.yml:17 Wednesday 06 December 2023 13:57:04 +0000 (0:00:00.034) 0:00:00.034 **** 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:57:04 +0000 (0:00:00.009) 0:00:00.044 **** 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:57:04 +0000 (0:00:00.010) 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:57:05 +0000 (0:00:00.510) 0:00:00.565 **** 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:57:05 +0000 (0:00:00.018) 0:00:00.583 **** 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:57:05 +0000 (0:00:00.017) 0:00:00.600 **** 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:57:05 +0000 (0:00:00.081) 0:00:00.682 **** 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:57:05 +0000 (0:00:00.009) 0:00:00.691 **** 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:57:05 +0000 (0:00:00.017) 0:00:00.709 **** 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:57:05 +0000 (0:00:00.025) 0:00:00.734 **** 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:57:05 +0000 (0:00:00.008) 0:00:00.743 **** 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:57:05 +0000 (0:00:00.012) 0:00:00.755 **** 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:57:05 +0000 (0:00:00.010) 0:00:00.765 **** 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:57:05 +0000 (0:00:00.010) 0:00:00.776 **** 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:57:05 +0000 (0:00:00.009) 0:00:00.785 **** 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:57:05 +0000 (0:00:00.009) 0:00:00.794 **** 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:57:05 +0000 (0:00:00.009) 0:00:00.803 **** 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:57:05 +0000 (0:00:00.016) 0:00:00.820 **** 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:57:05 +0000 (0:00:00.013) 0:00:00.833 **** 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:57:05 +0000 (0:00:00.013) 0:00:00.847 **** 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:57:05 +0000 (0:00:00.013) 0:00:00.860 **** 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:57:05 +0000 (0:00:00.014) 0:00:00.874 **** 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:57:05 +0000 (0:00:00.017) 0:00:00.892 **** 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:57:06 +0000 (0:00:01.491) 0:00:02.383 **** 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:57:06 +0000 (0:00:00.032) 0:00:02.415 **** 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:57:06 +0000 (0:00:00.017) 0:00:02.433 **** 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:57:06 +0000 (0:00:00.026) 0:00:02.459 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 13:57:06 +0000 (0:00:00.036) 0:00:02.496 **** 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:57:07 +0000 (0:00:00.684) 0:00:03.181 **** 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:57:07 +0000 (0:00:00.022) 0:00:03.203 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 13:57:07 +0000 (0:00:00.017) 0:00:03.221 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 13:57:07 +0000 (0:00:00.017) 0:00:03.239 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 13:57:08 +0000 (0:00:00.301) 0:00:03.540 **** 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:57:08 +0000 (0:00:00.041) 0:00:03.582 **** 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:57:08 +0000 (0:00:00.023) 0:00:03.605 **** 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:57:08 +0000 (0:00:00.023) 0:00:03.628 **** 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:57:08 +0000 (0:00:00.025) 0:00:03.654 **** 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:57:08 +0000 (0:00:00.025) 0:00:03.679 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-16.0.4095.4-1.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: libipt-1.6.1-8.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", "Installed: guile-5:2.0.14-7.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:57 +0000 (0:00:49.109) 0:00:52.789 **** 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:57 +0000 (0:00:00.016) 0:00:52.806 **** 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.005944", "end": "2023-12-06 13:57:57.519614", "rc": 0, "start": "2023-12-06 13:57:57.513670" } 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:57 +0000 (0:00:00.274) 0:00:53.080 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 13:57:59 +0000 (0:00:01.782) 0:00:54.863 **** 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:59 +0000 (0:00:00.032) 0:00:54.895 **** 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:59 +0000 (0:00:00.022) 0:00:54.918 **** 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:58:07 +0000 (0:00:08.421) 0:01:03.340 **** 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:58:07 +0000 (0:00:00.054) 0:01:03.394 **** 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:58:08 +0000 (0:00:00.311) 0:01:03.705 **** 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:58:08 +0000 (0:00:00.318) 0:01:04.024 **** 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:58:08 +0000 (0:00:00.033) 0:01:04.057 **** 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:58:08 +0000 (0:00:00.030) 0:01:04.087 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003656", "end": "2023-12-06 13:58:08.759738", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:08.756082" } 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:58:08 +0000 (0:00:00.267) 0:01:04.354 **** 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.139401", "end": "2023-12-06 13:58:09.194206", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:09.054805" } 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:58:09 +0000 (0:00:00.406) 0:01:04.761 **** 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:58:09 +0000 (0:00:00.019) 0:01:04.780 **** 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:58:09 +0000 (0:00:00.274) 0:01:05.055 **** 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:58:09 +0000 (0:00:00.270) 0:01:05.326 **** 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:58:09 +0000 (0:00:00.032) 0:01:05.359 **** 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:58:09 +0000 (0:00:00.029) 0:01:05.388 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003357", "end": "2023-12-06 13:58:10.068606", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:10.065249" } 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:58:10 +0000 (0:00:00.242) 0:01:05.631 **** 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.132401", "end": "2023-12-06 13:58:10.425365", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:10.292964" } 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:58:10 +0000 (0:00:00.360) 0:01:05.991 **** 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:58:10 +0000 (0:00:00.019) 0:01:06.011 **** 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:58:10 +0000 (0:00:00.027) 0:01:06.038 **** 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:58:13 +0000 (0:00:02.495) 0:01:08.533 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:51:25 UTC", "ActiveEnterTimestampMonotonic": "11707198", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket polkit.service dbus.service system.slice sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:51:24 UTC", "AssertTimestampMonotonic": "10760209", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ConditionTimestampMonotonic": "10760209", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service tlp.service shutdown.target 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": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ExecMainStartTimestampMonotonic": "10761407", "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:51:24 UTC", "InactiveExitTimestampMonotonic": "10761440", "InvocationID": "e3b36e06c4014f4288b85c90b4c28b3f", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "21684224", "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 sysinit.target dbus.socket 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": "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:51:25 UTC", "StateChangeTimestampMonotonic": "11707198", "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:51:25 UTC", "WatchdogTimestampMonotonic": "11707196", "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:58:13 +0000 (0:00:00.604) 0:01:09.137 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.127222", "end": "2023-12-06 13:58:13.933818", "rc": 0, "start": "2023-12-06 13:58:13.806596" } 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:58:13 +0000 (0:00:00.358) 0:01:09.496 **** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.153808", "end": "2023-12-06 13:58:16.302488", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:14.148680" } 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:16 +0000 (0:00:02.371) 0:01:11.867 **** 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:16 +0000 (0:00:00.017) 0:01:11.884 **** 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:16 +0000 (0:00:00.017) 0:01:11.902 **** 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:16 +0000 (0:00:00.242) 0:01:12.144 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 13:58:23 +0000 (0:00:06.562) 0:01:18.707 **** 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:23 +0000 (0:00:00.021) 0:01:18.729 **** 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:23 +0000 (0:00:00.020) 0:01:18.749 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : 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:23 +0000 (0:00:00.020) 0:01:18.769 **** 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:23 +0000 (0:00:00.019) 0:01:18.789 **** 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:23 +0000 (0:00:00.020) 0:01:18.809 **** 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:23 +0000 (0:00:00.021) 0:01:18.830 **** 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:23 +0000 (0:00:00.019) 0:01:18.849 **** 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:23 +0000 (0:00:00.019) 0:01:18.869 **** 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:23 +0000 (0:00:00.028) 0:01:18.897 **** 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:23 +0000 (0:00:00.022) 0:01:18.920 **** 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:23 +0000 (0:00:00.022) 0:01:18.943 **** 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:23 +0000 (0:00:00.021) 0:01:18.965 **** 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:23 +0000 (0:00:00.036) 0:01:19.002 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003198", "end": "2023-12-06 13:58:23.669805", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:23.666607" } 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:23 +0000 (0:00:00.229) 0:01:19.231 **** 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.131944", "end": "2023-12-06 13:58:24.027399", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:23.895455" } 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:24 +0000 (0:00:00.362) 0:01:19.594 **** 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:24 +0000 (0:00:00.018) 0:01:19.612 **** 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:24 +0000 (0:00:00.054) 0:01:19.666 **** 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:24 +0000 (0:00:00.027) 0:01:19.693 **** 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:24 +0000 (0:00:00.032) 0:01:19.726 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003212", "end": "2023-12-06 13:58:24.385470", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:58:24.382258" } 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:24 +0000 (0:00:00.221) 0:01:19.947 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.129402", "end": "2023-12-06 13:58:24.736558", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:24.607156" } 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:24 +0000 (0:00:00.356) 0:01:20.304 **** 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:24 +0000 (0:00:00.018) 0:01:20.322 **** 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:24 +0000 (0:00:00.027) 0:01:20.349 **** 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:24 +0000 (0:00:00.036) 0:01:20.386 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003177", "end": "2023-12-06 13:58:25.045316", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:25.042139" } 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:25 +0000 (0:00:00.220) 0:01:20.607 **** 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.131481", "end": "2023-12-06 13:58:25.398247", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:58:25.266766" } 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:25 +0000 (0:00:00.357) 0:01:20.964 **** 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:25 +0000 (0:00:00.017) 0:01:20.982 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 13:58:55 +0000 (0:00:29.700) 0:01:50.682 **** 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:59:03 +0000 (0:00:08.205) 0:01:58.888 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003272", "end": "2023-12-06 13:59:03.543800", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:03.540528" } 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:59:03 +0000 (0:00:00.216) 0:01:59.105 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.132455", "end": "2023-12-06 13:59:03.898396", "rc": 0, "start": "2023-12-06 13:59:03.765941" } 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:59:03 +0000 (0:00:00.354) 0:01:59.460 **** 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:03 +0000 (0:00:00.028) 0:01:59.488 **** 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:04 +0000 (0:00:00.058) 0:01:59.547 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003133", "end": "2023-12-06 13:59:04.209639", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:04.206506" } 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:59:04 +0000 (0:00:00.224) 0:01:59.771 **** 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.143096", "end": "2023-12-06 13:59:04.591646", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:04.448550" } 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:59:04 +0000 (0:00:00.385) 0:02:00.157 **** 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:04 +0000 (0:00:00.021) 0:02:00.178 **** 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:04 +0000 (0:00:00.036) 0:02:00.215 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003290", "end": "2023-12-06 13:59:04.886227", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:04.882937" } 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:59:04 +0000 (0:00:00.233) 0:02:00.448 **** 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.133066", "end": "2023-12-06 13:59:05.246285", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:05.113219" } 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:59:05 +0000 (0:00:00.362) 0:02:00.811 **** 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:05 +0000 (0:00:00.021) 0:02:00.832 **** 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:05 +0000 (0:00:00.019) 0:02:00.852 **** 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:05 +0000 (0:00:00.020) 0:02:00.873 **** 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:05 +0000 (0:00:00.021) 0:02:00.895 **** 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:05 +0000 (0:00:00.020) 0:02:00.915 **** 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:05 +0000 (0:00:00.020) 0:02:00.935 **** 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:05 +0000 (0:00:00.019) 0:02:00.955 **** 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:05 +0000 (0:00:00.020) 0:02:00.975 **** 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:05 +0000 (0:00:00.025) 0:02:01.001 **** 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:05 +0000 (0:00:00.024) 0:02:01.025 **** 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:05 +0000 (0:00:00.024) 0:02:01.050 **** 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:05 +0000 (0:00:00.086) 0:02:01.136 **** 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:05 +0000 (0:00:00.021) 0:02:01.157 **** 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:05 +0000 (0:00:00.017) 0:02:01.175 **** 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:05 +0000 (0:00:00.017) 0:02:01.193 **** 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:05 +0000 (0:00:00.017) 0:02:01.210 **** 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:05 +0000 (0:00:00.017) 0:02:01.228 **** 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:05 +0000 (0:00:00.017) 0:02:01.245 **** 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:05 +0000 (0:00:00.016) 0:02:01.261 **** 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:05 +0000 (0:00:00.017) 0:02:01.278 **** 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:05 +0000 (0:00:00.017) 0:02:01.296 **** 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:05 +0000 (0:00:00.016) 0:02:01.312 **** 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:05 +0000 (0:00:00.016) 0:02:01.329 **** 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:05 +0000 (0:00:00.016) 0:02:01.346 **** 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:05 +0000 (0:00:00.017) 0:02:01.363 **** 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:05 +0000 (0:00:00.017) 0:02:01.380 **** 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:05 +0000 (0:00:00.016) 0:02:01.396 **** 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:05 +0000 (0:00:00.017) 0:02:01.414 **** 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:05 +0000 (0:00:00.016) 0:02:01.431 **** 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:05 +0000 (0:00:00.042) 0:02:01.473 **** 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:05 +0000 (0:00:00.017) 0:02:01.491 **** 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:05 +0000 (0:00:00.017) 0:02:01.508 **** 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:05 +0000 (0:00:00.017) 0:02:01.525 **** 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:06 +0000 (0:00:00.016) 0:02:01.542 **** 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:06 +0000 (0:00:00.020) 0:02:01.563 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:59:06 +0000 (0:00:00.017) 0:02:01.580 **** 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:06 +0000 (0:00:00.017) 0:02:01.598 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : 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:06 +0000 (0:00:00.021) 0:02:01.619 **** 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:06 +0000 (0:00:00.017) 0:02:01.636 **** 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:06 +0000 (0:00:00.017) 0:02:01.654 **** 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:06 +0000 (0:00:00.016) 0:02:01.671 **** 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:06 +0000 (0:00:00.019) 0:02:01.690 **** 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:06 +0000 (0:00:00.018) 0:02:01.708 **** 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:06 +0000 (0:00:00.018) 0:02:01.727 **** 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:06 +0000 (0:00:00.019) 0:02:01.746 **** 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:06 +0000 (0:00:00.017) 0:02:01.764 **** 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:06 +0000 (0:00:00.018) 0:02:01.782 **** 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:06 +0000 (0:00:00.018) 0:02:01.801 **** 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:06 +0000 (0:00:00.043) 0:02:01.844 **** 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:06 +0000 (0:00:00.022) 0:02:01.867 **** 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:06 +0000 (0:00:00.017) 0:02:01.884 **** 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:06 +0000 (0:00:00.018) 0:02:01.903 **** 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:06 +0000 (0:00:00.019) 0:02:01.923 **** 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:06 +0000 (0:00:00.029) 0:02:01.952 **** 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:06 +0000 (0:00:00.020) 0:02:01.973 **** 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:06 +0000 (0:00:00.017) 0:02:01.990 **** 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:06 +0000 (0:00:00.018) 0:02:02.008 **** 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:06 +0000 (0:00:00.017) 0:02:02.026 **** 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:06 +0000 (0:00:00.335) 0:02:02.361 **** 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:06 +0000 (0:00:00.018) 0:02:02.380 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:07 UTC", "ActiveEnterTimestampMonotonic": "414240456", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service network.target systemd-journald.socket sysinit.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:58:07 UTC", "AssertTimestampMonotonic": "414239341", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:58:07 UTC", "ConditionTimestampMonotonic": "414239341", "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": "6912", "ExecMainStartTimestamp": "Wed 2023-12-06 13:58:07 UTC", "ExecMainStartTimestampMonotonic": "414240405", "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:58:07 UTC", "InactiveExitTimestampMonotonic": "414240456", "InvocationID": "4977233dfd494eabae1b157146daa86e", "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": "6912", "MemoryAccounting": "yes", "MemoryCurrent": "735629312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:58:07 UTC", "StateChangeTimestampMonotonic": "414240456", "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": "175", "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:07 UTC", "WatchdogTimestampMonotonic": "414240455", "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:07 +0000 (0:00:00.582) 0:02:02.962 **** 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:07 +0000 (0:00:00.017) 0:02:02.980 **** 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:59:07 +0000 (0:00:00.026) 0:02:03.006 **** 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:59:07 +0000 (0:00:00.087) 0:02:03.094 **** 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:59:07 +0000 (0:00:00.277) 0:02:03.372 **** 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:59:08 +0000 (0:00:00.242) 0:02:03.614 **** 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:59:08 +0000 (0:00:00.534) 0:02:04.149 **** 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:08 +0000 (0:00:00.160) 0:02:04.309 **** 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:08 +0000 (0:00:00.028) 0:02:04.338 **** 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:08 +0000 (0:00:00.024) 0:02:04.362 **** 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:08 +0000 (0:00:00.034) 0:02:04.397 **** 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:08 +0000 (0:00:00.022) 0:02:04.419 **** 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:08 +0000 (0:00:00.021) 0:02:04.441 **** 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:08 +0000 (0:00:00.017) 0:02:04.458 **** 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:08 +0000 (0:00:00.018) 0:02:04.476 **** 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:08 +0000 (0:00:00.017) 0:02:04.494 **** 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:09 +0000 (0:00:00.047) 0:02:04.541 **** 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:09 +0000 (0:00:00.018) 0:02:04.560 **** 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:09 +0000 (0:00:00.021) 0:02:04.582 **** 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:09 +0000 (0:00:00.017) 0:02:04.599 **** 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:09 +0000 (0:00:00.016) 0:02:04.616 **** 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:09 +0000 (0:00:00.018) 0:02:04.635 **** 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:09 +0000 (0:00:00.019) 0:02:04.654 **** 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:09 +0000 (0:00:00.020) 0:02:04.675 **** 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:10 +0000 (0:00:01.547) 0:02:06.222 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 13:59:10 +0000 (0:00:00.053) 0:02:06.276 **** 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:10 +0000 (0:00:00.018) 0:02:06.294 **** 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:10 +0000 (0:00:00.021) 0:02:06.316 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 13:59:10 +0000 (0:00:00.035) 0:02:06.352 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 13:59:11 +0000 (0:00:00.699) 0:02:07.052 **** 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:11 +0000 (0:00:00.020) 0:02:07.072 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 13:59:11 +0000 (0:00:00.051) 0:02:07.124 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 13:59:11 +0000 (0:00:00.020) 0:02:07.145 **** 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:11 +0000 (0:00:00.023) 0:02:07.168 **** 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:11 +0000 (0:00:00.018) 0:02:07.187 **** 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:11 +0000 (0:00:00.018) 0:02:07.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:11 +0000 (0:00:00.017) 0:02:07.223 **** 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:11 +0000 (0:00:00.018) 0:02:07.241 **** 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:11 +0000 (0:00:00.017) 0:02:07.259 **** 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:59:13 +0000 (0:00:01.514) 0:02:08.773 **** 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:59:13 +0000 (0:00:00.018) 0:02:08.792 **** 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.005966", "end": "2023-12-06 13:59:13.452981", "rc": 0, "start": "2023-12-06 13:59:13.447015" } 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:59:13 +0000 (0:00:00.225) 0:02:09.017 **** 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:17 +0000 (0:00:03.801) 0:02:12.819 **** 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:17 +0000 (0:00:00.027) 0:02:12.846 **** 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:17 +0000 (0:00:00.018) 0:02:12.865 **** 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:17 +0000 (0:00:00.018) 0:02:12.883 **** 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:17 +0000 (0:00:00.072) 0:02:12.955 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871088.46139, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871088.46239, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 83886284, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871088.46139, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "1043361630", "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:17 +0000 (0:00:00.226) 0:02:13.182 **** 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:17 +0000 (0:00:00.227) 0:02:13.409 **** 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:17 +0000 (0:00:00.028) 0:02:13.438 **** 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:17 +0000 (0:00:00.033) 0:02:13.471 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003359", "end": "2023-12-06 13:59:18.127050", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:18.123691" } 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:18 +0000 (0:00:00.221) 0:02:13.692 **** 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:18 +0000 (0:00:00.029) 0:02:13.722 **** 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:18 +0000 (0:00:00.023) 0:02:13.746 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871089.7623997, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871089.7633996, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 125829703, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871089.7623997, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "689990886", "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:18 +0000 (0:00:00.223) 0:02:13.969 **** 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:18 +0000 (0:00:00.229) 0:02:14.198 **** 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:18 +0000 (0:00:00.028) 0:02:14.227 **** 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:18 +0000 (0:00:00.033) 0:02:14.260 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003166", "end": "2023-12-06 13:59:18.918577", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:18.915411" } 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:18 +0000 (0:00:00.240) 0:02:14.500 **** 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:19 +0000 (0:00:00.041) 0:02:14.541 **** 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:19 +0000 (0:00:00.022) 0:02:14.564 **** 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:19 +0000 (0:00:00.061) 0:02:14.625 **** 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:20 +0000 (0:00:01.410) 0:02:16.035 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:51:25 UTC", "ActiveEnterTimestampMonotonic": "11707198", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket system.slice sysinit.target systemd-journald.socket polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:51:24 UTC", "AssertTimestampMonotonic": "10760209", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ConditionTimestampMonotonic": "10760209", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service shutdown.target cpupower.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": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ExecMainStartTimestampMonotonic": "10761407", "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:51:24 UTC", "InactiveExitTimestampMonotonic": "10761440", "InvocationID": "e3b36e06c4014f4288b85c90b4c28b3f", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "22880256", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service 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:51:25 UTC", "StateChangeTimestampMonotonic": "11707198", "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:51:25 UTC", "WatchdogTimestampMonotonic": "11707196", "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:20 +0000 (0:00:00.390) 0:02:16.426 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.127274", "end": "2023-12-06 13:59:21.208668", "rc": 0, "start": "2023-12-06 13:59:21.081394" } 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:21 +0000 (0:00:00.346) 0:02:16.772 **** 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:21 +0000 (0:00:00.019) 0:02:16.792 **** 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:21 +0000 (0:00:00.017) 0:02:16.809 **** 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:21 +0000 (0:00:00.019) 0:02:16.829 **** 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:21 +0000 (0:00:00.240) 0:02:17.070 **** 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:22 +0000 (0:00:01.420) 0:02:18.490 **** 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:22 +0000 (0:00:00.042) 0:02:18.532 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ActiveEnterTimestampMonotonic": "474053165", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ActiveExitTimestampMonotonic": "473844577", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:07 UTC", "AssertTimestampMonotonic": "474051996", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ConditionTimestampMonotonic": "474051996", "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": "8180", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ExecMainStartTimestampMonotonic": "474053109", "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:59:07 UTC", "InactiveEnterTimestampMonotonic": "474050881", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:07 UTC", "InactiveExitTimestampMonotonic": "474053165", "InvocationID": "96253b767c9140ef9af5bd77285a4d9e", "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": "8180", "MemoryAccounting": "yes", "MemoryCurrent": "867016704", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:07 UTC", "StateChangeTimestampMonotonic": "474053165", "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": "196", "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:07 UTC", "WatchdogTimestampMonotonic": "474053164", "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:23 +0000 (0:00:00.394) 0:02:18.927 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003243", "end": "2023-12-06 13:59:23.599250", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:23.596007" } 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:23 +0000 (0:00:00.237) 0:02:19.164 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003431", "end": "2023-12-06 13:59:23.827787", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:23.824356" } 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:23 +0000 (0:00:00.226) 0:02:19.391 **** 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:23 +0000 (0:00:00.030) 0:02:19.421 **** 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": 18863, "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:25 +0000 (0:00:01.349) 0:02:20.771 **** 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:25 +0000 (0:00:00.265) 0:02:21.037 **** 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:07 UTC", "ActiveEnterTimestampMonotonic": "474053165", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ActiveExitTimestampMonotonic": "473844577", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:07 UTC", "AssertTimestampMonotonic": "474051996", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ConditionTimestampMonotonic": "474051996", "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": "8180", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ExecMainStartTimestampMonotonic": "474053109", "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:59:07 UTC", "InactiveEnterTimestampMonotonic": "474050881", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:07 UTC", "InactiveExitTimestampMonotonic": "474053165", "InvocationID": "96253b767c9140ef9af5bd77285a4d9e", "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": "8180", "MemoryAccounting": "yes", "MemoryCurrent": "868651008", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:07 UTC", "StateChangeTimestampMonotonic": "474053165", "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": "197", "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:07 UTC", "WatchdogTimestampMonotonic": "474053164", "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:26 +0000 (0:00:00.595) 0:02:21.632 **** 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:27 +0000 (0:00:01.384) 0:02:23.017 **** 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:34 +0000 (0:00:07.351) 0:02:30.368 **** 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:34 +0000 (0:00:00.019) 0:02:30.388 **** 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:34 +0000 (0:00:00.019) 0:02:30.407 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005461", "end": "2023-12-06 13:59:35.066721", "rc": 0, "start": "2023-12-06 13:59:35.061260" } 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:35 +0000 (0:00:00.222) 0:02:30.629 **** 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:35 +0000 (0:00:00.021) 0:02:30.651 **** 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:36 +0000 (0:00:01.400) 0:02:32.051 **** 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:36 +0000 (0:00:00.020) 0:02:32.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 13:59:36 +0000 (0:00:00.034) 0:02:32.107 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003267", "end": "2023-12-06 13:59:36.765493", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:36.762226" } 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:36 +0000 (0:00:00.222) 0:02:32.330 **** 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:36 +0000 (0:00:00.054) 0:02:32.384 **** 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:36 +0000 (0:00:00.018) 0:02:32.403 **** 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:36 +0000 (0:00:00.019) 0:02:32.422 **** 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:36 +0000 (0:00:00.019) 0:02:32.442 **** 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:36 +0000 (0:00:00.032) 0:02:32.474 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003318", "end": "2023-12-06 13:59:37.136698", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:59:37.133380" } 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:37 +0000 (0:00:00.225) 0:02:32.700 **** 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.139309", "end": "2023-12-06 13:59:37.505664", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:37.366355" } 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:37 +0000 (0:00:00.371) 0:02:33.072 **** 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:37 +0000 (0:00:00.019) 0:02:33.091 **** 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:37 +0000 (0:00:00.019) 0:02:33.111 **** 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:37 +0000 (0:00:00.036) 0:02:33.147 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003505", "end": "2023-12-06 13:59:37.811192", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:37.807687" } 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:37 +0000 (0:00:00.229) 0:02:33.376 **** 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:37 +0000 (0:00:00.022) 0:02:33.399 **** 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:37 +0000 (0:00:00.018) 0:02:33.417 **** 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:39 +0000 (0:00:01.433) 0:02:34.850 **** 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:40 +0000 (0:00:01.422) 0:02:36.273 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003618", "end": "2023-12-06 13:59:40.939650", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:40.936032" } 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:40 +0000 (0:00:00.260) 0:02:36.533 **** 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:41 +0000 (0:00:00.021) 0:02:36.555 **** 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:41 +0000 (0:00:00.021) 0:02:36.576 **** 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:41 +0000 (0:00:00.034) 0:02:36.611 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003495", "end": "2023-12-06 13:59:41.270308", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:41.266813" } 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:41 +0000 (0:00:00.225) 0:02:36.837 **** 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:41 +0000 (0:00:00.026) 0:02:36.864 **** 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:41 +0000 (0:00:00.020) 0:02:36.884 **** 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:41 +0000 (0:00:00.056) 0:02:36.941 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003320", "end": "2023-12-06 13:59:41.605302", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:41.601982" } 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:41 +0000 (0:00:00.243) 0:02:37.184 **** 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:41 +0000 (0:00:00.040) 0:02:37.225 **** 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:41 +0000 (0:00:00.036) 0:02:37.261 **** 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:41 +0000 (0:00:00.020) 0:02:37.281 **** 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:41 +0000 (0:00:00.019) 0:02:37.301 **** 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:41 +0000 (0:00:00.021) 0:02:37.322 **** 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:41 +0000 (0:00:00.018) 0:02:37.340 **** 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:41 +0000 (0:00:00.046) 0:02:37.387 **** 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:41 +0000 (0:00:00.019) 0:02:37.407 **** 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:41 +0000 (0:00:00.022) 0:02:37.429 **** 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:41 +0000 (0:00:00.019) 0:02:37.449 **** 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:41 +0000 (0:00:00.019) 0:02:37.468 **** 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:41 +0000 (0:00:00.024) 0:02:37.493 **** 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:41 +0000 (0:00:00.022) 0:02:37.515 **** 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:42 +0000 (0:00:00.022) 0:02:37.538 **** 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:42 +0000 (0:00:00.019) 0:02:37.558 **** 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:42 +0000 (0:00:00.021) 0:02:37.579 **** 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:42 +0000 (0:00:00.020) 0:02:37.599 **** 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:42 +0000 (0:00:00.023) 0:02:37.623 **** 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:42 +0000 (0:00:00.018) 0:02:37.642 **** 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:42 +0000 (0:00:00.017) 0:02:37.660 **** 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:42 +0000 (0:00:00.017) 0:02:37.677 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : 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:42 +0000 (0:00:00.017) 0:02:37.694 **** 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:42 +0000 (0:00:00.047) 0:02:37.742 **** 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:42 +0000 (0:00:00.018) 0:02:37.761 **** 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:42 +0000 (0:00:00.017) 0:02:37.778 **** 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:42 +0000 (0:00:00.018) 0:02:37.796 **** 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:42 +0000 (0:00:00.018) 0:02:37.815 **** 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:42 +0000 (0:00:00.020) 0:02:37.835 **** 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:42 +0000 (0:00:00.025) 0:02:37.861 **** 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:42 +0000 (0:00:00.019) 0:02:37.880 **** 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:42 +0000 (0:00:00.020) 0:02:37.901 **** 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:42 +0000 (0:00:00.018) 0:02:37.920 **** 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:42 +0000 (0:00:00.018) 0:02:37.939 **** 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:42 +0000 (0:00:00.018) 0:02:37.957 **** 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:42 +0000 (0:00:00.017) 0:02:37.975 **** 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:42 +0000 (0:00:00.021) 0:02:37.996 **** 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:42 +0000 (0:00:00.018) 0:02:38.014 **** 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:42 +0000 (0:00:00.017) 0:02:38.032 **** 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:42 +0000 (0:00:00.022) 0:02:38.054 **** 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:42 +0000 (0:00:00.053) 0:02:38.107 **** 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:42 +0000 (0:00:00.019) 0:02:38.127 **** 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:42 +0000 (0:00:00.018) 0:02:38.146 **** 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:42 +0000 (0:00:00.018) 0:02:38.165 **** 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:42 +0000 (0:00:00.018) 0:02:38.183 **** 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:42 +0000 (0:00:00.026) 0:02:38.210 **** 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:42 +0000 (0:00:00.030) 0:02:38.241 **** 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:42 +0000 (0:00:00.031) 0:02:38.272 **** 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:42 +0000 (0:00:00.021) 0:02:38.294 **** 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:42 +0000 (0:00:00.020) 0:02:38.315 **** 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:42 +0000 (0:00:00.026) 0:02:38.341 **** 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:42 +0000 (0:00:00.023) 0:02:38.365 **** 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:42 +0000 (0:00:00.019) 0:02:38.385 **** 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:42 +0000 (0:00:00.018) 0:02:38.404 **** 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:42 +0000 (0:00:00.020) 0:02:38.424 **** 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:42 +0000 (0:00:00.019) 0:02:38.443 **** 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:42 +0000 (0:00:00.024) 0:02:38.468 **** 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:42 +0000 (0:00:00.049) 0:02:38.517 **** 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:43 +0000 (0:00:00.019) 0:02:38.536 **** 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:43 +0000 (0:00:00.018) 0:02:38.554 **** 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:43 +0000 (0:00:00.262) 0:02:38.817 **** 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:43 +0000 (0:00:00.019) 0:02:38.837 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ActiveEnterTimestampMonotonic": "474053165", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:25 UTC", "ActiveExitTimestampMonotonic": "492525211", "ActiveState": "inactive", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:07 UTC", "AssertTimestampMonotonic": "474051996", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ConditionTimestampMonotonic": "474051996", "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:26 UTC", "ExecMainExitTimestampMonotonic": "492687486", "ExecMainPID": "8180", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:07 UTC", "ExecMainStartTimestampMonotonic": "474053109", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:07 UTC] ; stop_time=[Wed 2023-12-06 13:59:26 UTC] ; pid=8180 ; 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:26 UTC", "InactiveEnterTimestampMonotonic": "492687572", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:07 UTC", "InactiveExitTimestampMonotonic": "474053165", "InvocationID": "96253b767c9140ef9af5bd77285a4d9e", "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": "sysinit.target system.slice -.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": "492687572", "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:44 +0000 (0:00:01.395) 0:02:40.232 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:59:44 +0000 (0:00:00.020) 0:02:40.253 **** 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:44 +0000 (0:00:00.029) 0:02:40.282 **** 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:44 +0000 (0:00:00.105) 0:02:40.388 **** 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.006950", "end": "2023-12-06 13:59:45.067242", "rc": 0, "start": "2023-12-06 13:59:45.060292" } 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:45 +0000 (0:00:00.242) 0:02:40.630 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.006228", "end": "2023-12-06 13:59:45.303634", "rc": 0, "start": "2023-12-06 13:59:45.297406" } 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:45 +0000 (0:00:00.236) 0:02:40.867 **** 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:45 +0000 (0:00:00.021) 0:02:40.889 **** 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:45 +0000 (0:00:00.081) 0:02:40.970 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005032", "end": "2023-12-06 13:59:45.642644", "rc": 0, "start": "2023-12-06 13:59:45.637612" } 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:45 +0000 (0:00:00.235) 0:02:41.205 **** 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:45 +0000 (0:00:00.025) 0:02:41.230 **** 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:45 +0000 (0:00:00.019) 0:02:41.250 **** 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:45 +0000 (0:00:00.017) 0:02:41.268 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004729", "end": "2023-12-06 13:59:45.937357", "rc": 0, "start": "2023-12-06 13:59:45.932628" } 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:45 +0000 (0:00:00.233) 0:02:41.501 **** 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:45 +0000 (0:00:00.020) 0:02:41.521 **** 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:46 +0000 (0:00:00.019) 0:02:41.540 **** 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:46 +0000 (0:00:00.024) 0:02:41.564 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004781", "end": "2023-12-06 13:59:46.271541", "rc": 0, "start": "2023-12-06 13:59:46.266760" } 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:46 +0000 (0:00:00.269) 0:02:41.834 **** 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:46 +0000 (0:00:00.025) 0:02:41.859 **** 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:46 +0000 (0:00:00.019) 0:02:41.879 **** 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:46 +0000 (0:00:00.020) 0:02:41.899 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005042", "end": "2023-12-06 13:59:46.607005", "rc": 0, "start": "2023-12-06 13:59:46.601963" } 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:46 +0000 (0:00:00.270) 0:02:42.170 **** 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:46 +0000 (0:00:00.024) 0:02:42.195 **** 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:46 +0000 (0:00:00.018) 0:02:42.213 **** 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:46 +0000 (0:00:00.051) 0:02:42.265 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004967", "end": "2023-12-06 13:59:46.958020", "rc": 0, "start": "2023-12-06 13:59:46.953053" } 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:46 +0000 (0:00:00.260) 0:02:42.525 **** 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:47 +0000 (0:00:00.019) 0:02:42.545 **** 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:47 +0000 (0:00:00.025) 0:02:42.570 **** 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:47 +0000 (0:00:00.018) 0:02:42.589 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871088.46139, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871088.46239, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 83886284, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871088.46139, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "1043361630", "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:47 +0000 (0:00:00.230) 0:02:42.820 **** 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:47 +0000 (0:00:00.023) 0:02:42.843 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871089.7623997, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701871089.7633996, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 125829703, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701871089.7623997, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "689990886", "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:47 +0000 (0:00:00.221) 0:02:43.065 **** 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:47 +0000 (0:00:00.022) 0:02:43.087 **** 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:47 +0000 (0:00:00.035) 0:02:43.122 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ActiveEnterTimestampMonotonic": "511317341", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:25 UTC", "ActiveExitTimestampMonotonic": "492525211", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:44 UTC", "AssertTimestampMonotonic": "511316066", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ConditionTimestampMonotonic": "511316066", "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": "9499", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ExecMainStartTimestampMonotonic": "511317287", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:44 UTC] ; stop_time=[n/a] ; pid=9499 ; 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:26 UTC", "InactiveEnterTimestampMonotonic": "492687572", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:44 UTC", "InactiveExitTimestampMonotonic": "511317341", "InvocationID": "7c899e40497a48fb995819c8a1b3faed", "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": "9499", "MemoryAccounting": "yes", "MemoryCurrent": "553562112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:44 UTC", "StateChangeTimestampMonotonic": "511317341", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "123", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:59:44 UTC", "WatchdogTimestampMonotonic": "511317339", "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:47 +0000 (0:00:00.378) 0:02:43.501 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004065", "end": "2023-12-06 13:59:48.187141", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:48.183076" } 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:48 +0000 (0:00:00.251) 0:02:43.753 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.006256", "end": "2023-12-06 13:59:48.513830", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:59:48.507574" } 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:48 +0000 (0:00:00.328) 0:02:44.081 **** 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:48 +0000 (0:00:00.036) 0:02:44.118 **** 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": 20632, "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:00:06 +0000 (0:00:18.396) 0:03:02.515 **** 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.026989", "end": "2023-12-06 14:00:07.206782", "rc": 0, "start": "2023-12-06 14:00:07.179793" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (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:00:07 +0000 (0:00:00.254) 0:03:02.769 **** 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:00:07 +0000 (0:00:00.027) 0:03:02.797 **** 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:00:07 +0000 (0:00:00.032) 0:03:02.829 **** 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:00:08 +0000 (0:00:01.361) 0:03:04.190 **** 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 14:00:08 +0000 (0:00:00.027) 0:03:04.218 **** 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 14:00:08 +0000 (0:00:00.018) 0:03:04.236 **** 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:00:08 +0000 (0:00:00.031) 0:03:04.268 **** 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:00:10 +0000 (0:00:01.362) 0:03:05.630 **** 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 14:00:10 +0000 (0:00:00.026) 0:03:05.657 **** 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 14:00:10 +0000 (0:00:00.017) 0:03:05.675 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004621", "end": "2023-12-06 14:00:10.326814", "rc": 0, "start": "2023-12-06 14:00:10.322193" } 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 14:00:10 +0000 (0:00:00.247) 0:03:05.922 **** 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 14:00:10 +0000 (0:00:00.022) 0:03:05.945 **** 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 14:00:10 +0000 (0:00:00.019) 0:03:05.964 **** 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:00:10 +0000 (0:00:00.031) 0:03:05.996 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004573", "end": "2023-12-06 14:00:10.647578", "rc": 0, "start": "2023-12-06 14:00:10.643005" } 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:00:10 +0000 (0:00:00.213) 0:03:06.209 **** 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:00:10 +0000 (0:00:00.020) 0:03:06.229 **** 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:00:10 +0000 (0:00:00.024) 0:03:06.254 **** 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:00:10 +0000 (0:00:00.019) 0:03:06.273 **** 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:00:10 +0000 (0:00:00.032) 0:03:06.306 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004516", "end": "2023-12-06 14:00:10.956611", "rc": 0, "start": "2023-12-06 14:00:10.952095" } 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 14:00:10 +0000 (0:00:00.211) 0:03:06.517 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:00:11 +0000 (0:00:00.022) 0:03:06.540 **** 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 14:00:11 +0000 (0:00:00.026) 0:03:06.567 **** 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:00:11 +0000 (0:00:00.020) 0:03:06.587 **** 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:00:11 +0000 (0:00:00.020) 0:03:06.607 **** 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:00:11 +0000 (0:00:00.050) 0:03:06.657 **** 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:00:11 +0000 (0:00:00.019) 0:03:06.677 **** 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:00:11 +0000 (0:00:00.018) 0:03:06.695 **** 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:00:11 +0000 (0:00:00.019) 0:03:06.715 **** 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:00:11 +0000 (0:00:00.018) 0:03:06.733 **** 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 14:00:11 +0000 (0:00:00.018) 0:03:06.752 **** 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:11 +0000 (0:00:00.235) 0:03:06.987 **** 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:11 +0000 (0:00:00.029) 0:03:07.017 **** 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:11 +0000 (0:00:00.023) 0:03:07.040 **** 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:11 +0000 (0:00:00.034) 0:03:07.075 **** 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:11 +0000 (0:00:00.020) 0:03:07.095 **** 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:11 +0000 (0:00:00.066) 0:03:07.161 **** 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:11 +0000 (0:00:00.033) 0:03:07.194 **** 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:11 +0000 (0:00:00.020) 0:03:07.215 **** 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:11 +0000 (0:00:00.024) 0:03:07.239 **** 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:11 +0000 (0:00:00.021) 0:03:07.260 **** 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:11 +0000 (0:00:00.020) 0:03:07.281 **** 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:11 +0000 (0:00:00.023) 0:03:07.305 **** 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:11 +0000 (0:00:00.019) 0:03:07.324 **** 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:11 +0000 (0:00:00.018) 0:03:07.342 **** 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:11 +0000 (0:00:00.017) 0:03:07.360 **** 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:11 +0000 (0:00:00.020) 0:03:07.381 **** 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:11 +0000 (0:00:00.021) 0:03:07.402 **** 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:13 +0000 (0:00:01.358) 0:03:08.761 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:00:13 +0000 (0:00:00.054) 0:03:08.816 **** 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:13 +0000 (0:00:00.064) 0:03:08.880 **** 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:13 +0000 (0:00:00.025) 0:03:08.906 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:00:13 +0000 (0:00:00.037) 0:03:08.944 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:00:16 +0000 (0:00:02.779) 0:03:11.723 **** 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:16 +0000 (0:00:00.020) 0:03:11.744 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:00:16 +0000 (0:00:00.019) 0:03:11.764 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:00:16 +0000 (0:00:00.020) 0:03:11.785 **** 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:16 +0000 (0:00:00.022) 0:03:11.807 **** 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:16 +0000 (0:00:00.018) 0:03:11.826 **** 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:16 +0000 (0:00:00.017) 0:03:11.843 **** 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:16 +0000 (0:00:00.018) 0:03:11.862 **** 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:16 +0000 (0:00:00.018) 0:03:11.880 **** 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:16 +0000 (0:00:00.019) 0:03:11.900 **** 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:17 +0000 (0:00:01.457) 0:03:13.358 **** 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:17 +0000 (0:00:00.018) 0:03:13.376 **** 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.006617", "end": "2023-12-06 14:00:18.052087", "rc": 0, "start": "2023-12-06 14:00:18.045470" } 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:18 +0000 (0:00:00.241) 0:03:13.617 **** 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:22 +0000 (0:00:03.948) 0:03:17.566 **** 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:22 +0000 (0:00:00.028) 0:03:17.594 **** 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:22 +0000 (0:00:00.017) 0:03:17.612 **** 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:22 +0000 (0:00:00.018) 0:03:17.630 **** 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:22 +0000 (0:00:00.041) 0:03:17.672 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871087.4603825, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871087.4253824, "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": 1701871087.4253824, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2656385026", "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:22 +0000 (0:00:00.226) 0:03:17.899 **** 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:22 +0000 (0:00:00.233) 0:03:18.132 **** 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:22 +0000 (0:00:00.026) 0:03:18.159 **** 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:22 +0000 (0:00:00.032) 0:03:18.191 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004461", "end": "2023-12-06 14:00:23.847684", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:22.843223" } 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:23 +0000 (0:00:01.220) 0:03:19.411 **** 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.144899", "end": "2023-12-06 14:00:24.220440", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:24.075541" } 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:24 +0000 (0:00:00.377) 0:03:19.789 **** 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:24 +0000 (0:00:00.020) 0:03:19.810 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871189.8071601, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871189.80516, "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": 1701871189.80516, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1089580524", "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:24 +0000 (0:00:00.236) 0:03:20.046 **** 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:24 +0000 (0:00:00.235) 0:03:20.281 **** 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:24 +0000 (0:00:00.081) 0:03:20.363 **** 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:24 +0000 (0:00:00.033) 0:03:20.396 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004714", "end": "2023-12-06 14:00:26.058140", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:25.053426" } 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:26 +0000 (0:00:01.227) 0:03:21.624 **** 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.137126", "end": "2023-12-06 14:00:26.427584", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:26.290458" } 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:26 +0000 (0:00:00.370) 0:03:21.994 **** 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:26 +0000 (0:00:00.020) 0:03:22.014 **** 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:26 +0000 (0:00:00.020) 0:03:22.035 **** 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:27 +0000 (0:00:01.367) 0:03:23.402 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:51:25 UTC", "ActiveEnterTimestampMonotonic": "11707198", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket system.slice sysinit.target systemd-journald.socket polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:51:24 UTC", "AssertTimestampMonotonic": "10760209", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ConditionTimestampMonotonic": "10760209", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service shutdown.target cpupower.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": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ExecMainStartTimestampMonotonic": "10761407", "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:51:24 UTC", "InactiveExitTimestampMonotonic": "10761440", "InvocationID": "e3b36e06c4014f4288b85c90b4c28b3f", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "22654976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service 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:51:25 UTC", "StateChangeTimestampMonotonic": "11707198", "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:51:25 UTC", "WatchdogTimestampMonotonic": "11707196", "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:28 +0000 (0:00:00.384) 0:03:23.787 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.125812", "end": "2023-12-06 14:00:28.564559", "rc": 0, "start": "2023-12-06 14:00:28.438747" } 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:28 +0000 (0:00:00.341) 0:03:24.129 **** 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:28 +0000 (0:00:00.018) 0:03:24.147 **** 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:28 +0000 (0:00:00.018) 0:03:24.166 **** 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:28 +0000 (0:00:00.018) 0:03:24.184 **** 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:28 +0000 (0:00:00.219) 0:03:24.404 **** 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:30 +0000 (0:00:01.329) 0:03:25.734 **** 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:30 +0000 (0:00:00.033) 0:03:25.767 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ActiveEnterTimestampMonotonic": "511317341", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:25 UTC", "ActiveExitTimestampMonotonic": "492525211", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:44 UTC", "AssertTimestampMonotonic": "511316066", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ConditionTimestampMonotonic": "511316066", "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": "9499", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ExecMainStartTimestampMonotonic": "511317287", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:44 UTC] ; stop_time=[n/a] ; pid=9499 ; 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:26 UTC", "InactiveEnterTimestampMonotonic": "492687572", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:44 UTC", "InactiveExitTimestampMonotonic": "511317341", "InvocationID": "7c899e40497a48fb995819c8a1b3faed", "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": "9499", "MemoryAccounting": "yes", "MemoryCurrent": "800047104", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:44 UTC", "StateChangeTimestampMonotonic": "511317341", "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": "190", "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:44 UTC", "WatchdogTimestampMonotonic": "511317339", "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:30 +0000 (0:00:00.408) 0:03:26.175 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003322", "end": "2023-12-06 14:00:30.832698", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:30.829376" } 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:30 +0000 (0:00:00.220) 0:03:26.396 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003169", "end": "2023-12-06 14:00:31.053933", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:31.050764" } 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:31 +0000 (0:00:00.220) 0:03:26.616 **** 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:31 +0000 (0:00:00.027) 0:03:26.644 **** 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": 21118, "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:32 +0000 (0:00:01.218) 0:03:27.863 **** 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:32 +0000 (0:00:00.241) 0:03:28.104 **** 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:44 UTC", "ActiveEnterTimestampMonotonic": "511317341", "ActiveExitTimestamp": "Wed 2023-12-06 13:59:25 UTC", "ActiveExitTimestampMonotonic": "492525211", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:44 UTC", "AssertTimestampMonotonic": "511316066", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ConditionTimestampMonotonic": "511316066", "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": "9499", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ExecMainStartTimestampMonotonic": "511317287", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:44 UTC] ; stop_time=[n/a] ; pid=9499 ; 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:26 UTC", "InactiveEnterTimestampMonotonic": "492687572", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:44 UTC", "InactiveExitTimestampMonotonic": "511317341", "InvocationID": "7c899e40497a48fb995819c8a1b3faed", "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": "9499", "MemoryAccounting": "yes", "MemoryCurrent": "800206848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:44 UTC", "StateChangeTimestampMonotonic": "511317341", "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": "190", "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:44 UTC", "WatchdogTimestampMonotonic": "511317339", "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:33 +0000 (0:00:00.551) 0:03:28.656 **** 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:34 +0000 (0:00:01.370) 0:03:30.027 **** 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:41 +0000 (0:00:07.369) 0:03:37.396 **** 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:41 +0000 (0:00:00.018) 0:03:37.415 **** 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:41 +0000 (0:00:00.018) 0:03:37.433 **** 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.005444", "end": "2023-12-06 14:00:42.094823", "rc": 0, "start": "2023-12-06 14:00:42.089379" } 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:42 +0000 (0:00:00.225) 0:03:37.659 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ActiveEnterTimestampMonotonic": "511317341", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:32 UTC", "ActiveExitTimestampMonotonic": "559573660", "ActiveState": "inactive", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:44 UTC", "AssertTimestampMonotonic": "511316066", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ConditionTimestampMonotonic": "511316066", "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:33 UTC", "ExecMainExitTimestampMonotonic": "559745831", "ExecMainPID": "9499", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ExecMainStartTimestampMonotonic": "511317287", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:44 UTC] ; stop_time=[Wed 2023-12-06 14:00:33 UTC] ; pid=9499 ; 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:33 UTC", "InactiveEnterTimestampMonotonic": "559746055", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:44 UTC", "InactiveExitTimestampMonotonic": "511317341", "InvocationID": "7c899e40497a48fb995819c8a1b3faed", "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": "sysinit.target system.slice -.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:33 UTC", "StateChangeTimestampMonotonic": "559746055", "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:42 +0000 (0:00:00.372) 0:03:38.031 **** 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:43 +0000 (0:00:01.459) 0:03:39.490 **** 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:51 +0000 (0:00:07.283) 0:03:46.773 **** 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:51 +0000 (0:00:00.034) 0:03:46.808 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003345", "end": "2023-12-06 14:00:51.461509", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:51.458164" } 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:51 +0000 (0:00:00.216) 0:03:47.024 **** 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.134537", "end": "2023-12-06 14:00:51.816484", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:51.681947" } 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:51 +0000 (0:00:00.357) 0:03:47.382 **** 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:51 +0000 (0:00:00.019) 0:03:47.402 **** 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:51 +0000 (0:00:00.019) 0:03:47.422 **** 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:51 +0000 (0:00:00.019) 0:03:47.441 **** 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:51 +0000 (0:00:00.031) 0:03:47.473 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003257", "end": "2023-12-06 14:00:52.126830", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:52.123573" } 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:52 +0000 (0:00:00.216) 0:03:47.690 **** 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.131582", "end": "2023-12-06 14:00:52.476217", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:52.344635" } 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:52 +0000 (0:00:00.351) 0:03:48.041 **** 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:52 +0000 (0:00:00.019) 0:03:48.061 **** 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:52 +0000 (0:00:00.018) 0:03:48.079 **** 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:52 +0000 (0:00:00.084) 0:03:48.163 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003185", "end": "2023-12-06 14:00:52.820791", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:52.817606" } 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:52 +0000 (0:00:00.220) 0:03:48.384 **** 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.133229", "end": "2023-12-06 14:00:53.172336", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:53.039107" } 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:53 +0000 (0:00:00.353) 0:03:48.738 **** 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:53 +0000 (0:00:00.019) 0:03:48.757 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:00:55 +0000 (0:00:01.817) 0:03:50.574 **** 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:56 +0000 (0:00:01.907) 0:03:52.482 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003697", "end": "2023-12-06 14:00:57.143817", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:57.140120" } 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:57 +0000 (0:00:00.225) 0:03:52.708 **** 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:57 +0000 (0:00:00.021) 0:03:52.729 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.136136", "end": "2023-12-06 14:00:57.519451", "rc": 0, "start": "2023-12-06 14:00:57.383315" } 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:57 +0000 (0:00:00.355) 0:03:53.085 **** 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:57 +0000 (0:00:00.033) 0:03:53.119 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003569", "end": "2023-12-06 14:00:57.776866", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:57.773297" } 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:57 +0000 (0:00:00.221) 0:03:53.340 **** 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:57 +0000 (0:00:00.025) 0:03:53.366 **** 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:57 +0000 (0:00:00.019) 0:03:53.385 **** 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:57 +0000 (0:00:00.033) 0:03:53.419 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003367", "end": "2023-12-06 14:00:58.073787", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:58.070420" } 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:58 +0000 (0:00:00.216) 0:03:53.636 **** 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.132168", "end": "2023-12-06 14:00:58.423971", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:00:58.291803" } 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:58 +0000 (0:00:00.396) 0:03:54.032 **** 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:58 +0000 (0:00:00.022) 0:03:54.054 **** 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:58 +0000 (0:00:00.019) 0:03:54.074 **** 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:58 +0000 (0:00:00.019) 0:03:54.094 **** 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:58 +0000 (0:00:00.022) 0:03:54.116 **** 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:58 +0000 (0:00:00.018) 0:03:54.135 **** 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:58 +0000 (0:00:00.019) 0:03:54.154 **** 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:58 +0000 (0:00:00.019) 0:03:54.174 **** 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:58 +0000 (0:00:00.019) 0:03:54.193 **** 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:58 +0000 (0:00:00.020) 0:03:54.213 **** 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:58 +0000 (0:00:00.020) 0:03:54.233 **** 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:58 +0000 (0:00:00.018) 0:03:54.252 **** 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:58 +0000 (0:00:00.022) 0:03:54.274 **** 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:58 +0000 (0:00:00.022) 0:03:54.297 **** 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:58 +0000 (0:00:00.019) 0:03:54.317 **** 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:58 +0000 (0:00:00.020) 0:03:54.337 **** 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:58 +0000 (0:00:00.066) 0:03:54.404 **** 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:58 +0000 (0:00:00.020) 0:03:54.424 **** 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:58 +0000 (0:00:00.026) 0:03:54.451 **** 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:58 +0000 (0:00:00.021) 0:03:54.472 **** 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:58 +0000 (0:00:00.020) 0:03:54.492 **** 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:58 +0000 (0:00:00.021) 0:03:54.514 **** 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:59 +0000 (0:00:00.021) 0:03:54.535 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure 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:59 +0000 (0:00:00.019) 0:03:54.555 **** 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:59 +0000 (0:00:00.019) 0:03:54.574 **** 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:59 +0000 (0:00:00.024) 0:03:54.599 **** 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:59 +0000 (0:00:00.019) 0:03:54.619 **** 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:59 +0000 (0:00:00.019) 0:03:54.638 **** 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:59 +0000 (0:00:00.019) 0:03:54.657 **** 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:59 +0000 (0:00:00.018) 0:03:54.676 **** 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:59 +0000 (0:00:00.019) 0:03:54.695 **** 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:59 +0000 (0:00:00.018) 0:03:54.714 **** 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:59 +0000 (0:00:00.017) 0:03:54.732 **** 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:59 +0000 (0:00:00.063) 0:03:54.795 **** 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:59 +0000 (0:00:00.019) 0:03:54.815 **** 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:59 +0000 (0:00:00.022) 0:03:54.837 **** 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:59 +0000 (0:00:00.019) 0:03:54.856 **** 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:59 +0000 (0:00:00.018) 0:03:54.874 **** 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:59 +0000 (0:00:00.023) 0:03:54.898 **** 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:59 +0000 (0:00:00.019) 0:03:54.917 **** 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:59 +0000 (0:00:00.018) 0:03:54.935 **** 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:59 +0000 (0:00:00.019) 0:03:54.954 **** 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:59 +0000 (0:00:00.019) 0:03:54.973 **** 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:59 +0000 (0:00:00.018) 0:03:54.992 **** 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:59 +0000 (0:00:00.019) 0:03:55.011 **** 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:59 +0000 (0:00:00.019) 0:03:55.030 **** 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:59 +0000 (0:00:00.018) 0:03:55.049 **** 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:59 +0000 (0:00:00.019) 0:03:55.068 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate 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:59 +0000 (0:00:00.018) 0:03:55.087 **** 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:59 +0000 (0:00:00.018) 0:03:55.105 **** 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:59 +0000 (0:00:00.068) 0:03:55.173 **** 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:59 +0000 (0:00:00.019) 0:03:55.193 **** 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:59 +0000 (0:00:00.018) 0:03:55.212 **** 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:59 +0000 (0:00:00.020) 0:03:55.232 **** 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:59 +0000 (0:00:00.025) 0:03:55.257 **** 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:59 +0000 (0:00:00.025) 0:03:55.283 **** 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:59 +0000 (0:00:00.020) 0:03:55.304 **** 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:59 +0000 (0:00:00.021) 0:03:55.326 **** 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:59 +0000 (0:00:00.021) 0:03:55.347 **** 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:01:00 +0000 (0:00:00.256) 0:03:55.604 **** 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:00 +0000 (0:00:00.020) 0:03:55.624 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ActiveEnterTimestampMonotonic": "511317341", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:32 UTC", "ActiveExitTimestampMonotonic": "559573660", "ActiveState": "inactive", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:59:44 UTC", "AssertTimestampMonotonic": "511316066", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ConditionTimestampMonotonic": "511316066", "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:33 UTC", "ExecMainExitTimestampMonotonic": "559745831", "ExecMainPID": "9499", "ExecMainStartTimestamp": "Wed 2023-12-06 13:59:44 UTC", "ExecMainStartTimestampMonotonic": "511317287", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:59:44 UTC] ; stop_time=[Wed 2023-12-06 14:00:33 UTC] ; pid=9499 ; 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:33 UTC", "InactiveEnterTimestampMonotonic": "559746055", "InactiveExitTimestamp": "Wed 2023-12-06 13:59:44 UTC", "InactiveExitTimestampMonotonic": "511317341", "InvocationID": "7c899e40497a48fb995819c8a1b3faed", "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": "sysinit.target system.slice -.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:33 UTC", "StateChangeTimestampMonotonic": "559746055", "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:00 +0000 (0:00:00.376) 0:03:56.001 **** 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:00 +0000 (0:00:00.019) 0:03:56.021 **** 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:01:00 +0000 (0:00:00.032) 0:03:56.053 **** 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:01:00 +0000 (0:00:00.363) 0:03:56.417 **** 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:01:00 +0000 (0:00:00.032) 0:03:56.449 **** 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:01:00 +0000 (0:00:00.029) 0:03:56.479 **** 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:01:00 +0000 (0:00:00.037) 0:03:56.516 **** 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:01:01 +0000 (0:00:00.020) 0:03:56.537 **** 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:01:01 +0000 (0:00:00.020) 0:03:56.557 **** 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:01:01 +0000 (0:00:00.019) 0:03:56.577 **** 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:01:01 +0000 (0:00:00.022) 0:03:56.600 **** 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:01:01 +0000 (0:00:00.020) 0:03:56.620 **** 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:01:01 +0000 (0:00:00.020) 0:03:56.640 **** 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:01:01 +0000 (0:00:00.068) 0:03:56.708 **** 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:01:01 +0000 (0:00:00.024) 0:03:56.733 **** 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:01:01 +0000 (0:00:00.019) 0:03:56.752 **** 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:01:01 +0000 (0:00:00.019) 0:03:56.772 **** 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:01:01 +0000 (0:00:00.019) 0:03:56.791 **** 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:01:01 +0000 (0:00:00.029) 0:03:56.820 **** 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:01:01 +0000 (0:00:00.030) 0:03:56.851 **** 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:01:02 +0000 (0:00:01.661) 0:03:58.512 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.055) 0:03:58.568 **** 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:01:03 +0000 (0:00:00.020) 0:03:58.588 **** 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:01:03 +0000 (0:00:00.023) 0:03:58.612 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.037) 0:03:58.649 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.513) 0:03:59.162 **** 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:01:03 +0000 (0:00:00.020) 0:03:59.183 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.085) 0:03:59.269 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.024) 0:03:59.293 **** 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:01:03 +0000 (0:00:00.030) 0:03:59.324 **** 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:01:03 +0000 (0:00:00.030) 0:03:59.355 **** 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:01:03 +0000 (0:00:00.021) 0:03:59.376 **** 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:01:03 +0000 (0:00:00.021) 0:03:59.397 **** 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:01:03 +0000 (0:00:00.019) 0:03:59.417 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:01:03 +0000 (0:00:00.020) 0:03:59.437 **** 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:01:05 +0000 (0:00:01.683) 0:04:01.120 **** 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:01:05 +0000 (0:00:00.018) 0:04:01.139 **** 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.006779", "end": "2023-12-06 14:01:05.821999", "rc": 0, "start": "2023-12-06 14:01:05.815220" } 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:01:05 +0000 (0:00:00.246) 0:04:01.386 **** 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:01:07 +0000 (0:00:01.812) 0:04:03.198 **** 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:01:07 +0000 (0:00:00.032) 0:04:03.231 **** 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:01:07 +0000 (0:00:00.019) 0:04:03.250 **** 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:01:07 +0000 (0:00:00.020) 0:04:03.271 **** 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:01:07 +0000 (0:00:00.042) 0:04:03.313 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871087.4603825, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871087.4253824, "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": 1701871087.4253824, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2656385026", "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:01:08 +0000 (0:00:00.291) 0:04:03.605 **** 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:01:08 +0000 (0:00:00.240) 0:04:03.846 **** 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:01:08 +0000 (0:00:00.028) 0:04:03.875 **** 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:01:08 +0000 (0:00:00.038) 0:04:03.913 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003269", "end": "2023-12-06 14:01:08.577158", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:08.573889" } 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:01:08 +0000 (0:00:00.227) 0:04:04.140 **** 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:01:08 +0000 (0:00:00.027) 0:04:04.168 **** 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:01:08 +0000 (0:00:00.022) 0:04:04.190 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871265.7547712, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871265.7627714, "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": 1701871265.7627714, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1089580524", "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:01:08 +0000 (0:00:00.228) 0:04:04.418 **** 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:01:09 +0000 (0:00:00.229) 0:04:04.648 **** 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:01:09 +0000 (0:00:00.029) 0:04:04.678 **** 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:01:09 +0000 (0:00:00.033) 0:04:04.711 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003173", "end": "2023-12-06 14:01:09.366154", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:09.362981" } 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:01:09 +0000 (0:00:00.221) 0:04:04.932 **** 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:01:09 +0000 (0:00:00.025) 0:04:04.957 **** 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:01:09 +0000 (0:00:00.020) 0:04:04.977 **** 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:01:09 +0000 (0:00:00.078) 0:04:05.056 **** 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:01:10 +0000 (0:00:01.326) 0:04:06.382 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:51:25 UTC", "ActiveEnterTimestampMonotonic": "11707198", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket system.slice sysinit.target systemd-journald.socket polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:51:24 UTC", "AssertTimestampMonotonic": "10760209", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ConditionTimestampMonotonic": "10760209", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service shutdown.target cpupower.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": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:51:24 UTC", "ExecMainStartTimestampMonotonic": "10761407", "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:51:24 UTC", "InactiveExitTimestampMonotonic": "10761440", "InvocationID": "e3b36e06c4014f4288b85c90b4c28b3f", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "22654976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service 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:51:25 UTC", "StateChangeTimestampMonotonic": "11707198", "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:51:25 UTC", "WatchdogTimestampMonotonic": "11707196", "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:01:11 +0000 (0:00:00.372) 0:04:06.754 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118195", "end": "2023-12-06 14:01:11.520656", "rc": 0, "start": "2023-12-06 14:01:11.402461" } 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:01:11 +0000 (0:00:00.330) 0:04:07.084 **** 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:01:11 +0000 (0:00:00.018) 0:04:07.103 **** 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:01:11 +0000 (0:00:00.019) 0:04:07.122 **** 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:01:11 +0000 (0:00:00.020) 0:04:07.143 **** 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:01:11 +0000 (0:00:00.218) 0:04:07.361 **** 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:01:13 +0000 (0:00:01.331) 0:04:08.693 **** 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:01:13 +0000 (0:00:00.034) 0:04:08.727 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ActiveEnterTimestampMonotonic": "587090739", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:32 UTC", "ActiveExitTimestampMonotonic": "559573660", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:01:00 UTC", "AssertTimestampMonotonic": "587089622", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ConditionTimestampMonotonic": "587089622", "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": "11521", "ExecMainStartTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ExecMainStartTimestampMonotonic": "587090677", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:01:00 UTC] ; stop_time=[n/a] ; pid=11521 ; 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:33 UTC", "InactiveEnterTimestampMonotonic": "559746055", "InactiveExitTimestamp": "Wed 2023-12-06 14:01:00 UTC", "InactiveExitTimestampMonotonic": "587090739", "InvocationID": "a067c63517074a40912e97691eafcddd", "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": "11521", "MemoryAccounting": "yes", "MemoryCurrent": "703369216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:00 UTC", "StateChangeTimestampMonotonic": "587090739", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 14:01:00 UTC", "WatchdogTimestampMonotonic": "587090737", "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:13 +0000 (0:00:00.364) 0:04:09.092 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002997", "end": "2023-12-06 14:01:13.743521", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:13.740524" } 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:13 +0000 (0:00:00.212) 0:04:09.305 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003214", "end": "2023-12-06 14:01:13.959510", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:13.956296" } 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:13 +0000 (0:00:00.216) 0:04:09.522 **** 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:01:14 +0000 (0:00:00.029) 0:04:09.552 **** 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": 16983, "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:01:15 +0000 (0:00:01.220) 0:04:10.772 **** 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:01:15 +0000 (0:00:00.241) 0:04:11.013 **** 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:01:00 UTC", "ActiveEnterTimestampMonotonic": "587090739", "ActiveExitTimestamp": "Wed 2023-12-06 14:00:32 UTC", "ActiveExitTimestampMonotonic": "559573660", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:01:00 UTC", "AssertTimestampMonotonic": "587089622", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ConditionTimestampMonotonic": "587089622", "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": "11521", "ExecMainStartTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ExecMainStartTimestampMonotonic": "587090677", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:01:00 UTC] ; stop_time=[n/a] ; pid=11521 ; 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:33 UTC", "InactiveEnterTimestampMonotonic": "559746055", "InactiveExitTimestamp": "Wed 2023-12-06 14:01:00 UTC", "InactiveExitTimestampMonotonic": "587090739", "InvocationID": "a067c63517074a40912e97691eafcddd", "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": "11521", "MemoryAccounting": "yes", "MemoryCurrent": "706998272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:00 UTC", "StateChangeTimestampMonotonic": "587090739", "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": "177", "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:00 UTC", "WatchdogTimestampMonotonic": "587090737", "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:01:16 +0000 (0:00:00.614) 0:04:11.627 **** 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:01:17 +0000 (0:00:01.358) 0:04:12.986 **** 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:23 +0000 (0:00:05.781) 0:04:18.768 **** 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:23 +0000 (0:00:00.018) 0:04:18.787 **** 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:23 +0000 (0:00:00.018) 0:04:18.806 **** 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.005286", "end": "2023-12-06 14:01:23.459969", "rc": 0, "start": "2023-12-06 14:01:23.454683" } 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:23 +0000 (0:00:00.216) 0:04:19.022 **** 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:23 +0000 (0:00:00.020) 0:04:19.043 **** 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:24 +0000 (0:00:01.359) 0:04:20.403 **** 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:24 +0000 (0:00:00.022) 0:04:20.425 **** 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:24 +0000 (0:00:00.035) 0:04:20.460 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003082", "end": "2023-12-06 14:01:25.112213", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:25.109131" } 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:25 +0000 (0:00:00.214) 0:04:20.675 **** 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:25 +0000 (0:00:00.089) 0:04:20.765 **** 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:25 +0000 (0:00:00.020) 0:04:20.785 **** 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:25 +0000 (0:00:00.020) 0:04:20.806 **** 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:25 +0000 (0:00:00.019) 0:04:20.825 **** 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:25 +0000 (0:00:00.033) 0:04:20.858 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003106", "end": "2023-12-06 14:01:25.509877", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:25.506771" } 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:25 +0000 (0:00:00.213) 0:04:21.071 **** 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:25 +0000 (0:00:00.024) 0:04:21.096 **** 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:25 +0000 (0:00:00.018) 0:04:21.114 **** 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:25 +0000 (0:00:00.018) 0:04:21.133 **** 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:25 +0000 (0:00:00.036) 0:04:21.169 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003388", "end": "2023-12-06 14:01:25.822484", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:25.819096" } 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:25 +0000 (0:00:00.216) 0:04:21.386 **** 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:25 +0000 (0:00:00.024) 0:04:21.410 **** 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:25 +0000 (0:00:00.019) 0:04:21.429 **** 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:27 +0000 (0:00:01.344) 0:04:22.774 **** 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:28 +0000 (0:00:01.308) 0:04:24.082 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003136", "end": "2023-12-06 14:01:28.735629", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:01:28.732493" } 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:28 +0000 (0:00:00.260) 0:04:24.343 **** 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:28 +0000 (0:00:00.020) 0:04:24.363 **** 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:28 +0000 (0:00:00.020) 0:04:24.384 **** 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:28 +0000 (0:00:00.032) 0:04:24.417 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003377", "end": "2023-12-06 14:01:29.071302", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:29.067925" } 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:29 +0000 (0:00:00.217) 0:04:24.634 **** 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:29 +0000 (0:00:00.025) 0:04:24.660 **** 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:29 +0000 (0:00:00.020) 0:04:24.680 **** 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:29 +0000 (0:00:00.034) 0:04:24.714 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003260", "end": "2023-12-06 14:01:29.368649", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:29.365389" } 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:29 +0000 (0:00:00.217) 0:04:24.932 **** 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:29 +0000 (0:00:00.025) 0:04:24.958 **** 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:29 +0000 (0:00:00.020) 0:04:24.978 **** 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:29 +0000 (0:00:00.018) 0:04:24.997 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : 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:29 +0000 (0:00:00.019) 0:04:25.016 **** 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:29 +0000 (0:00:00.021) 0:04:25.038 **** 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:29 +0000 (0:00:00.018) 0:04:25.056 **** 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:29 +0000 (0:00:00.061) 0:04:25.118 **** 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:29 +0000 (0:00:00.020) 0:04:25.138 **** 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:29 +0000 (0:00:00.018) 0:04:25.157 **** 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:29 +0000 (0:00:00.019) 0:04:25.177 **** 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:29 +0000 (0:00:00.019) 0:04:25.196 **** 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:29 +0000 (0:00:00.018) 0:04:25.215 **** 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:29 +0000 (0:00:00.022) 0:04:25.237 **** 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:29 +0000 (0:00:00.021) 0:04:25.259 **** 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:29 +0000 (0:00:00.018) 0:04:25.277 **** 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:29 +0000 (0:00:00.019) 0:04:25.297 **** 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:29 +0000 (0:00:00.019) 0:04:25.316 **** 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:29 +0000 (0:00:00.019) 0:04:25.336 **** 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:29 +0000 (0:00:00.018) 0:04:25.355 **** 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:29 +0000 (0:00:00.018) 0:04:25.373 **** 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:29 +0000 (0:00:00.018) 0:04:25.392 **** 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:29 +0000 (0:00:00.019) 0:04:25.411 **** 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:29 +0000 (0:00:00.019) 0:04:25.430 **** 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:29 +0000 (0:00:00.067) 0:04:25.497 **** 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:29 +0000 (0:00:00.020) 0:04:25.518 **** 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:30 +0000 (0:00:00.018) 0:04:25.536 **** 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:30 +0000 (0:00:00.018) 0:04:25.555 **** 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:30 +0000 (0:00:00.019) 0:04:25.574 **** 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:30 +0000 (0:00:00.018) 0:04:25.592 **** 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:30 +0000 (0:00:00.019) 0:04:25.611 **** 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:30 +0000 (0:00:00.019) 0:04:25.630 **** 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:30 +0000 (0:00:00.017) 0:04:25.648 **** 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:30 +0000 (0:00:00.020) 0:04:25.668 **** 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:30 +0000 (0:00:00.020) 0:04:25.689 **** 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:30 +0000 (0:00:00.019) 0:04:25.708 **** 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:30 +0000 (0:00:00.023) 0:04:25.731 **** 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:30 +0000 (0:00:00.019) 0:04:25.750 **** 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:30 +0000 (0:00:00.019) 0:04:25.770 **** 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:30 +0000 (0:00:00.024) 0:04:25.794 **** 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:30 +0000 (0:00:00.073) 0:04:25.867 **** 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:30 +0000 (0:00:00.019) 0:04:25.887 **** 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:30 +0000 (0:00:00.019) 0:04:25.907 **** 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:30 +0000 (0:00:00.020) 0:04:25.927 **** 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:30 +0000 (0:00:00.019) 0:04:25.946 **** 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:30 +0000 (0:00:00.019) 0:04:25.966 **** 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:30 +0000 (0:00:00.019) 0:04:25.986 **** 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:30 +0000 (0:00:00.020) 0:04:26.006 **** 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:30 +0000 (0:00:00.019) 0:04:26.026 **** 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:30 +0000 (0:00:00.018) 0:04:26.044 **** 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:30 +0000 (0:00:00.018) 0:04:26.063 **** 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:30 +0000 (0:00:00.023) 0:04:26.087 **** 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:30 +0000 (0:00:00.018) 0:04:26.105 **** 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:30 +0000 (0:00:00.018) 0:04:26.124 **** 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:30 +0000 (0:00:00.018) 0:04:26.142 **** 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:30 +0000 (0:00:00.018) 0:04:26.161 **** 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:30 +0000 (0:00:00.027) 0:04:26.188 **** 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:30 +0000 (0:00:00.068) 0:04:26.257 **** 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:30 +0000 (0:00:00.019) 0:04:26.277 **** 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:30 +0000 (0:00:00.020) 0:04:26.297 **** 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:31 +0000 (0:00:00.252) 0:04:26.550 **** 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:31 +0000 (0:00:00.020) 0:04:26.570 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ActiveEnterTimestampMonotonic": "587090739", "ActiveExitTimestamp": "Wed 2023-12-06 14:01:15 UTC", "ActiveExitTimestampMonotonic": "602487757", "ActiveState": "inactive", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:01:00 UTC", "AssertTimestampMonotonic": "587089622", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ConditionTimestampMonotonic": "587089622", "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:01:16 UTC", "ExecMainExitTimestampMonotonic": "602671553", "ExecMainPID": "11521", "ExecMainStartTimestamp": "Wed 2023-12-06 14:01:00 UTC", "ExecMainStartTimestampMonotonic": "587090677", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:01:00 UTC] ; stop_time=[Wed 2023-12-06 14:01:16 UTC] ; pid=11521 ; 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:01:16 UTC", "InactiveEnterTimestampMonotonic": "602671651", "InactiveExitTimestamp": "Wed 2023-12-06 14:01:00 UTC", "InactiveExitTimestampMonotonic": "587090739", "InvocationID": "a067c63517074a40912e97691eafcddd", "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": "sysinit.target system.slice -.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:16 UTC", "StateChangeTimestampMonotonic": "602671651", "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:31 +0000 (0:00:00.374) 0:04:26.944 **** 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:31 +0000 (0:00:00.019) 0:04:26.963 **** 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:31 +0000 (0:00:00.030) 0:04:26.994 **** 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:31 +0000 (0:00:00.175) 0:04:27.169 **** 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.006540", "end": "2023-12-06 14:01:31.839144", "rc": 0, "start": "2023-12-06 14:01:31.832604" } 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:31 +0000 (0:00:00.233) 0:04:27.403 **** 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.005808", "end": "2023-12-06 14:01:32.079192", "rc": 0, "start": "2023-12-06 14:01:32.073384" } 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:32 +0000 (0:00:00.244) 0:04:27.647 **** 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:32 +0000 (0:00:00.028) 0:04:27.675 **** 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:32 +0000 (0:00:00.101) 0:04:27.777 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004677", "end": "2023-12-06 14:01:32.449857", "rc": 0, "start": "2023-12-06 14:01:32.445180" } 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:32 +0000 (0:00:00.236) 0:04:28.014 **** 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:32 +0000 (0:00:00.026) 0:04:28.040 **** 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:32 +0000 (0:00:00.020) 0:04:28.060 **** 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:32 +0000 (0:00:00.019) 0:04:28.080 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005229", "end": "2023-12-06 14:01:32.803336", "rc": 0, "start": "2023-12-06 14:01:32.798107" } 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:32 +0000 (0:00:00.293) 0:04:28.374 **** 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:32 +0000 (0:00:00.021) 0:04:28.395 **** 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:32 +0000 (0:00:00.021) 0:04:28.416 **** 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:32 +0000 (0:00:00.025) 0:04:28.441 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006420", "end": "2023-12-06 14:01:33.147019", "rc": 0, "start": "2023-12-06 14:01:33.140599" } 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:33 +0000 (0:00:00.274) 0:04:28.716 **** 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:33 +0000 (0:00:00.027) 0:04:28.743 **** 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:33 +0000 (0:00:00.020) 0:04:28.764 **** 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:33 +0000 (0:00:00.019) 0:04:28.783 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004856", "end": "2023-12-06 14:01:33.479043", "rc": 0, "start": "2023-12-06 14:01:33.474187" } 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:33 +0000 (0:00:00.259) 0:04:29.042 **** 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:33 +0000 (0:00:00.027) 0:04:29.070 **** 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:33 +0000 (0:00:00.019) 0:04:29.089 **** 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:33 +0000 (0:00:00.079) 0:04:29.169 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004634", "end": "2023-12-06 14:01:33.839083", "rc": 0, "start": "2023-12-06 14:01:33.834449" } 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:33 +0000 (0:00:00.233) 0:04:29.402 **** 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:33 +0000 (0:00:00.020) 0:04:29.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:33 +0000 (0:00:00.026) 0:04:29.448 **** 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:33 +0000 (0:00:00.019) 0:04:29.468 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871087.4603825, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871087.4253824, "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": 1701871087.4253824, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2656385026", "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:34 +0000 (0:00:00.219) 0:04:29.687 **** 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:34 +0000 (0:00:00.026) 0:04:29.713 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701871293.623997, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701871293.623997, "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": 1701871293.623997, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1089580524", "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:34 +0000 (0:00:00.240) 0:04:29.954 **** 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:34 +0000 (0:00:00.023) 0:04:29.977 **** 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:34 +0000 (0:00:00.038) 0:04:30.015 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:01:31 UTC", "ActiveEnterTimestampMonotonic": "618032910", "ActiveExitTimestamp": "Wed 2023-12-06 14:01:15 UTC", "ActiveExitTimestampMonotonic": "602487757", "ActiveState": "active", "After": "-.mount sysinit.target system.slice network.target basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:01:31 UTC", "AssertTimestampMonotonic": "618031823", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 14:01:31 UTC", "ConditionTimestampMonotonic": "618031822", "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": "12707", "ExecMainStartTimestamp": "Wed 2023-12-06 14:01:31 UTC", "ExecMainStartTimestampMonotonic": "618032862", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:01:31 UTC] ; stop_time=[n/a] ; pid=12707 ; 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:01:16 UTC", "InactiveEnterTimestampMonotonic": "602671651", "InactiveExitTimestamp": "Wed 2023-12-06 14:01:31 UTC", "InactiveExitTimestampMonotonic": "618032910", "InvocationID": "785c15fe82b34655980a87f760abc036", "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": "12707", "MemoryAccounting": "yes", "MemoryCurrent": "640442368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.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:31 UTC", "StateChangeTimestampMonotonic": "618032910", "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": "159", "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:31 UTC", "WatchdogTimestampMonotonic": "618032909", "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:34 +0000 (0:00:00.504) 0:04:30.520 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.009258", "end": "2023-12-06 14:01:35.300795", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:35.291537" } 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:35 +0000 (0:00:00.342) 0:04:30.863 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003504", "end": "2023-12-06 14:01:35.551724", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:01:35.548220" } 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:35 +0000 (0:00:00.256) 0:04:31.119 **** 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:35 +0000 (0:00:00.038) 0:04:31.158 **** 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": 16983, "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:53 +0000 (0:00:18.312) 0:04:49.471 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029162", "end": "2023-12-06 14:01:54.149941", "rc": 0, "start": "2023-12-06 14:01:54.120779" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Standard Edition (64-bit) on Linux (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:54 +0000 (0:00:00.241) 0:04:49.712 **** 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:54 +0000 (0:00:00.022) 0:04:49.734 **** 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:54 +0000 (0:00:00.030) 0:04:49.765 **** 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:55 +0000 (0:00:01.365) 0:04:51.131 **** 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:55 +0000 (0:00:00.021) 0:04:51.152 **** 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:55 +0000 (0:00:00.032) 0:04:51.185 **** 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:55 +0000 (0:00:00.035) 0:04:51.221 **** 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:57 +0000 (0:00:01.367) 0:04:52.589 **** 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:57 +0000 (0:00:00.019) 0:04:52.609 **** 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:57 +0000 (0:00:00.025) 0:04:52.634 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004622", "end": "2023-12-06 14:01:57.288564", "rc": 0, "start": "2023-12-06 14:01:57.283942" } 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:57 +0000 (0:00:00.274) 0:04:52.909 **** 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:57 +0000 (0:00:00.020) 0:04:52.930 **** 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:57 +0000 (0:00:00.023) 0:04:52.953 **** 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:57 +0000 (0:00:00.033) 0:04:52.987 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004774", "end": "2023-12-06 14:01:57.643653", "rc": 0, "start": "2023-12-06 14:01:57.638879" } 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:57 +0000 (0:00:00.219) 0:04:53.207 **** 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:57 +0000 (0:00:00.036) 0:04:53.243 **** 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:57 +0000 (0:00:00.028) 0:04:53.271 **** 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:57 +0000 (0:00:00.020) 0:04:53.292 **** 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:57 +0000 (0:00:00.035) 0:04:53.328 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004671", "end": "2023-12-06 14:01:57.987430", "rc": 0, "start": "2023-12-06 14:01:57.982759" } 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:58 +0000 (0:00:00.223) 0:04:53.551 **** 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:58 +0000 (0:00:00.023) 0:04:53.575 **** 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:58 +0000 (0:00:00.029) 0:04:53.605 **** 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:58 +0000 (0:00:00.022) 0:04:53.627 **** 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:58 +0000 (0:00:00.026) 0:04:53.654 **** 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:58 +0000 (0:00:00.100) 0:04:53.754 **** 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:58 +0000 (0:00:00.024) 0:04:53.779 **** 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:58 +0000 (0:00:00.027) 0:04:53.806 **** 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:58 +0000 (0:00:00.023) 0:04:53.830 **** 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:58 +0000 (0:00:00.021) 0:04:53.852 **** 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:58 +0000 (0:00:00.022) 0:04:53.874 **** 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:58 +0000 (0:00:00.179) 0:04:54.054 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003173", "end": "2023-12-06 14:01:58.741429", "rc": 0, "start": "2023-12-06 14:01:58.738256" } 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_2022.yml:20 Wednesday 06 December 2023 14:01:58 +0000 (0:00:00.248) 0:04:54.303 **** 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:58 +0000 (0:00:00.032) 0:04:54.335 **** 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:02:00 +0000 (0:00:01.359) 0:04:55.694 **** 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:02:00 +0000 (0:00:00.104) 0:04:55.799 **** 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:02:00 +0000 (0:00:00.022) 0:04:55.822 **** 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:02:00 +0000 (0:00:00.068) 0:04:55.890 **** 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:02:00 +0000 (0:00:00.040) 0:04:55.931 **** 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:02:00 +0000 (0:00:00.028) 0:04:55.959 **** 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:02:00 +0000 (0:00:00.225) 0:04:56.185 **** 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:02:00 +0000 (0:00:00.024) 0:04:56.210 **** 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:02:01 +0000 (0:00:01.317) 0:04:57.527 **** 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:02:02 +0000 (0:00:00.018) 0:04:57.546 **** 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:02:02 +0000 (0:00:00.022) 0:04:57.568 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket sysinit.target dbus.service system.slice polkit.service basic.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 ip6tables.service ipset.service nftables.service shutdown.target", "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:02:02 +0000 (0:00:00.379) 0:04:57.947 **** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket dbus.service system.slice polkit.service sysinit.target basic.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": "ipset.service nftables.service iptables.service ebtables.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": "sysinit.target dbus.socket 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:02:03 +0000 (0:00:01.095) 0:04:59.042 **** 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:02:03 +0000 (0:00:00.027) 0:04:59.070 **** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.42.187 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:02:05 +0000 (0:00:01.492) 0:05:00.562 **** 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:02:05 +0000 (0:00:00.021) 0:05:00.584 **** 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:02:05 +0000 (0:00:00.071) 0:05:00.655 **** 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:02:05 +0000 (0:00:00.023) 0:05:00.679 **** 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:02:05 +0000 (0:00:00.021) 0:05:00.700 **** 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:02:05 +0000 (0:00:00.020) 0:05:00.721 **** 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:02:05 +0000 (0:00:00.019) 0:05:00.741 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.187 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:02:05 +0000 (0:00:00.264) 0:05:01.005 **** 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:02:05 +0000 (0:00:00.024) 0:05:01.030 **** 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:02:05 +0000 (0:00:00.030) 0:05:01.060 **** 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:02:05 +0000 (0:00:00.023) 0:05:01.084 **** 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:02:05 +0000 (0:00:00.022) 0:05:01.106 **** 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:02:05 +0000 (0:00:00.329) 0:05:01.436 **** 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-16.0.4095.4-1.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:02:09 +0000 (0:00:03.386) 0:05:04.822 **** 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_2022.retry PLAY RECAP ********************************************************************* sut : ok=346 changed=49 unreachable=0 failed=1 skipped=497 rescued=0 ignored=3 Wednesday 06 December 2023 14:02:09 +0000 (0:00:00.198) 0:05:05.020 **** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 49.11s /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 -- 29.70s /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.40s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.31s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 8.42s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 8.21s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Change the password of sa user -------- 7.37s /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 -------- 7.35s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 7.28s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 6.56s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.78s /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.95s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 3.80s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Remove related packages ------------------------------------------------- 3.39s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 2.78s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.50s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 2.37s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.91s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.82s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.81s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---