# 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-selinux7v0a56uc/.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_input_sql_file_2017.yml **************************************** 1 plays in /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_input_sql_file_2017.yml PLAY [Ensure that the role can input sql files to MSSQL] *********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_input_sql_file_2017.yml:3 Thursday 07 December 2023 08:56:35 +0000 (0:00:00.033) 0:00:00.033 ***** ok: [sut] TASK [Run tests_input_sql_file with SQL Server 2017] *************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_input_sql_file_2017.yml:14 Thursday 07 December 2023 08:56:40 +0000 (0:00:04.808) 0:00:04.842 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:2 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.014) 0:00:04.856 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.011) 0:00:04.868 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.355) 0:00:05.223 ***** 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-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.018) 0:00:05.242 ***** 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 [Set up MSSQL and input sql files with pre_input] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:5 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.018) 0:00:05.260 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.084) 0:00:05.345 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.011) 0:00:05.356 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.019) 0:00:05.375 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.028) 0:00:05.404 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.010) 0:00:05.414 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.012) 0:00:05.427 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.029) 0:00:05.456 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.015) 0:00:05.472 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.011) 0:00:05.483 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.011) 0:00:05.494 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.011) 0:00:05.506 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.030) 0:00:05.536 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.016) 0:00:05.552 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.016) 0:00:05.569 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.015) 0:00:05.585 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.022) 0:00:05.608 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.018) 0:00:05.626 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:56:42 +0000 (0:00:01.428) 0:00:07.055 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:56:42 +0000 (0:00:00.034) 0:00:07.090 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:56:42 +0000 (0:00:00.020) 0:00:07.110 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:56:42 +0000 (0:00:00.029) 0:00:07.140 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:56:42 +0000 (0:00:00.037) 0:00:07.177 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:56:44 +0000 (0:00:01.517) 0:00:08.695 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.022) 0:00:08.717 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.048) 0:00:08.766 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.021) 0:00:08.787 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.286) 0:00:09.074 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.029) 0:00:09.103 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.033) 0:00:09.136 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.043) 0:00:09.180 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.044) 0:00:09.225 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:56:45 +0000 (0:00:00.032) 0:00:09.258 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "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: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.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: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:57:20 +0000 (0:00:35.702) 0:00:44.960 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:57:20 +0000 (0:00:00.060) 0:00:45.021 ***** 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.005664", "end": "2023-12-07 08:57:21.250351", "rc": 0, "start": "2023-12-07 08:57:21.244687" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:57:21 +0000 (0:00:00.522) 0:00:45.544 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:57:23 +0000 (0:00:01.952) 0:00:47.496 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:57:23 +0000 (0:00:00.036) 0:00:47.532 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:57:23 +0000 (0:00:00.032) 0:00:47.565 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:57:28 +0000 (0:00:04.783) 0:00:52.349 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:57:28 +0000 (0:00:00.030) 0:00:52.380 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:57:28 +0000 (0:00:00.031) 0:00:52.412 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:57:30 +0000 (0:00:02.538) 0:00:54.950 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22568960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.639) 0:00:55.590 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118381", "end": "2023-12-07 08:57:31.646052", "rc": 0, "start": "2023-12-07 08:57:31.527671" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.344) 0:00:55.935 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.027) 0:00:55.963 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.022) 0:00:55.985 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.020) 0:00:56.005 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.226) 0:00:56.232 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:57:34 +0000 (0:00:02.232) 0:00:58.465 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.067) 0:00:58.532 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.024) 0:00:58.556 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.061) 0:00:58.618 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.040) 0:00:58.659 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.033) 0:00:58.692 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.023) 0:00:58.715 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.046) 0:00:58.761 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.023) 0:00:58.785 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.027) 0:00:58.812 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ActiveEnterTimestampMonotonic": "1083502144", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:27 UTC", "AssertTimestampMonotonic": "1083500778", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ConditionTimestampMonotonic": "1083500776", "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": "23234", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ExecMainStartTimestampMonotonic": "1083501918", "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": "Thu 2023-12-07 08:57:27 UTC", "InactiveExitTimestampMonotonic": "1083502144", "InvocationID": "eeae89cb639b406dbda656bff73e5c8f", "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": "23234", "MemoryAccounting": "yes", "MemoryCurrent": "633880576", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:27 UTC", "StateChangeTimestampMonotonic": "1083502144", "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": "139", "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": "Thu 2023-12-07 08:57:27 UTC", "WatchdogTimestampMonotonic": "1083502141", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Thursday 07 December 2023 08:57:34 +0000 (0:00:00.429) 0:00:59.242 ***** 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": 7076, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Thursday 07 December 2023 08:57:36 +0000 (0:00:01.270) 0:01:00.512 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:57:36 +0000 (0:00:00.063) 0:01:00.575 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ActiveEnterTimestampMonotonic": "1083502144", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:27 UTC", "AssertTimestampMonotonic": "1083500778", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ConditionTimestampMonotonic": "1083500776", "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": "23234", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ExecMainStartTimestampMonotonic": "1083501918", "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": "Thu 2023-12-07 08:57:27 UTC", "InactiveExitTimestampMonotonic": "1083502144", "InvocationID": "eeae89cb639b406dbda656bff73e5c8f", "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": "23234", "MemoryAccounting": "yes", "MemoryCurrent": "635449344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:27 UTC", "StateChangeTimestampMonotonic": "1083502144", "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": "140", "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": "Thu 2023-12-07 08:57:27 UTC", "WatchdogTimestampMonotonic": "1083502141", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:57:36 +0000 (0:00:00.382) 0:01:00.958 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003110", "end": "2023-12-07 08:57:36.914115", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:57:36.911005" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:57:36 +0000 (0:00:00.265) 0:01:01.223 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002873", "end": "2023-12-07 08:57:37.173081", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:57:37.170208" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:57:37 +0000 (0:00:00.236) 0:01:01.459 ***** 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 : Input SQL script files to MSSQL] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Thursday 07 December 2023 08:57:37 +0000 (0:00:00.051) 0:01:01.511 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for sut => (item=create_example_db.j2) included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for sut => (item=create_example_db.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Thursday 07 December 2023 08:57:37 +0000 (0:00:00.095) 0:01:01.607 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_example_db.j2_vt7ipo_k.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Thursday 07 December 2023 08:57:37 +0000 (0:00:00.358) 0:01:01.965 ***** skipping: [sut] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Thursday 07 December 2023 08:57:37 +0000 (0:00:00.024) 0:01:01.990 ***** ok: [sut] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_example_db.j2_vt7ipo_k.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1701939457.781961-9386-203839588164842/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Thursday 07 December 2023 08:57:38 +0000 (0:00:00.812) 0:01:02.802 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:40 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.777) 0:01:03.579 ***** ok: [sut] => (item=/tmp/create_example_db.j2_vt7ipo_k.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_example_db.j2_vt7ipo_k.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Creating the ExampleDB1 database', 'The ExampleDB1 database created successfully', "Changed database context to 'ExampleDB1'.", 'Adding the Inventory table to the ExampleDB1 database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB1 database", "The ExampleDB1 database created successfully", "Changed database context to 'ExampleDB1'.", "Adding the Inventory table to the ExampleDB1 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:56 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.049) 0:01:03.629 ***** skipping: [sut] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.024) 0:01:03.654 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_example_db.j2_unsckbxb.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.265) 0:01:03.919 ***** skipping: [sut] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.059) 0:01:03.978 ***** ok: [sut] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_example_db.j2_unsckbxb.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1701939459.801755-9402-177331181359359/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.611) 0:01:04.589 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:40 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.262) 0:01:04.852 ***** ok: [sut] => (item=/tmp/create_example_db.j2_unsckbxb.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_example_db.j2_unsckbxb.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['The ExampleDB1 database already exists, skipping', "Changed database context to 'ExampleDB1'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB1 database already exists, skipping", "Changed database context to 'ExampleDB1'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_example_db.j2] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:56 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.116) 0:01:04.969 ***** skipping: [sut] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.049) 0:01:05.018 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.028) 0:01:05.047 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.030) 0:01:05.078 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.046) 0:01:05.124 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.042) 0:01:05.166 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.024) 0:01:05.191 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.027) 0:01:05.219 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.040) 0:01:05.259 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.048) 0:01:05.308 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.029) 0:01:05.337 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.112) 0:01:05.450 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003018", "end": "2023-12-07 08:57:41.434872", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:57:41.431854" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.291) 0:01:05.741 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048984", "end": "2023-12-07 08:57:41.755680", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:41.706696" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.304) 0:01:06.046 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.023) 0:01:06.069 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.062) 0:01:06.132 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.056) 0:01:06.188 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.076) 0:01:06.265 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.082) 0:01:06.347 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.036) 0:01:06.383 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.031) 0:01:06.415 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.045) 0:01:06.460 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.059) 0:01:06.519 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.095) 0:01:06.615 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.056) 0:01:06.671 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.042) 0:01:06.714 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.085) 0:01:06.800 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.030) 0:01:06.831 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.058) 0:01:06.889 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.027) 0:01:06.917 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.048) 0:01:06.965 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.090) 0:01:07.056 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.051) 0:01:07.107 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.081) 0:01:07.189 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.093) 0:01:07.282 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.062) 0:01:07.344 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.049) 0:01:07.394 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.038) 0:01:07.433 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.033) 0:01:07.466 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.038) 0:01:07.505 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.045) 0:01:07.550 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.031) 0:01:07.582 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.034) 0:01:07.616 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.037) 0:01:07.654 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.100) 0:01:07.754 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.043) 0:01:07.798 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.047) 0:01:07.845 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.031) 0:01:07.877 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.050) 0:01:07.927 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.029) 0:01:07.957 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.034) 0:01:07.992 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.032) 0:01:08.024 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.031) 0:01:08.056 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.031) 0:01:08.087 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:57:43 +0000 (0:00:00.117) 0:01:08.205 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.071) 0:01:08.277 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.102) 0:01:08.379 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.072) 0:01:08.452 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.050) 0:01:08.502 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.093) 0:01:08.596 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.040) 0:01:08.636 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.114) 0:01:08.751 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.022) 0:01:08.774 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.023) 0:01:08.797 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.022) 0:01:08.820 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.028) 0:01:08.849 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.026) 0:01:08.875 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.021) 0:01:08.897 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.047) 0:01:08.944 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.050) 0:01:08.995 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.023) 0:01:09.018 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.025) 0:01:09.044 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.027) 0:01:09.071 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.022) 0:01:09.094 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.023) 0:01:09.117 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.035) 0:01:09.153 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.029) 0:01:09.182 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:57:44 +0000 (0:00:00.040) 0:01:09.223 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.117) 0:01:09.341 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.057) 0:01:09.398 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.064) 0:01:09.463 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.566) 0:01:10.029 ***** META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.032) 0:01:10.062 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.075) 0:01:10.137 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:17 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.058) 0:01:10.196 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input sql files with post_input into custom storage directory] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:27 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.070) 0:01:10.267 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.216) 0:01:10.483 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.110) 0:01:10.594 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.056) 0:01:10.650 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.149) 0:01:10.799 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.051) 0:01:10.850 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.073) 0:01:10.924 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.049) 0:01:10.974 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.055) 0:01:11.029 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.051) 0:01:11.080 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.031) 0:01:11.112 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.044) 0:01:11.157 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.042) 0:01:11.199 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.024) 0:01:11.224 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.034) 0:01:11.258 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.028) 0:01:11.287 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.029) 0:01:11.316 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.035) 0:01:11.352 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:57:48 +0000 (0:00:01.421) 0:01:12.774 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.061) 0:01:12.835 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.028) 0:01:12.863 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.028) 0:01:12.891 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.042) 0:01:12.933 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.449) 0:01:13.383 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.047) 0:01:13.431 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.038) 0:01:13.469 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.023) 0:01:13.493 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.028) 0:01:13.521 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.021) 0:01:13.542 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.020) 0:01:13.563 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.026) 0:01:13.589 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.025) 0:01:13.614 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.022) 0:01:13.637 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:57:50 +0000 (0:00:01.328) 0:01:14.966 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.038) 0:01:15.004 ***** 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.005674", "end": "2023-12-07 08:57:50.945592", "rc": 0, "start": "2023-12-07 08:57:50.939918" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.243) 0:01:15.248 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:58:20 +0000 (0:00:29.725) 0:01:44.973 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.039) 0:01:45.013 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.019) 0:01:45.033 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.019) 0:01:45.053 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_data', 'mode': '0700', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_log', 'mode': '0700', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.043) 0:01:45.096 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.201) 0:01:45.298 ***** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.355) 0:01:45.654 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.033) 0:01:45.687 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.040) 0:01:45.728 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003030", "end": "2023-12-07 08:58:21.686909", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:58:21.683879" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.248) 0:01:45.976 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.048658", "end": "2023-12-07 08:58:21.976123", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:58:21.927465" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.280) 0:01:46.257 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.077) 0:01:46.335 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.212) 0:01:46.547 ***** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.224) 0:01:46.772 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.036) 0:01:46.808 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.056) 0:01:46.864 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003098", "end": "2023-12-07 08:58:22.795900", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:58:22.792802" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.219) 0:01:47.084 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.048887", "end": "2023-12-07 08:58:23.073169", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:58:23.024282" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.301) 0:01:47.386 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.041) 0:01:47.427 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.040) 0:01:47.467 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:58:24 +0000 (0:00:01.290) 0:01:48.758 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22601728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:58:24 +0000 (0:00:00.358) 0:01:49.116 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.123600", "end": "2023-12-07 08:58:25.168697", "rc": 0, "start": "2023-12-07 08:58:25.045097" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:58:25 +0000 (0:00:00.331) 0:01:49.447 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:58:25 +0000 (0:00:00.021) 0:01:49.468 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:58:25 +0000 (0:00:00.020) 0:01:49.489 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:58:25 +0000 (0:00:00.020) 0:01:49.509 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:58:25 +0000 (0:00:00.292) 0:01:49.802 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:58:26 +0000 (0:00:01.315) 0:01:51.118 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:58:26 +0000 (0:00:00.037) 0:01:51.155 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ActiveEnterTimestampMonotonic": "1083502144", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:27 UTC", "AssertTimestampMonotonic": "1083500778", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ConditionTimestampMonotonic": "1083500776", "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": "23234", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ExecMainStartTimestampMonotonic": "1083501918", "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": "Thu 2023-12-07 08:57:27 UTC", "InactiveExitTimestampMonotonic": "1083502144", "InvocationID": "eeae89cb639b406dbda656bff73e5c8f", "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": "23234", "MemoryAccounting": "yes", "MemoryCurrent": "660668416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:27 UTC", "StateChangeTimestampMonotonic": "1083502144", "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": "140", "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": "Thu 2023-12-07 08:57:27 UTC", "WatchdogTimestampMonotonic": "1083502141", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:58:27 +0000 (0:00:00.351) 0:01:51.506 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2023-12-07 08:58:27.436887", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:58:27.433750" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:58:27 +0000 (0:00:00.208) 0:01:51.714 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003120", "end": "2023-12-07 08:58:27.644275", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:58:27.641155" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:58:27 +0000 (0:00:00.217) 0:01:51.931 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:58:27 +0000 (0:00:00.036) 0:01:51.968 ***** 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": 7376, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:58:28 +0000 (0:00:01.220) 0:01:53.188 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:58:29 +0000 (0:00:00.255) 0:01:53.443 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_password_query is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:58:29 +0000 (0:00:00.023) 0:01:53.467 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:58:30 +0000 (0:00:01.322) 0:01:54.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 : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.028) 0:01:54.818 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.024) 0:01:54.843 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.082) 0:01:54.925 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.038) 0:01:54.964 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.036) 0:01:55.001 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.034) 0:01:55.035 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.035) 0:01:55.071 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.034) 0:01:55.105 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.033) 0:01:55.139 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.033) 0:01:55.172 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:58:30 +0000 (0:00:00.059) 0:01:55.232 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003047", "end": "2023-12-07 08:58:31.163148", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:58:31.160101" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.224) 0:01:55.456 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049509", "end": "2023-12-07 08:58:31.459836", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:58:31.410327" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.285) 0:01:55.742 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.029) 0:01:55.771 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.026) 0:01:55.798 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.029) 0:01:55.827 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.025) 0:01:55.852 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.029) 0:01:55.882 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.094) 0:01:55.976 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.032) 0:01:56.009 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.057) 0:01:56.066 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.027) 0:01:56.094 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.024) 0:01:56.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 : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.028) 0:01:56.146 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.022) 0:01:56.169 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.026) 0:01:56.196 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.022) 0:01:56.218 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:58:31 +0000 (0:00:00.024) 0:01:56.243 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.028) 0:01:56.271 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.024) 0:01:56.295 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.030) 0:01:56.325 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.031) 0:01:56.356 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.020) 0:01:56.377 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.024) 0:01:56.401 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.062) 0:01:56.464 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.021) 0:01:56.485 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.024) 0:01:56.509 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.032) 0:01:56.542 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.024) 0:01:56.567 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.020) 0:01:56.587 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.020) 0:01:56.608 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.019) 0:01:56.628 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.020) 0:01:56.648 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.019) 0:01:56.668 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.019) 0:01:56.687 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.019) 0:01:56.707 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.019) 0:01:56.726 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.019) 0:01:56.746 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.020) 0:01:56.766 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.035) 0:01:56.801 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.021) 0:01:56.823 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.105) 0:01:56.928 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.023) 0:01:56.952 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.044) 0:01:56.996 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.024) 0:01:57.021 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.038) 0:01:57.059 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.039) 0:01:57.099 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.022) 0:01:57.122 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.021) 0:01:57.144 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.035) 0:01:57.179 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.033) 0:01:57.213 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:58:32 +0000 (0:00:00.027) 0:01:57.241 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.020) 0:01:57.261 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.022) 0:01:57.284 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.024) 0:01:57.309 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.028) 0:01:57.337 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.043) 0:01:57.380 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.026) 0:01:57.407 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.066) 0:01:57.473 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.043) 0:01:57.517 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.061) 0:01:57.579 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.042) 0:01:57.621 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.035) 0:01:57.657 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.023) 0:01:57.681 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.028) 0:01:57.709 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.025) 0:01:57.734 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.027) 0:01:57.762 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.022) 0:01:57.784 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.037) 0:01:57.822 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.035) 0:01:57.857 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.267) 0:01:58.125 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:58:33 +0000 (0:00:00.023) 0:01:58.149 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ActiveEnterTimestampMonotonic": "1083502144", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:27 UTC", "AssertTimestampMonotonic": "1083500778", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ConditionTimestampMonotonic": "1083500776", "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": "23234", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:27 UTC", "ExecMainStartTimestampMonotonic": "1083501918", "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": "Thu 2023-12-07 08:57:27 UTC", "InactiveExitTimestampMonotonic": "1083502144", "InvocationID": "eeae89cb639b406dbda656bff73e5c8f", "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": "23234", "MemoryAccounting": "yes", "MemoryCurrent": "668336128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:27 UTC", "StateChangeTimestampMonotonic": "1083502144", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:57:27 UTC", "WatchdogTimestampMonotonic": "1083502141", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:58:34 +0000 (0:00:00.672) 0:01:58.822 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 08:58:34 +0000 (0:00:00.077) 0:01:58.899 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 08:58:34 +0000 (0:00:00.024) 0:01:58.924 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Thursday 07 December 2023 08:58:34 +0000 (0:00:00.032) 0:01:58.956 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "65728512", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "21", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Thursday 07 December 2023 08:58:35 +0000 (0:00:00.451) 0:01:59.408 ***** 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": 8007, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Thursday 07 December 2023 08:58:36 +0000 (0:00:01.227) 0:02:00.635 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Thursday 07 December 2023 08:58:36 +0000 (0:00:00.024) 0:02:00.660 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for sut => (item=sql_script.sql) included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for sut => (item=sql_script.sql) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Thursday 07 December 2023 08:58:36 +0000 (0:00:00.060) 0:02:00.720 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/sql_script.sql_87bwce_s.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Thursday 07 December 2023 08:58:36 +0000 (0:00:00.226) 0:02:00.946 ***** ok: [sut] => { "changed": false, "checksum": "67de8f18f6fcaa09e738d8c66f024167f8a33041", "dest": "/tmp/sql_script.sql_87bwce_s.sql", "gid": 0, "group": "root", "md5sum": "1b9811caa61ae40c1e20f7b8b059f23c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1481, "src": "/root/.ansible/tmp/ansible-tmp-1701939516.7445984-9918-258065104819325/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Thursday 07 December 2023 08:58:37 +0000 (0:00:00.815) 0:02:01.761 ***** skipping: [sut] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Thursday 07 December 2023 08:58:37 +0000 (0:00:00.038) 0:02:01.799 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:40 Thursday 07 December 2023 08:58:38 +0000 (0:00:00.775) 0:02:02.574 ***** ok: [sut] => (item=/tmp/sql_script.sql_87bwce_s.sql) => { "__mssql_sqlcmd_loop": "/tmp/sql_script.sql_87bwce_s.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Creating the MyLogin login', 'The MyLogin login created successfully', 'Creating the MyUser user', 'The MyUser user created successfully', 'Creating the ExampleDB database', 'The ExampleDB database created successfully', "Changed database context to 'ExampleDB'.", 'Adding the Inventory table to the ExampleDB database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the MyLogin login", "The MyLogin login created successfully", "Creating the MyUser user", "The MyUser user created successfully", "Creating the ExampleDB database", "The ExampleDB database created successfully", "Changed database context to 'ExampleDB'.", "Adding the Inventory table to the ExampleDB database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile sql_script.sql] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:56 Thursday 07 December 2023 08:58:38 +0000 (0:00:00.066) 0:02:02.641 ***** skipping: [sut] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Thursday 07 December 2023 08:58:38 +0000 (0:00:00.062) 0:02:02.704 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/sql_script.sql_o93k8yet.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Thursday 07 December 2023 08:58:38 +0000 (0:00:00.201) 0:02:02.905 ***** ok: [sut] => { "changed": false, "checksum": "67de8f18f6fcaa09e738d8c66f024167f8a33041", "dest": "/tmp/sql_script.sql_o93k8yet.sql", "gid": 0, "group": "root", "md5sum": "1b9811caa61ae40c1e20f7b8b059f23c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1481, "src": "/root/.ansible/tmp/ansible-tmp-1701939518.7036555-9938-271028330636586/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.608) 0:02:03.514 ***** skipping: [sut] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.030) 0:02:03.544 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting sql_script.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:40 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.279) 0:02:03.823 ***** ok: [sut] => (item=/tmp/sql_script.sql_o93k8yet.sql) => { "__mssql_sqlcmd_loop": "/tmp/sql_script.sql_o93k8yet.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['The MyLogin login already exists, skipping', 'The MyUser user already exists, skipping', 'The ExampleDB database already exists, skipping', "Changed database context to 'ExampleDB'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The MyLogin login already exists, skipping", "The MyUser user already exists, skipping", "The ExampleDB database already exists, skipping", "Changed database context to 'ExampleDB'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile sql_script.sql] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:56 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.055) 0:02:03.878 ***** skipping: [sut] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.031) 0:02:03.910 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.045) 0:02:03.955 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:40 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.046) 0:02:04.001 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify custom storage] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:50 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.028) 0:02:04.029 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.118) 0:02:04.148 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.024) 0:02:04.173 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.031) 0:02:04.204 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:58:39 +0000 (0:00:00.025) 0:02:04.230 ***** skipping: [sut] => { "changed": false, "false_condition": "item.value is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.026) 0:02:04.256 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939517.9611886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939517.8651915, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 503317107, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701939517.8651915, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 27, "uid": 990, "version": "2330711834", "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-selinux7v0a56uc/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.263) 0:02:04.520 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.044) 0:02:04.564 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939517.9741883, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939517.8891907, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 545260202, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701939517.8891907, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 31, "uid": 990, "version": "1235954873", "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-selinux7v0a56uc/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.291) 0:02:04.855 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.070) 0:02:04.925 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_password is defined", "skip_reason": "Conditional result was False" } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.051) 0:02:04.977 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_password is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.045) 0:02:05.023 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_password is defined", "skip_reason": "Conditional result was False" } TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.046) 0:02:05.070 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_password is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package {{ __mssql_server_fts_packages }}] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.024) 0:02:05.095 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_fts_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package {{ __mssql_powershell_packages }}] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.037) 0:02:05.132 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_powershell_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.024) 0:02:05.157 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.051) 0:02:05.208 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:58:40 +0000 (0:00:00.027) 0:02:05.236 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.025) 0:02:05.261 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.033) 0:02:05.295 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.046) 0:02:05.341 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.029) 0:02:05.371 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.037) 0:02:05.409 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.075) 0:02:05.484 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.025) 0:02:05.510 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.030) 0:02:05.540 ***** 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_packages }}] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.034) 0:02:05.575 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Set up MSSQL and input sql content with pre_input] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:58 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.025) 0:02:05.600 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.326) 0:02:05.927 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.044) 0:02:05.971 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.031) 0:02:06.003 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.044) 0:02:06.048 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.026) 0:02:06.075 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.093) 0:02:06.168 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.030) 0:02:06.198 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:58:41 +0000 (0:00:00.021) 0:02:06.219 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.042) 0:02:06.261 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.026) 0:02:06.288 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.028) 0:02:06.316 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.025) 0:02:06.342 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.029) 0:02:06.371 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.020) 0:02:06.392 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.034) 0:02:06.426 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.044) 0:02:06.471 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:58:42 +0000 (0:00:00.024) 0:02:06.496 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:58:43 +0000 (0:00:01.348) 0:02:07.844 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:58:43 +0000 (0:00:00.060) 0:02:07.905 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:58:43 +0000 (0:00:00.070) 0:02:07.975 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:58:43 +0000 (0:00:00.026) 0:02:08.002 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:58:43 +0000 (0:00:00.038) 0:02:08.041 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.438) 0:02:08.479 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.029) 0:02:08.509 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.039) 0:02:08.549 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.049) 0:02:08.599 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.032) 0:02:08.631 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.023) 0:02:08.655 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.025) 0:02:08.680 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.033) 0:02:08.713 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.101) 0:02:08.814 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:58:44 +0000 (0:00:00.036) 0:02:08.851 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:58:45 +0000 (0:00:01.318) 0:02:10.169 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:58:45 +0000 (0:00:00.022) 0:02:10.192 ***** 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.005596", "end": "2023-12-07 08:58:46.158643", "rc": 0, "start": "2023-12-07 08:58:46.153047" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:58:46 +0000 (0:00:00.251) 0:02:10.443 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:59:14 +0000 (0:00:28.706) 0:02:39.149 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:59:14 +0000 (0:00:00.030) 0:02:39.180 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:59:14 +0000 (0:00:00.019) 0:02:39.200 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:59:14 +0000 (0:00:00.020) 0:02:39.221 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:59:14 +0000 (0:00:00.025) 0:02:39.246 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:59:15 +0000 (0:00:00.020) 0:02:39.267 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:59:17 +0000 (0:00:02.269) 0:02:41.537 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22855680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:59:19 +0000 (0:00:02.361) 0:02:43.899 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120575", "end": "2023-12-07 08:59:19.941329", "rc": 0, "start": "2023-12-07 08:59:19.820754" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:59:19 +0000 (0:00:00.322) 0:02:44.221 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:59:20 +0000 (0:00:00.048) 0:02:44.270 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:59:20 +0000 (0:00:00.030) 0:02:44.300 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:59:20 +0000 (0:00:00.022) 0:02:44.322 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:59:20 +0000 (0:00:00.221) 0:02:44.544 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:59:21 +0000 (0:00:01.329) 0:02:45.873 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:59:21 +0000 (0:00:00.043) 0:02:45.917 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "660062208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "140", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:59:22 +0000 (0:00:00.401) 0:02:46.318 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003011", "end": "2023-12-07 08:59:22.258767", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:59:22.255756" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:59:22 +0000 (0:00:00.220) 0:02:46.538 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002944", "end": "2023-12-07 08:59:22.471564", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:59:22.468620" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:59:22 +0000 (0:00:00.213) 0:02:46.751 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:59:22 +0000 (0:00:00.051) 0:02:46.803 ***** 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": 6876, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:59:23 +0000 (0:00:01.232) 0:02:48.036 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:59:24 +0000 (0:00:00.254) 0:02:48.291 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_password_query is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:59:24 +0000 (0:00:00.049) 0:02:48.341 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:59:25 +0000 (0:00:01.364) 0:02:49.705 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:59:25 +0000 (0:00:00.032) 0:02:49.737 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:59:25 +0000 (0:00:00.047) 0:02:49.785 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 08:59:25 +0000 (0:00:00.206) 0:02:49.991 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 08:59:25 +0000 (0:00:00.023) 0:02:50.014 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Thursday 07 December 2023 08:59:25 +0000 (0:00:00.022) 0:02:50.037 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "660959232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "140", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Thursday 07 December 2023 08:59:26 +0000 (0:00:00.429) 0:02:50.467 ***** 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": 6876, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Thursday 07 December 2023 08:59:27 +0000 (0:00:01.225) 0:02:51.692 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Thursday 07 December 2023 08:59:27 +0000 (0:00:00.023) 0:02:51.715 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_sql_files_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Thursday 07 December 2023 08:59:27 +0000 (0:00:00.022) 0:02:51.737 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for sut => (item=IF NOT EXISTS( SELECT name FROM sys.databases WHERE name = 'ExampleDB2' ) BEGIN PRINT 'Creating the ExampleDB2 database'; CREATE DATABASE ExampleDB2; PRINT 'The ExampleDB2 database created successfully'; END ELSE BEGIN PRINT 'The ExampleDB2 database already exists, skipping'; END GO USE ExampleDB2; GO IF NOT EXISTS ( SELECT name, xtype FROM sysobjects WHERE name='Inventory' and xtype='U' ) BEGIN PRINT 'Adding the Inventory table to the ExampleDB2 database'; CREATE TABLE Inventory (id INT, name NVARCHAR(50), quantity INT); INSERT INTO Inventory VALUES (1, 'apple', 100); INSERT INTO Inventory VALUES (2, 'orange', 150); INSERT INTO Inventory VALUES (3, 'banana', 154); INSERT INTO Inventory VALUES (4, N'バナナ', 170); PRINT 'The Inventory table created successfully'; END ELSE BEGIN PRINT 'The Inventory table already exists, skipping'; END GO ) included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for sut => (item=IF NOT EXISTS( SELECT name FROM sys.databases WHERE name = 'ExampleDB2' ) BEGIN PRINT 'Creating the ExampleDB2 database'; CREATE DATABASE ExampleDB2; PRINT 'The ExampleDB2 database created successfully'; END ELSE BEGIN PRINT 'The ExampleDB2 database already exists, skipping'; END GO USE ExampleDB2; GO IF NOT EXISTS ( SELECT name, xtype FROM sysobjects WHERE name='Inventory' and xtype='U' ) BEGIN PRINT 'Adding the Inventory table to the ExampleDB2 database'; CREATE TABLE Inventory (id INT, name NVARCHAR(50), quantity INT); INSERT INTO Inventory VALUES (1, 'apple', 100); INSERT INTO Inventory VALUES (2, 'orange', 150); INSERT INTO Inventory VALUES (3, 'banana', 154); INSERT INTO Inventory VALUES (4, N'バナナ', 170); PRINT 'The Inventory table created successfully'; END ELSE BEGIN PRINT 'The Inventory table already exists, skipping'; END GO ) TASK [fedora.linux_system_roles.mssql : Input script content] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:4 Thursday 07 December 2023 08:59:27 +0000 (0:00:00.295) 0:02:52.033 ***** changed: [sut] => { "attempts": 1, "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 : Print results and clean up after inputting script content] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:16 Thursday 07 December 2023 08:59:28 +0000 (0:00:00.695) 0:02:52.729 ***** ok: [sut] => (item=['Creating the ExampleDB2 database', 'The ExampleDB2 database created successfully', "Changed database context to 'ExampleDB2'.", 'Adding the Inventory table to the ExampleDB2 database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB2 database", "The ExampleDB2 database created successfully", "Changed database context to 'ExampleDB2'.", "Adding the Inventory table to the ExampleDB2 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Input script content] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:4 Thursday 07 December 2023 08:59:28 +0000 (0:00:00.033) 0:02:52.762 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Print results and clean up after inputting script content] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:16 Thursday 07 December 2023 08:59:28 +0000 (0:00:00.245) 0:02:53.008 ***** ok: [sut] => (item=['The ExampleDB2 database already exists, skipping', "Changed database context to 'ExampleDB2'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB2 database already exists, skipping", "Changed database context to 'ExampleDB2'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:59:28 +0000 (0:00:00.062) 0:02:53.070 ***** 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.005093", "end": "2023-12-07 08:59:29.043549", "rc": 0, "start": "2023-12-07 08:59:29.038456" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:59:29 +0000 (0:00:00.252) 0:02:53.323 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:59:29 +0000 (0:00:00.021) 0:02:53.344 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:59:30 +0000 (0:00:01.328) 0:02:54.673 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:59:30 +0000 (0:00:00.024) 0:02:54.697 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:59:30 +0000 (0:00:00.074) 0:02:54.772 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:59:30 +0000 (0:00:00.026) 0:02:54.798 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:59:30 +0000 (0:00:00.021) 0:02:54.819 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:59:30 +0000 (0:00:00.038) 0:02:54.857 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003042", "end": "2023-12-07 08:59:30.788937", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:59:30.785895" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:59:30 +0000 (0:00:00.217) 0:02:55.075 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048342", "end": "2023-12-07 08:59:31.082482", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:59:31.034140" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.298) 0:02:55.373 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.020) 0:02:55.394 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.019) 0:02:55.413 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.020) 0:02:55.434 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.021) 0:02:55.455 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.021) 0:02:55.477 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.024) 0:02:55.501 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.021) 0:02:55.523 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.022) 0:02:55.546 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.031) 0:02:55.577 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.066) 0:02:55.644 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.025) 0:02:55.669 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.022) 0:02:55.691 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.024) 0:02:55.715 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.023) 0:02:55.739 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.027) 0:02:55.766 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.022) 0:02:55.789 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.041) 0:02:55.831 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.037) 0:02:55.868 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.056) 0:02:55.925 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.029) 0:02:55.954 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.034) 0:02:55.989 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.027) 0:02:56.016 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.032) 0:02:56.048 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.032) 0:02:56.081 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.023) 0:02:56.105 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.025) 0:02:56.130 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:59:31 +0000 (0:00:00.101) 0:02:56.231 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.033) 0:02:56.265 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.037) 0:02:56.303 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.027) 0:02:56.330 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.025) 0:02:56.356 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.023) 0:02:56.380 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.029) 0:02:56.410 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.036) 0:02:56.446 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.024) 0:02:56.471 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.080) 0:02:56.552 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.065) 0:02:56.618 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.031) 0:02:56.649 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.051) 0:02:56.701 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.047) 0:02:56.748 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.028) 0:02:56.776 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.052) 0:02:56.829 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.072) 0:02:56.901 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.224) 0:02:57.126 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.030) 0:02:57.156 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:59:32 +0000 (0:00:00.034) 0:02:57.191 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.080) 0:02:57.271 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.042) 0:02:57.314 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.038) 0:02:57.352 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.028) 0:02:57.381 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.044) 0:02:57.426 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.043) 0:02:57.469 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.045) 0:02:57.515 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.045) 0:02:57.560 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.024) 0:02:57.585 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.084) 0:02:57.670 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.079) 0:02:57.750 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.054) 0:02:57.804 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.039) 0:02:57.843 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.085) 0:02:57.928 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.033) 0:02:57.962 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.048) 0:02:58.010 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.045) 0:02:58.056 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.035) 0:02:58.091 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.038) 0:02:58.129 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:59:33 +0000 (0:00:00.099) 0:02:58.229 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.044) 0:02:58.273 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.275) 0:02:58.549 ***** META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.045) 0:02:58.595 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.036) 0:02:58.632 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:69 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.050) 0:02:58.682 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set up MSSQL and input sql content with post_input] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:75 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.061) 0:02:58.744 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:59:34 +0000 (0:00:00.499) 0:02:59.243 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.086) 0:02:59.329 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.069) 0:02:59.399 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.072) 0:02:59.472 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.064) 0:02:59.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.085) 0:02:59.622 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.086) 0:02:59.709 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.050) 0:02:59.760 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.053) 0:02:59.813 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.038) 0:02:59.852 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.039) 0:02:59.891 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.164) 0:03:00.055 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.037) 0:03:00.093 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.039) 0:03:00.132 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.026) 0:03:00.159 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:59:35 +0000 (0:00:00.054) 0:03:00.214 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:59:36 +0000 (0:00:00.067) 0:03:00.281 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:59:37 +0000 (0:00:01.344) 0:03:01.626 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:59:37 +0000 (0:00:00.105) 0:03:01.731 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:59:37 +0000 (0:00:00.046) 0:03:01.777 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:59:37 +0000 (0:00:00.051) 0:03:01.829 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:59:37 +0000 (0:00:00.055) 0:03:01.885 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.473) 0:03:02.359 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.025) 0:03:02.384 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.043) 0:03:02.427 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.118) 0:03:02.545 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.026) 0:03:02.572 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.028) 0:03:02.600 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.024) 0:03:02.625 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.030) 0:03:02.655 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.032) 0:03:02.688 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:59:38 +0000 (0:00:00.028) 0:03:02.716 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:59:39 +0000 (0:00:01.325) 0:03:04.042 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:59:39 +0000 (0:00:00.023) 0:03:04.065 ***** 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.005703", "end": "2023-12-07 08:59:40.012807", "rc": 0, "start": "2023-12-07 08:59:40.007104" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:59:40 +0000 (0:00:00.237) 0:03:04.303 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:00:09 +0000 (0:00:29.734) 0:03:34.038 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:00:09 +0000 (0:00:00.041) 0:03:34.079 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:00:09 +0000 (0:00:00.037) 0:03:34.117 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:00:09 +0000 (0:00:00.030) 0:03:34.147 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:00:09 +0000 (0:00:00.039) 0:03:34.186 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:00:10 +0000 (0:00:00.069) 0:03:34.256 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:00:11 +0000 (0:00:01.321) 0:03:35.577 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22872064", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:00:11 +0000 (0:00:00.383) 0:03:35.960 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:01.116797", "end": "2023-12-07 09:00:12.998392", "rc": 0, "start": "2023-12-07 09:00:11.881595" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:00:13 +0000 (0:00:01.322) 0:03:37.283 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:00:13 +0000 (0:00:00.021) 0:03:37.304 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:00:13 +0000 (0:00:00.023) 0:03:37.328 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:00:13 +0000 (0:00:00.032) 0:03:37.360 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:00:13 +0000 (0:00:00.254) 0:03:37.615 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:00:14 +0000 (0:00:01.261) 0:03:38.876 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:00:14 +0000 (0:00:00.044) 0:03:38.921 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "672202752", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "137", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:00:15 +0000 (0:00:00.348) 0:03:39.270 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003129", "end": "2023-12-07 09:00:15.223951", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:00:15.220822" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:00:15 +0000 (0:00:00.235) 0:03:39.505 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003173", "end": "2023-12-07 09:00:15.431975", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:00:15.428802" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:00:15 +0000 (0:00:00.220) 0:03:39.726 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:00:15 +0000 (0:00:00.040) 0:03:39.767 ***** 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": 7176, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:00:16 +0000 (0:00:01.211) 0:03:40.979 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:00:16 +0000 (0:00:00.242) 0:03:41.222 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_password_query is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:00:17 +0000 (0:00:00.125) 0:03:41.347 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:00:18 +0000 (0:00:01.396) 0:03:42.744 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.061) 0:03:42.805 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.030) 0:03:42.836 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.025) 0:03:42.862 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.027) 0:03:42.889 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.025) 0:03:42.915 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.025) 0:03:42.940 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.036) 0:03:42.976 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.024) 0:03:43.000 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.051) 0:03:43.052 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.051) 0:03:43.104 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:00:18 +0000 (0:00:00.057) 0:03:43.162 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003030", "end": "2023-12-07 09:00:19.158388", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:00:19.155358" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.330) 0:03:43.492 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047818", "end": "2023-12-07 09:00:19.467834", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:00:19.420016" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.267) 0:03:43.760 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.033) 0:03:43.794 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.024) 0:03:43.819 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.024) 0:03:43.844 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.030) 0:03:43.874 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.028) 0:03:43.902 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.049) 0:03:43.952 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.023) 0:03:43.975 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.040) 0:03:44.015 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.022) 0:03:44.037 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.027) 0:03:44.065 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.025) 0:03:44.090 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.036) 0:03:44.127 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.048) 0:03:44.175 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.032) 0:03:44.208 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:00:19 +0000 (0:00:00.036) 0:03:44.244 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.103) 0:03:44.348 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.026) 0:03:44.375 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.033) 0:03:44.408 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.034) 0:03:44.442 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.026) 0:03:44.469 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.028) 0:03:44.497 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.050) 0:03:44.548 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.033) 0:03:44.581 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.079) 0:03:44.661 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.034) 0:03:44.695 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.030) 0:03:44.726 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.033) 0:03:44.759 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.030) 0:03:44.790 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.025) 0:03:44.815 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.028) 0:03:44.843 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.036) 0:03:44.880 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.053) 0:03:44.933 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.137) 0:03:45.071 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.030) 0:03:45.101 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.033) 0:03:45.135 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.021) 0:03:45.157 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.032) 0:03:45.189 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:00:20 +0000 (0:00:00.040) 0:03:45.229 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.044) 0:03:45.274 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.027) 0:03:45.302 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.026) 0:03:45.329 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.027) 0:03:45.356 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.032) 0:03:45.388 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.037) 0:03:45.426 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.023) 0:03:45.450 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.040) 0:03:45.490 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.054) 0:03:45.545 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.068) 0:03:45.614 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.134) 0:03:45.749 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.034) 0:03:45.783 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.042) 0:03:45.826 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.037) 0:03:45.864 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.048) 0:03:45.913 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.065) 0:03:45.978 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.028) 0:03:46.007 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.022) 0:03:46.029 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.026) 0:03:46.056 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.037) 0:03:46.093 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.033) 0:03:46.127 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.022) 0:03:46.150 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.024) 0:03:46.174 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.020) 0:03:46.194 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.021) 0:03:46.216 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:00:21 +0000 (0:00:00.025) 0:03:46.241 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.021) 0:03:46.262 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.081) 0:03:46.344 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.022) 0:03:46.366 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.262) 0:03:46.628 ***** META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.023) 0:03:46.651 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.035) 0:03:46.687 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.042) 0:03:46.729 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.021) 0:03:46.751 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Thursday 07 December 2023 09:00:22 +0000 (0:00:00.024) 0:03:46.776 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "673124352", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "137", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Thursday 07 December 2023 09:00:23 +0000 (0:00:01.339) 0:03:48.116 ***** 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": 7176, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Thursday 07 December 2023 09:00:25 +0000 (0:00:01.206) 0:03:49.322 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.022) 0:03:49.345 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_sql_files_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.023) 0:03:49.369 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for sut => (item=IF NOT EXISTS ( SELECT name FROM master.sys.server_principals WHERE name = 'MyLogin' ) BEGIN PRINT 'Creating the MyLogin login'; CREATE LOGIN MyLogin WITH PASSWORD = 'p@55w0rD' PRINT 'The MyLogin login created successfully'; END ELSE BEGIN PRINT 'The MyLogin login already exists, skipping'; END IF NOT EXISTS ( SELECT name FROM sys.database_principals WHERE name = 'MyUser') BEGIN PRINT 'Creating the MyUser user'; CREATE USER MyUser FOR LOGIN MyLogin PRINT 'The MyUser user created successfully'; END ELSE BEGIN PRINT 'The MyUser user already exists, skipping'; END IF NOT EXISTS( SELECT name FROM sys.databases WHERE name = 'ExampleDB' ) BEGIN PRINT 'Creating the ExampleDB database'; CREATE DATABASE ExampleDB; PRINT 'The ExampleDB database created successfully'; END ELSE BEGIN PRINT 'The ExampleDB database already exists, skipping'; END GO USE ExampleDB; GO IF NOT EXISTS ( SELECT name, xtype FROM sysobjects WHERE name='Inventory' and xtype='U' ) BEGIN PRINT 'Adding the Inventory table to the ExampleDB database'; CREATE TABLE Inventory (id INT, name NVARCHAR(50), quantity INT); INSERT INTO Inventory VALUES (1, 'apple', 100); INSERT INTO Inventory VALUES (2, 'orange', 150); INSERT INTO Inventory VALUES (3, 'banana', 154); INSERT INTO Inventory VALUES (4, N'バナナ', 170); PRINT 'The Inventory table created successfully'; END ELSE BEGIN PRINT 'The Inventory table already exists, skipping'; END GO) TASK [fedora.linux_system_roles.mssql : Input script content] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:4 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.044) 0:03:49.414 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Print results and clean up after inputting script content] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:16 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.314) 0:03:49.728 ***** ok: [sut] => (item=['The MyLogin login already exists, skipping', 'The MyUser user already exists, skipping', 'The ExampleDB database already exists, skipping', "Changed database context to 'ExampleDB'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The MyLogin login already exists, skipping", "The MyUser user already exists, skipping", "The ExampleDB database already exists, skipping", "Changed database context to 'ExampleDB'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:83 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.044) 0:03:49.773 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input the sql file without the mssql_password variable] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:91 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.023) 0:03:49.796 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.093) 0:03:49.890 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.031) 0:03:49.922 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.027) 0:03:49.949 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.042) 0:03:49.992 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.024) 0:03:50.017 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.023) 0:03:50.041 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.022) 0:03:50.063 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.046) 0:03:50.110 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.107) 0:03:50.217 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:00:25 +0000 (0:00:00.026) 0:03:50.244 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.022) 0:03:50.266 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.026) 0:03:50.293 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.021) 0:03:50.314 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.025) 0:03:50.340 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.021) 0:03:50.361 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.023) 0:03:50.384 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:00:26 +0000 (0:00:00.025) 0:03:50.409 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:00:27 +0000 (0:00:01.319) 0:03:51.729 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:00:27 +0000 (0:00:00.070) 0:03:51.800 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:00:27 +0000 (0:00:00.024) 0:03:51.824 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:00:27 +0000 (0:00:00.049) 0:03:51.874 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:00:27 +0000 (0:00:00.080) 0:03:51.955 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:00:29 +0000 (0:00:01.503) 0:03:53.459 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.024) 0:03:53.483 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.028) 0:03:53.511 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.024) 0:03:53.535 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.025) 0:03:53.561 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.023) 0:03:53.585 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.034) 0:03:53.619 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.024) 0:03:53.644 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.028) 0:03:53.672 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:00:29 +0000 (0:00:00.024) 0:03:53.696 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:00:30 +0000 (0:00:01.298) 0:03:54.995 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:00:30 +0000 (0:00:00.032) 0:03:55.027 ***** 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.005609", "end": "2023-12-07 09:00:30.978088", "rc": 0, "start": "2023-12-07 09:00:30.972479" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:00:31 +0000 (0:00:00.262) 0:03:55.290 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:00:51 +0000 (0:00:20.770) 0:04:16.061 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:00:51 +0000 (0:00:00.031) 0:04:16.092 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:00:51 +0000 (0:00:00.024) 0:04:16.116 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:00:51 +0000 (0:00:00.095) 0:04:16.212 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:00:51 +0000 (0:00:00.026) 0:04:16.239 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:00:52 +0000 (0:00:00.023) 0:04:16.262 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:00:53 +0000 (0:00:01.291) 0:04:17.554 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22597632", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:00:53 +0000 (0:00:00.381) 0:04:17.936 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120740", "end": "2023-12-07 09:00:53.995943", "rc": 0, "start": "2023-12-07 09:00:53.875203" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:00:54 +0000 (0:00:00.340) 0:04:18.277 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:00:54 +0000 (0:00:00.021) 0:04:18.298 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:00:54 +0000 (0:00:00.022) 0:04:18.320 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:00:54 +0000 (0:00:00.023) 0:04:18.343 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:00:54 +0000 (0:00:00.234) 0:04:18.577 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:00:55 +0000 (0:00:01.295) 0:04:19.873 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.049) 0:04:19.922 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.055) 0:04:19.978 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.037) 0:04:20.015 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.027) 0:04:20.043 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.028) 0:04:20.072 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.039) 0:04:20.111 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 09:00:55 +0000 (0:00:00.115) 0:04:20.226 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.037) 0:04:20.263 ***** fatal: [sut]: FAILED! => { "assertion": "mssql_password is not none", "changed": false, "evaluated_to": false } MSG: You must define the mssql_password variable because MSSQL requires the sa user to authenticate to input SQL files. TASK [Assert that the role failed with mssql_password not defined] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:102 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.027) 0:04:20.291 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input the sql file without the mssql_password variable] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:110 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.024) 0:04:20.316 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.133) 0:04:20.449 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.052) 0:04:20.502 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.037) 0:04:20.539 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.079) 0:04:20.619 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.032) 0:04:20.652 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.037) 0:04:20.689 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.034) 0:04:20.724 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.102) 0:04:20.826 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.028) 0:04:20.854 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.021) 0:04:20.876 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.022) 0:04:20.899 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.025) 0:04:20.924 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.021) 0:04:20.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 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.042) 0:04:20.989 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.026) 0:04:21.015 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.033) 0:04:21.049 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:00:56 +0000 (0:00:00.028) 0:04:21.078 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:00:58 +0000 (0:00:01.416) 0:04:22.495 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:00:58 +0000 (0:00:00.136) 0:04:22.631 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:00:58 +0000 (0:00:00.037) 0:04:22.668 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:00:58 +0000 (0:00:00.097) 0:04:22.765 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:00:58 +0000 (0:00:00.196) 0:04:22.962 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.495) 0:04:23.457 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.042) 0:04:23.500 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.033) 0:04:23.533 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.030) 0:04:23.564 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.046) 0:04:23.611 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.070) 0:04:23.681 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.066) 0:04:23.747 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.059) 0:04:23.806 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.074) 0:04:23.881 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:00:59 +0000 (0:00:00.070) 0:04:23.952 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:01:01 +0000 (0:00:01.410) 0:04:25.363 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:01:01 +0000 (0:00:00.024) 0:04:25.387 ***** 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.005836", "end": "2023-12-07 09:01:01.332727", "rc": 0, "start": "2023-12-07 09:01:01.326891" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:01:01 +0000 (0:00:00.244) 0:04:25.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 : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:01:25 +0000 (0:00:23.732) 0:04:49.365 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:01:25 +0000 (0:00:00.067) 0:04:49.433 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:01:25 +0000 (0:00:00.169) 0:04:49.602 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:01:25 +0000 (0:00:00.064) 0:04:49.667 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:01:25 +0000 (0:00:00.106) 0:04:49.774 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:01:25 +0000 (0:00:00.046) 0:04:49.820 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:01:27 +0000 (0:00:02.317) 0:04:52.138 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22839296", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:01:28 +0000 (0:00:00.420) 0:04:52.558 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116999", "end": "2023-12-07 09:01:28.607625", "rc": 0, "start": "2023-12-07 09:01:28.490626" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:01:28 +0000 (0:00:00.334) 0:04:52.892 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:01:28 +0000 (0:00:00.069) 0:04:52.962 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:01:28 +0000 (0:00:00.062) 0:04:53.025 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:01:28 +0000 (0:00:00.036) 0:04:53.061 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:01:29 +0000 (0:00:00.239) 0:04:53.301 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:01:30 +0000 (0:00:01.336) 0:04:54.638 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.023) 0:04:54.661 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.025) 0:04:54.687 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.022) 0:04:54.710 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.029) 0:04:54.740 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.106) 0:04:54.846 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.036) 0:04:54.882 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.033) 0:04:54.915 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.033) 0:04:54.949 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.037) 0:04:54.986 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.038) 0:04:55.025 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.024) 0:04:55.049 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.064) 0:04:55.113 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.060) 0:04:55.174 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.036) 0:04:55.210 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:01:30 +0000 (0:00:00.029) 0:04:55.240 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.040) 0:04:55.280 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003165", "end": "2023-12-07 09:01:31.223726", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:01:31.220561" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.226) 0:04:55.506 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.051086", "end": "2023-12-07 09:01:31.507572", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:01:31.456486" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.288) 0:04:55.795 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.052) 0:04:55.847 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.057) 0:04:55.905 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.148) 0:04:56.053 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.037) 0:04:56.090 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.055) 0:04:56.146 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.042) 0:04:56.188 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:01:31 +0000 (0:00:00.025) 0:04:56.214 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.044) 0:04:56.258 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.035) 0:04:56.294 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.030) 0:04:56.324 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.031) 0:04:56.355 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.035) 0:04:56.391 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.027) 0:04:56.418 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.030) 0:04:56.449 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.026) 0:04:56.475 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.027) 0:04:56.502 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.023) 0:04:56.525 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.023) 0:04:56.549 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.023) 0:04:56.573 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.083) 0:04:56.656 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.042) 0:04:56.698 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.026) 0:04:56.725 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.025) 0:04:56.751 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.025) 0:04:56.776 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.025) 0:04:56.802 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.045) 0:04:56.847 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.044) 0:04:56.892 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.035) 0:04:56.927 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.030) 0:04:56.958 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.036) 0:04:56.995 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.022) 0:04:57.017 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.022) 0:04:57.039 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.022) 0:04:57.062 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.020) 0:04:57.083 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.021) 0:04:57.104 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.099) 0:04:57.203 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:01:32 +0000 (0:00:00.024) 0:04:57.228 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.031) 0:04:57.260 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.028) 0:04:57.289 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.026) 0:04:57.315 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.025) 0:04:57.341 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.024) 0:04:57.366 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.022) 0:04:57.389 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.025) 0:04:57.415 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.024) 0:04:57.439 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.027) 0:04:57.467 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.028) 0:04:57.495 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.021) 0:04:57.517 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.020) 0:04:57.538 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.020) 0:04:57.558 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.021) 0:04:57.579 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.020) 0:04:57.600 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.077) 0:04:57.677 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.023) 0:04:57.701 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.025) 0:04:57.727 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.028) 0:04:57.755 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.021) 0:04:57.777 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.021) 0:04:57.798 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.025) 0:04:57.823 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.020) 0:04:57.844 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.020) 0:04:57.864 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.023) 0:04:57.887 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.022) 0:04:57.910 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.025) 0:04:57.935 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.020) 0:04:57.956 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.021) 0:04:57.977 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:01:33 +0000 (0:00:00.021) 0:04:57.999 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.325) 0:04:58.325 ***** META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.129) 0:04:58.454 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.044) 0:04:58.498 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.025) 0:04:58.524 ***** fatal: [sut]: FAILED! => { "assertion": "mssql_password is not none", "changed": false, "evaluated_to": false } MSG: You must define the mssql_password variable because MSSQL requires the sa user to authenticate to input SQL files. TASK [Assert that the role failed with mssql_password not defined] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:121 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.033) 0:04:58.557 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Enable FTS and verify that it works when inputting post script] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:127 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.030) 0:04:58.588 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.144) 0:04:58.732 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.035) 0:04:58.767 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.043) 0:04:58.810 ***** 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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.041) 0:04:58.852 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.024) 0:04:58.876 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.021) 0:04:58.898 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.091) 0:04:58.989 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.025) 0:04:59.014 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.021) 0:04:59.035 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.022) 0:04:59.058 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.027) 0:04:59.085 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.024) 0:04:59.109 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.020) 0:04:59.130 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.020) 0:04:59.151 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.020) 0:04:59.171 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.021) 0:04:59.193 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:01:34 +0000 (0:00:00.023) 0:04:59.217 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:01:36 +0000 (0:00:01.295) 0:05:00.513 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.060) 0:05:00.574 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.020) 0:05:00.595 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.073) 0:05:00.668 ***** 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": "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": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.041) 0:05:00.710 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.458) 0:05:01.168 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.022) 0:05:01.191 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.023) 0:05:01.214 ***** 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 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:01:36 +0000 (0:00:00.023) 0:05:01.237 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:01:37 +0000 (0:00:00.028) 0:05:01.266 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:01:37 +0000 (0:00:00.022) 0:05:01.289 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:01:37 +0000 (0:00:00.019) 0:05:01.309 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:01:37 +0000 (0:00:00.020) 0:05:01.329 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:01:37 +0000 (0:00:00.024) 0:05:01.353 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:01:37 +0000 (0:00:00.021) 0:05:01.375 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:01:38 +0000 (0:00:01.257) 0:05:02.633 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:01:38 +0000 (0:00:00.023) 0:05:02.656 ***** 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.005956", "end": "2023-12-07 09:01:38.610192", "rc": 0, "start": "2023-12-07 09:01:38.604236" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:01:38 +0000 (0:00:00.241) 0:05:02.897 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:01:57 +0000 (0:00:18.701) 0:05:21.599 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:01:57 +0000 (0:00:00.202) 0:05:21.801 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:01:57 +0000 (0:00:00.029) 0:05:21.830 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:01:57 +0000 (0:00:00.035) 0:05:21.866 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:01:57 +0000 (0:00:00.027) 0:05:21.893 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:01:57 +0000 (0:00:00.031) 0:05:21.924 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:01:58 +0000 (0:00:01.310) 0:05:23.235 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:37 UTC", "ActiveEnterTimestampMonotonic": "12750460", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target polkit.service systemd-sysctl.service systemd-journald.socket dbus.service sysinit.target basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:36 UTC", "AssertTimestampMonotonic": "11802133", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ConditionTimestampMonotonic": "11802129", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service shutdown.target tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "679", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:36 UTC", "ExecMainStartTimestampMonotonic": "11803364", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:36 UTC", "InactiveExitTimestampMonotonic": "11803414", "InvocationID": "1e9538a2208146f38478aed5db9bc37b", "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": "679", "MemoryAccounting": "yes", "MemoryCurrent": "22843392", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:37 UTC", "StateChangeTimestampMonotonic": "12750460", "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": "Thu 2023-12-07 08:39:37 UTC", "WatchdogTimestampMonotonic": "12750456", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:01:59 +0000 (0:00:00.399) 0:05:23.634 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120975", "end": "2023-12-07 09:01:59.692101", "rc": 0, "start": "2023-12-07 09:01:59.571126" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:01:59 +0000 (0:00:00.339) 0:05:23.974 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:01:59 +0000 (0:00:00.044) 0:05:24.019 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:01:59 +0000 (0:00:00.033) 0:05:24.052 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:01:59 +0000 (0:00:00.035) 0:05:24.088 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:02:00 +0000 (0:00:00.235) 0:05:24.323 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:02:01 +0000 (0:00:01.331) 0:05:25.655 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:02:01 +0000 (0:00:00.042) 0:05:25.698 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "719839232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "137", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:02:02 +0000 (0:00:01.369) 0:05:27.068 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003164", "end": "2023-12-07 09:02:02.999813", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:02:02.996649" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:02:03 +0000 (0:00:00.260) 0:05:27.328 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003017", "end": "2023-12-07 09:02:03.261976", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:02:03.258959" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:02:03 +0000 (0:00:00.212) 0:05:27.540 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:02:03 +0000 (0:00:00.031) 0:05:27.572 ***** 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": 7176, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:02:04 +0000 (0:00:01.209) 0:05:28.782 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:02:04 +0000 (0:00:00.248) 0:05:29.030 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveExitTimestampMonotonic": "1149895265", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "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": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[n/a] ; pid=25018 ; 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": "Thu 2023-12-07 08:58:34 UTC", "InactiveEnterTimestampMonotonic": "1150151849", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "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": "25018", "MemoryAccounting": "yes", "MemoryCurrent": "720019456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:58:34 UTC", "StateChangeTimestampMonotonic": "1150154072", "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": "137", "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": "Thu 2023-12-07 08:58:34 UTC", "WatchdogTimestampMonotonic": "1150154070", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:02:06 +0000 (0:00:01.289) 0:05:30.320 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:02:07 +0000 (0:00:01.306) 0:05:31.627 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:02:11 +0000 (0:00:03.698) 0:05:35.326 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.020) 0:05:35.346 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.020) 0:05:35.367 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.020) 0:05:35.388 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_edition is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.021) 0:05:35.410 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.024) 0:05:35.434 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.024) 0:05:35.459 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.077) 0:05:35.537 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.023) 0:05:35.560 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.022) 0:05:35.582 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.034) 0:05:35.617 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003185", "end": "2023-12-07 09:02:11.547008", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:02:11.543823" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.208) 0:05:35.825 ***** 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.049681", "end": "2023-12-07 09:02:11.803864", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:02:11.754183" } 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.261) 0:05:36.086 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.023) 0:05:36.110 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.024) 0:05:36.135 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:02:11 +0000 (0:00:00.023) 0:05:36.159 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-14.0.3465.1-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:02:33 +0000 (0:00:21.484) 0:05:57.644 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.036) 0:05:57.680 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.028) 0:05:57.708 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.039) 0:05:57.747 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.049) 0:05:57.797 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.025) 0:05:57.822 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.101) 0:05:57.923 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.024) 0:05:57.948 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.024) 0:05:57.972 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.031) 0:05:58.003 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.026) 0:05:58.030 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.028) 0:05:58.058 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.023) 0:05:58.081 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.039) 0:05:58.121 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.024) 0:05:58.145 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.031) 0:05:58.177 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:02:33 +0000 (0:00:00.034) 0:05:58.212 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.049) 0:05:58.262 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.024) 0:05:58.287 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.022) 0:05:58.309 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.025) 0:05:58.334 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.045) 0:05:58.379 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.035) 0:05:58.415 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.250) 0:05:58.665 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.079) 0:05:58.744 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.053) 0:05:58.798 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.030) 0:05:58.829 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.024) 0:05:58.853 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.025) 0:05:58.879 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.033) 0:05:58.913 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.021) 0:05:58.935 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.037) 0:05:58.972 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.047) 0:05:59.020 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.025) 0:05:59.045 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.041) 0:05:59.087 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.049) 0:05:59.137 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.029) 0:05:59.167 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.040) 0:05:59.208 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:02:34 +0000 (0:00:00.032) 0:05:59.240 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.023) 0:05:59.263 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.110) 0:05:59.374 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.024) 0:05:59.399 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.022) 0:05:59.421 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.029) 0:05:59.451 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.033) 0:05:59.485 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.029) 0:05:59.514 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.042) 0:05:59.556 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.023) 0:05:59.580 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.056) 0:05:59.636 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.030) 0:05:59.667 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.031) 0:05:59.698 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.025) 0:05:59.723 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.021) 0:05:59.745 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.040) 0:05:59.785 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.050) 0:05:59.835 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.073) 0:05:59.908 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.181) 0:06:00.090 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.050) 0:06:00.141 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.045) 0:06:00.187 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:02:35 +0000 (0:00:00.027) 0:06:00.215 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:02:36 +0000 (0:00:00.034) 0:06:00.249 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:02:36 +0000 (0:00:00.028) 0:06:00.278 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:02:36 +0000 (0:00:00.024) 0:06:00.303 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:02:36 +0000 (0:00:00.036) 0:06:00.339 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:02:36 +0000 (0:00:00.305) 0:06:00.644 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:02:36 +0000 (0:00:00.023) 0:06:00.667 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ActiveEnterTimestampMonotonic": "1150154072", "ActiveExitTimestamp": "Thu 2023-12-07 09:02:05 UTC", "ActiveExitTimestampMonotonic": "1360734353", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:58:34 UTC", "AssertTimestampMonotonic": "1150152794", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ConditionTimestampMonotonic": "1150152793", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-12-07 09:02:06 UTC", "ExecMainExitTimestampMonotonic": "1361657341", "ExecMainPID": "25018", "ExecMainStartTimestamp": "Thu 2023-12-07 08:58:34 UTC", "ExecMainStartTimestampMonotonic": "1150153990", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:58:34 UTC] ; stop_time=[Thu 2023-12-07 09:02:06 UTC] ; pid=25018 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:02:06 UTC", "InactiveEnterTimestampMonotonic": "1361657455", "InactiveExitTimestamp": "Thu 2023-12-07 08:58:34 UTC", "InactiveExitTimestampMonotonic": "1150154072", "InvocationID": "400a1a58901a411f8e9a2f79e96cfc25", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:02:06 UTC", "StateChangeTimestampMonotonic": "1361657455", "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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:02:37 +0000 (0:00:01.404) 0:06:02.072 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for sut TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Thursday 07 December 2023 09:02:37 +0000 (0:00:00.047) 0:06:02.120 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Thursday 07 December 2023 09:02:37 +0000 (0:00:00.023) 0:06:02.144 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Thursday 07 December 2023 09:02:37 +0000 (0:00:00.028) 0:06:02.173 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:02:37 UTC", "ActiveEnterTimestampMonotonic": "1393377666", "ActiveExitTimestamp": "Thu 2023-12-07 09:02:05 UTC", "ActiveExitTimestampMonotonic": "1360734353", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target -.mount auditd.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:02:37 UTC", "AssertTimestampMonotonic": "1393376509", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:02:37 UTC", "ConditionTimestampMonotonic": "1393376506", "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": "28045", "ExecMainStartTimestamp": "Thu 2023-12-07 09:02:37 UTC", "ExecMainStartTimestampMonotonic": "1393377603", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:02:37 UTC] ; stop_time=[n/a] ; pid=28045 ; 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": "Thu 2023-12-07 09:02:06 UTC", "InactiveEnterTimestampMonotonic": "1361657455", "InactiveExitTimestamp": "Thu 2023-12-07 09:02:37 UTC", "InactiveExitTimestampMonotonic": "1393377666", "InvocationID": "a325e50d3282455c86d61f33d7f2095c", "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": "28045", "MemoryAccounting": "yes", "MemoryCurrent": "13414400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:02:37 UTC", "StateChangeTimestampMonotonic": "1393377666", "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": "6", "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": "Thu 2023-12-07 09:02:37 UTC", "WatchdogTimestampMonotonic": "1393377663", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Thursday 07 December 2023 09:02:38 +0000 (0:00:00.370) 0:06:02.543 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0640", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "unconfined_u:object_r:var_t:s0", "size": 7444, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Thursday 07 December 2023 09:02:39 +0000 (0:00:01.313) 0:06:03.857 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Thursday 07 December 2023 09:02:39 +0000 (0:00:00.029) 0:06:03.886 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for sut => (item=verify_fts.sql) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for verify_fts.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Thursday 07 December 2023 09:02:39 +0000 (0:00:00.054) 0:06:03.941 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/verify_fts.sql_z24wt409.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host verify_fts.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Thursday 07 December 2023 09:02:39 +0000 (0:00:00.250) 0:06:04.192 ***** ok: [sut] => { "changed": false, "checksum": "7565e388faf93cadaf62fa3ea5e59a05adb98cd8", "dest": "/tmp/verify_fts.sql_z24wt409.sql", "gid": 0, "group": "root", "md5sum": "c9efe6db25bca7b55ddd3508d732934c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 154, "src": "/root/.ansible/tmp/ansible-tmp-1701939759.9896197-12893-135978014911272/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for verify_fts.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Thursday 07 December 2023 09:02:40 +0000 (0:00:00.715) 0:06:04.907 ***** skipping: [sut] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command verify_fts.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Thursday 07 December 2023 09:02:40 +0000 (0:00:00.022) 0:06:04.930 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting verify_fts.sql] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:40 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.374) 0:06:05.304 ***** ok: [sut] => (item=/tmp/verify_fts.sql_z24wt409.sql) => { "__mssql_sqlcmd_loop": "/tmp/verify_fts.sql_z24wt409.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=[' ', '-------------------------------', 'Full-Text Search is enabled ', '', '(1 rows affected)']) => { "__mssql_sqlcmd_loop": [ " ", "-------------------------------", "Full-Text Search is enabled ", "", "(1 rows affected)" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile verify_fts.sql] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:56 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.041) 0:06:05.345 ***** skipping: [sut] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.024) 0:06:05.370 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.029) 0:06:05.400 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_input_sql_file.yml:135 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.043) 0:06:05.443 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_input_sql_file_2017.yml:17 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.027) 0:06:05.471 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 09:02:41 +0000 (0:00:00.038) 0:06:05.510 ***** 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-selinux7v0a56uc/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 09:02:42 +0000 (0:00:01.663) 0:06:07.173 ***** 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-selinux7v0a56uc/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 09:02:42 +0000 (0:00:00.026) 0:06:07.200 ***** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 09:02:42 +0000 (0:00:00.034) 0:06:07.234 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 09:02:43 +0000 (0:00:00.073) 0:06:07.308 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 09:02:43 +0000 (0:00:00.036) 0:06:07.345 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 09:02:43 +0000 (0:00:00.049) 0:06:07.394 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 09:02:43 +0000 (0:00:00.237) 0:06:07.632 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 09:02:43 +0000 (0:00:00.042) 0:06:07.674 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 09:02:44 +0000 (0:00:01.346) 0:06:09.020 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 09:02:44 +0000 (0:00:00.035) 0:06:09.056 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 09:02:44 +0000 (0:00:00.038) 0:06:09.095 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:49:45 UTC", "ActiveEnterTimestampMonotonic": "621225097", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:49:44 UTC", "AssertTimestampMonotonic": "620624644", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:49:44 UTC", "ConditionTimestampMonotonic": "620624642", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service shutdown.target ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10538", "ExecMainStartTimestamp": "Thu 2023-12-07 08:49:45 UTC", "ExecMainStartTimestampMonotonic": "620656355", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:49:45 UTC", "InactiveExitTimestampMonotonic": "620656413", "InvocationID": "6956bf45af324c3eb140d74f1e7444ec", "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": "10538", "MemoryAccounting": "yes", "MemoryCurrent": "42958848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:49:45 UTC", "StateChangeTimestampMonotonic": "621225097", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "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", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:49:45 UTC", "WatchdogTimestampMonotonic": "621225093", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 09:02:46 +0000 (0:00:01.504) 0:06:10.599 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:49:45 UTC", "ActiveEnterTimestampMonotonic": "621225097", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:49:44 UTC", "AssertTimestampMonotonic": "620624644", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:49:44 UTC", "ConditionTimestampMonotonic": "620624642", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service shutdown.target ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10538", "ExecMainStartTimestamp": "Thu 2023-12-07 08:49:45 UTC", "ExecMainStartTimestampMonotonic": "620656355", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:49:45 UTC", "InactiveExitTimestampMonotonic": "620656413", "InvocationID": "6956bf45af324c3eb140d74f1e7444ec", "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": "10538", "MemoryAccounting": "yes", "MemoryCurrent": "42958848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:49:45 UTC", "StateChangeTimestampMonotonic": "621225097", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "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", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:49:45 UTC", "WatchdogTimestampMonotonic": "621225093", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 09:02:46 +0000 (0:00:00.386) 0:06:10.986 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 09:02:46 +0000 (0:00:00.036) 0:06:11.023 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.53 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.291) 0:06:11.315 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.027) 0:06:11.342 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.025) 0:06:11.368 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.025) 0:06:11.393 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.026) 0:06:11.420 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.047) 0:06:11.467 ***** 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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.029) 0:06:11.497 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.53 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.313) 0:06:11.811 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.041) 0:06:11.853 ***** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.037) 0:06:11.890 ***** 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-selinux7v0a56uc/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.038) 0:06:11.929 ***** 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-selinux7v0a56uc/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 09:02:47 +0000 (0:00:00.026) 0:06:11.955 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 09:02:48 +0000 (0:00:00.345) 0:06:12.301 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.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: msodbcsql17-17.10.5.1-1.x86_64", "Removed: mssql-server-14.0.3465.1-1.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: mssql-server-fts-14.0.3465.1-1.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: gc-7.6.4-3.el8.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" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 09:02:55 +0000 (0:00:06.991) 0:06:19.293 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.011341", "end": "2023-12-07 09:02:55.232010", "rc": 0, "start": "2023-12-07 09:02:55.220669" } STDOUT: removed '/var/opt/mssql/mssql.conf' removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/e59ef123-1696-41a7-b55e-e1f1b7339b17' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3138779412-3935295940-732437186-500/42e7704ae40b0d75de00736cc66b813a_56994af6-67c3-4831-aa4f-d152547d17a7' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3138779412-3935295940-732437186-500' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3138779412-3935295940-732437186-500/b07c6110-c7e9-4b26-9e39-8ef2d4f4e2f4' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3138779412-3935295940-732437186-500/Preferred' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3138779412-3935295940-732437186-500' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/ExampleDB1.mdf' removed '/var/opt/mssql/data/ExampleDB1_log.ldf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464130462980000.xel' removed '/var/opt/mssql/log/system_health_0_133464130468700000.xel' removed '/var/opt/mssql/log/log.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464130503450000.xel' removed '/var/opt/mssql/log/system_health_0_133464130507510000.xel' removed '/var/opt/mssql/log/log_1.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464131170450000.xel' removed '/var/opt/mssql/log/system_health_0_133464131172950000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464133299390000.xel' removed '/var/opt/mssql/log/system_health_0_133464133301590000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464133603280000.xel' removed '/var/opt/mssql/log/system_health_0_133464133606840000.xel' removed '/var/opt/mssql/log/log_4.trc' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed '/var/opt/mssql/FTData/tsara.xml' removed '/var/opt/mssql/FTData/tsben.xml' removed '/var/opt/mssql/FTData/tsbgr.xml' removed '/var/opt/mssql/FTData/tscat.xml' removed '/var/opt/mssql/FTData/tschs.xml' removed '/var/opt/mssql/FTData/tscht.xml' removed '/var/opt/mssql/FTData/tscze.xml' removed '/var/opt/mssql/FTData/tsdan.xml' removed '/var/opt/mssql/FTData/tsdeu.xml' removed '/var/opt/mssql/FTData/tseng.xml' removed '/var/opt/mssql/FTData/tsenu.xml' removed '/var/opt/mssql/FTData/tsesn.xml' removed '/var/opt/mssql/FTData/tsfra.xml' removed '/var/opt/mssql/FTData/tsgrk.xml' removed '/var/opt/mssql/FTData/tsguj.xml' removed '/var/opt/mssql/FTData/tsheb.xml' removed '/var/opt/mssql/FTData/tshin.xml' removed '/var/opt/mssql/FTData/tshrv.xml' removed '/var/opt/mssql/FTData/tsind.xml' removed '/var/opt/mssql/FTData/tsisl.xml' removed '/var/opt/mssql/FTData/tsita.xml' removed '/var/opt/mssql/FTData/tsjpn.xml' removed '/var/opt/mssql/FTData/tskan.xml' removed '/var/opt/mssql/FTData/tskor.xml' removed '/var/opt/mssql/FTData/tslth.xml' removed '/var/opt/mssql/FTData/tslvi.xml' removed '/var/opt/mssql/FTData/tsmal.xml' removed '/var/opt/mssql/FTData/tsmar.xml' removed '/var/opt/mssql/FTData/tsmsl.xml' removed '/var/opt/mssql/FTData/tsglobal.xml' removed '/var/opt/mssql/FTData/tsnld.xml' removed '/var/opt/mssql/FTData/tsnor.xml' removed '/var/opt/mssql/FTData/tspan.xml' removed '/var/opt/mssql/FTData/tsplk.xml' removed '/var/opt/mssql/FTData/tsptb.xml' removed '/var/opt/mssql/FTData/tsptg.xml' removed '/var/opt/mssql/FTData/tsrom.xml' removed '/var/opt/mssql/FTData/tsrus.xml' removed '/var/opt/mssql/FTData/tssky.xml' removed '/var/opt/mssql/FTData/tsslv.xml' removed '/var/opt/mssql/FTData/tssrb.xml' removed '/var/opt/mssql/FTData/tssrl.xml' removed '/var/opt/mssql/FTData/tssve.xml' removed '/var/opt/mssql/FTData/tstam.xml' removed '/var/opt/mssql/FTData/tstel.xml' removed '/var/opt/mssql/FTData/tstha.xml' removed '/var/opt/mssql/FTData/tstrk.xml' removed '/var/opt/mssql/FTData/tsukr.xml' removed '/var/opt/mssql/FTData/tsurd.xml' removed '/var/opt/mssql/FTData/tsvit.xml' removed directory '/var/opt/mssql/FTData/FilterData' removed directory '/var/opt/mssql/FTData' removed directory '/var/opt/mssql' removed directory '/opt/mssql/misc' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' removed '/tmp/mssql_data/ExampleDB.mdf' removed '/tmp/mssql_data/ExampleDB2.mdf' removed directory '/tmp/mssql_data' removed '/tmp/mssql_log/ExampleDB_log.ldf' removed '/tmp/mssql_log/ExampleDB2_log.ldf' removed directory '/tmp/mssql_log' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 09:02:55 +0000 (0:00:00.221) 0:06:19.515 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010851", "end": "2023-12-07 09:02:55.449378", "rc": 0, "start": "2023-12-07 09:02:55.438527" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. PLAY RECAP ********************************************************************* sut : ok=300 changed=23 unreachable=0 failed=0 skipped=753 rescued=2 ignored=1 Thursday 07 December 2023 09:02:55 +0000 (0:00:00.245) 0:06:19.760 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 35.70s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Gather system services facts --------- 29.73s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 29.73s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 28.71s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 23.73s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 21.48s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 fedora.linux_system_roles.mssql : Gather system services facts --------- 20.77s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 18.70s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Remove related packages ------------------------------------------------- 6.99s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:45 --------------- Gathering Facts --------------------------------------------------------- 4.81s /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_input_sql_file_2017.yml:3 ---- fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.78s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Change the password of sa user -------- 3.70s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.54s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled --- 2.36s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.32s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.27s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 2.23s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.95s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Gather package facts ---------------------------------------------------- 1.66s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:2 ---------------- fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.52s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---