# 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-selinux1c4ln9vw/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinux1c4ln9vw/tests/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tests_idempotency_2017.yml:14 Friday 08 December 2023 19:09:01 +0000 (0:00:00.034) 0:00:00.034 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:2 Friday 08 December 2023 19:09:01 +0000 (0:00:00.009) 0:00:00.043 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 08 December 2023 19:09:01 +0000 (0:00:00.009) 0:00:00.053 ******* ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 08 December 2023 19:09:02 +0000 (0:00:00.379) 0:00:00.432 ******* 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-selinux1c4ln9vw/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 08 December 2023 19:09:02 +0000 (0:00:00.018) 0:00:00.450 ******* skipping: [sut] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('7', '=') and mssql_version | int == 2022) or (ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('9', '=') and mssql_version | int != 2022)", "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:5 Friday 08 December 2023 19:09:02 +0000 (0:00:00.017) 0:00:00.468 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 19:09:02 +0000 (0:00:00.081) 0:00:00.550 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 19:09:02 +0000 (0:00:00.009) 0:00:00.559 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 19:09:02 +0000 (0:00:00.018) 0:00:00.578 ******* 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-selinux1c4ln9vw/.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-selinux1c4ln9vw/.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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_7.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 19:09:02 +0000 (0:00:00.024) 0:00:00.602 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 19:09:02 +0000 (0:00:00.008) 0:00:00.611 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 19:09:02 +0000 (0:00:00.011) 0:00:00.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 19:09:02 +0000 (0:00:00.009) 0:00:00.631 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 19:09:02 +0000 (0:00:00.010) 0:00:00.641 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 19:09:02 +0000 (0:00:00.010) 0:00:00.652 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 19:09:02 +0000 (0:00:00.009) 0:00:00.661 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 19:09:02 +0000 (0:00:00.009) 0:00:00.670 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 19:09:02 +0000 (0:00:00.016) 0:00:00.687 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 19:09:02 +0000 (0:00:00.013) 0:00:00.701 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 19:09:02 +0000 (0:00:00.013) 0:00:00.714 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 19:09:02 +0000 (0:00:00.013) 0:00:00.728 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 19:09:02 +0000 (0:00:00.014) 0:00:00.742 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 19:09:02 +0000 (0:00:00.015) 0:00:00.757 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 19:09:03 +0000 (0:00:00.824) 0:00:01.582 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 19:09:03 +0000 (0:00:00.033) 0:00:01.616 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 19:09:03 +0000 (0:00:00.017) 0:00:01.633 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 19:09:03 +0000 (0:00:00.029) 0:00:01.662 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 19:09:03 +0000 (0:00:00.034) 0:00:01.697 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 19:09:03 +0000 (0:00:00.440) 0:00:02.137 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 19:09:03 +0000 (0:00:00.017) 0:00:02.154 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 19:09:03 +0000 (0:00:00.018) 0:00:02.173 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 19:09:03 +0000 (0:00:00.018) 0:00:02.192 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 19:09:04 +0000 (0:00:00.243) 0:00:02.435 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 19:09:04 +0000 (0:00:00.023) 0:00:02.459 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 19:09:04 +0000 (0:00:00.021) 0:00:02.481 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 19:09:04 +0000 (0:00:00.021) 0:00:02.502 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 19:09:04 +0000 (0:00:00.043) 0:00:02.545 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 19:09:04 +0000 (0:00:00.022) 0:00:02.568 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 rhel-Server 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 rhel-Server 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 rhel-Server 41 k\n gdb x86_64 7.6.1-120.el7 rhel-Server 2.4 M\n libatomic x86_64 4.8.5-44.el7 rhel-Server 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 rhel-Server 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 45 MB/s | 203 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 19:09:43 +0000 (0:00:39.367) 0:00:41.935 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 19:09:43 +0000 (0:00:00.015) 0:00:41.951 ******* 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.005845", "end": "2023-12-08 19:09:43.910183", "rc": 0, "start": "2023-12-08 19:09:43.904338" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 19:09:43 +0000 (0:00:00.234) 0:00:42.185 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 19:09:44 +0000 (0:00:01.006) 0:00:43.192 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 19:09:45 +0000 (0:00:00.051) 0:00:43.244 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 19:09:45 +0000 (0:00:00.041) 0:00:43.285 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 19:09:50 +0000 (0:00:05.300) 0:00:48.586 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:09:50 +0000 (0:00:00.039) 0:00:48.625 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:09:50 +0000 (0:00:00.230) 0:00:48.856 ******* changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:09:50 +0000 (0:00:00.248) 0:00:49.105 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:09:50 +0000 (0:00:00.030) 0:00:49.136 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:09:50 +0000 (0:00:00.027) 0:00:49.163 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004649", "end": "2023-12-08 19:09:52.087792", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:09:51.083143" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:09:52 +0000 (0:00:01.166) 0:00:50.330 ******* 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.051955", "end": "2023-12-08 19:09:52.345943", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:09:52.293988" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:09:52 +0000 (0:00:00.267) 0:00:50.597 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:09:52 +0000 (0:00:00.017) 0:00:50.615 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:09:52 +0000 (0:00:00.158) 0:00:50.774 ******* changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:09:52 +0000 (0:00:00.169) 0:00:50.943 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:09:52 +0000 (0:00:00.053) 0:00:50.997 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:09:52 +0000 (0:00:00.028) 0:00:51.025 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004294", "end": "2023-12-08 19:09:52.969828", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:09:52.965534" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:09:53 +0000 (0:00:00.188) 0:00:51.214 ******* 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.064739", "end": "2023-12-08 19:09:53.198425", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:09:53.133686" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:09:53 +0000 (0:00:00.232) 0:00:51.447 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 19:09:53 +0000 (0:00:00.017) 0:00:51.464 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 19:09:53 +0000 (0:00:00.025) 0:00:51.489 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 rhel-Server-optional 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 19:09:55 +0000 (0:00:02.206) 0:00:53.696 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ActiveEnterTimestampMonotonic": "11927279", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target dbus.service system.slice systemd-sysctl.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 18:59:44 UTC", "AssertTimestampMonotonic": "11151531", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ConditionTimestampMonotonic": "11151525", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "945", "ExecMainStartTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ExecMainStartTimestampMonotonic": "11161724", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 18:59:44 UTC", "InactiveExitTimestampMonotonic": "11161771", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "945", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 18:59:44 UTC", "WatchdogTimestampMonotonic": "11927007", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 19:09:55 +0000 (0:00:00.379) 0:00:54.076 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115684", "end": "2023-12-08 19:09:56.090239", "rc": 0, "start": "2023-12-08 19:09:55.974555" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 19:09:56 +0000 (0:00:00.256) 0:00:54.332 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.254242", "end": "2023-12-08 19:09:56.494574", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:09:56.240332" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 19:09:56 +0000 (0:00:00.405) 0:00:54.738 ******* changed: [sut] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 19:09:56 +0000 (0:00:00.237) 0:00:54.975 ******* changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.641418", "end": "2023-12-08 19:09:58.519662", "rc": 0, "start": "2023-12-08 19:09:56.878244" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 19:09:58 +0000 (0:00:01.790) 0:00:56.765 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 19:09:58 +0000 (0:00:00.140) 0:00:56.905 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 rhel-Server 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.4 MB/s | 1.5 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 19:10:03 +0000 (0:00:04.778) 0:01:01.684 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 19:10:03 +0000 (0:00:00.019) 0:01:01.704 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 19:10:03 +0000 (0:00:00.019) 0:01:01.723 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 19:10:03 +0000 (0:00:00.017) 0:01:01.740 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 19:10:03 +0000 (0:00:00.018) 0:01:01.758 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 19:10:03 +0000 (0:00:00.017) 0:01:01.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 : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 19:10:03 +0000 (0:00:00.019) 0:01:01.796 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 19:10:03 +0000 (0:00:00.015) 0:01:01.812 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 19:10:03 +0000 (0:00:00.039) 0:01:01.851 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 19:10:03 +0000 (0:00:00.019) 0:01:01.870 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 19:10:03 +0000 (0:00:00.019) 0:01:01.889 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 19:10:03 +0000 (0:00:00.018) 0:01:01.907 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 19:10:03 +0000 (0:00:00.018) 0:01:01.926 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:03 +0000 (0:00:00.031) 0:01:01.957 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003650", "end": "2023-12-08 19:10:03.863647", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:03.859997" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:03 +0000 (0:00:00.148) 0:01:02.106 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.050849", "end": "2023-12-08 19:10:04.064816", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:04.013967" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:04 +0000 (0:00:00.205) 0:01:02.311 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 19:10:04 +0000 (0:00:00.016) 0:01:02.328 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 19:10:04 +0000 (0:00:00.024) 0:01:02.353 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 19:10:04 +0000 (0:00:00.024) 0:01:02.377 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:04 +0000 (0:00:00.028) 0:01:02.405 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003384", "end": "2023-12-08 19:10:04.311927", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:04.308543" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:04 +0000 (0:00:00.148) 0:01:02.554 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.052372", "end": "2023-12-08 19:10:04.515296", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:04.462924" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:04 +0000 (0:00:00.207) 0:01:02.762 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 19:10:04 +0000 (0:00:00.016) 0:01:02.779 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 19:10:04 +0000 (0:00:00.023) 0:01:02.802 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:04 +0000 (0:00:00.033) 0:01:02.836 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003442", "end": "2023-12-08 19:10:04.742636", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:04.739194" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:04 +0000 (0:00:00.150) 0:01:02.987 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.051199", "end": "2023-12-08 19:10:04.946724", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:04.895525" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:04 +0000 (0:00:00.206) 0:01:03.193 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 19:10:05 +0000 (0:00:00.044) 0:01:03.238 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 19:10:31 +0000 (0:00:26.555) 0:01:29.793 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.10-1.rh will be installed\n--> Processing Dependency: libicu for package: powershell-7.3.10-1.rh.x86_64\n--> Running transaction check\n---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n powershell x86_64 7.3.10-1.rh packages-microsoft-com-prod 66 M\nInstalling for dependencies:\n libicu x86_64 50.2-4.el7_7 rhel-Server 6.9 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 72 M\nInstalled size: 192 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 30 MB/s | 72 MB 00:02 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.10-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.10-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.10-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 19:10:42 +0000 (0:00:11.006) 0:01:40.800 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003456", "end": "2023-12-08 19:10:42.724479", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:42.721023" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 19:10:42 +0000 (0:00:00.165) 0:01:40.966 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.051903", "end": "2023-12-08 19:10:42.926926", "rc": 0, "start": "2023-12-08 19:10:42.875023" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 19:10:42 +0000 (0:00:00.213) 0:01:41.179 ******* skipping: [sut] => { "changed": false, "false_condition": "not mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 19:10:42 +0000 (0:00:00.028) 0:01:41.207 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:43 +0000 (0:00:00.044) 0:01:41.252 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004540", "end": "2023-12-08 19:10:44.164559", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:43.160019" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:44 +0000 (0:00:01.162) 0:01:42.415 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.050596", "end": "2023-12-08 19:10:44.376135", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:44.325539" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:44 +0000 (0:00:00.205) 0:01:42.620 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 19:10:44 +0000 (0:00:00.020) 0:01:42.641 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:44 +0000 (0:00:00.032) 0:01:42.673 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004633", "end": "2023-12-08 19:10:45.582672", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:44.578039" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:45 +0000 (0:00:01.151) 0:01:43.825 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.050839", "end": "2023-12-08 19:10:45.786043", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:45.735204" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:45 +0000 (0:00:00.204) 0:01:44.030 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 19:10:45 +0000 (0:00:00.021) 0:01:44.051 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 19:10:45 +0000 (0:00:00.019) 0:01:44.070 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 19:10:45 +0000 (0:00:00.022) 0:01:44.092 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 19:10:45 +0000 (0:00:00.021) 0:01:44.114 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 19:10:45 +0000 (0:00:00.020) 0:01:44.135 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 19:10:45 +0000 (0:00:00.019) 0:01:44.155 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 19:10:45 +0000 (0:00:00.020) 0:01: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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 19:10:46 +0000 (0:00:00.042) 0:01:44.218 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 19:10:46 +0000 (0:00:00.025) 0:01:44.244 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 19:10:46 +0000 (0:00:00.024) 0:01:44.269 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 19:10:46 +0000 (0:00:00.024) 0:01:44.294 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 19:10:46 +0000 (0:00:00.035) 0:01:44.330 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 19:10:46 +0000 (0:00:00.020) 0:01:44.350 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.367 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.384 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.402 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 19:10:46 +0000 (0:00:00.018) 0:01:44.421 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 19:10:46 +0000 (0:00:00.015) 0:01:44.436 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.453 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.470 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.486 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 19:10:46 +0000 (0:00:00.015) 0:01:44.502 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.518 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 19:10:46 +0000 (0:00:00.015) 0:01:44.534 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.551 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.568 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.585 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.602 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 19:10:46 +0000 (0:00:00.041) 0:01:44.644 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.661 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.678 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.696 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 19:10:46 +0000 (0:00:00.018) 0:01:44.714 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 19:10:46 +0000 (0:00:00.018) 0:01:44.732 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 19:10:46 +0000 (0:00:00.020) 0:01:44.753 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.770 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.787 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 19:10:46 +0000 (0:00:00.020) 0:01:44.807 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.823 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.840 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.858 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 19:10:46 +0000 (0:00:00.020) 0:01:44.878 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.895 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.912 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:44.930 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 19:10:46 +0000 (0:00:00.015) 0:01:44.946 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.962 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 19:10:46 +0000 (0:00:00.015) 0:01:44.978 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:44.995 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 19:10:46 +0000 (0:00:00.020) 0:01:45.015 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 19:10:46 +0000 (0:00:00.042) 0:01:45.057 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:45.074 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:45.091 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:45.108 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 19:10:46 +0000 (0:00:00.021) 0:01:45.129 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:45.145 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 19:10:46 +0000 (0:00:00.017) 0:01:45.163 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 19:10:46 +0000 (0:00:00.016) 0:01:45.179 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 19:10:47 +0000 (0:00:00.256) 0:01:45.436 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 08 December 2023 19:10:47 +0000 (0:00:00.017) 0:01:45.454 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:09:50 UTC", "ActiveEnterTimestampMonotonic": "617347813", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network.target auditd.service system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:09:50 UTC", "AssertTimestampMonotonic": "617341036", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:09:50 UTC", "ConditionTimestampMonotonic": "617341034", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6911", "ExecMainStartTimestamp": "Fri 2023-12-08 19:09:50 UTC", "ExecMainStartTimestampMonotonic": "617347741", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 19:09:50 UTC", "InactiveExitTimestampMonotonic": "617347813", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6911", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:09:50 UTC", "WatchdogTimestampMonotonic": "617347787", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 19:10:48 +0000 (0:00:01.125) 0:01:46.580 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 19:10:48 +0000 (0:00:00.016) 0:01:46.596 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:22 Friday 08 December 2023 19:10:48 +0000 (0:00:00.024) 0:01:46.620 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql-sever-increase-start-limit.yml:3 Friday 08 December 2023 19:10:48 +0000 (0:00:00.058) 0:01:46.679 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql-sever-increase-start-limit.yml:10 Friday 08 December 2023 19:10:48 +0000 (0:00:00.228) 0:01:46.907 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql-sever-increase-start-limit.yml:17 Friday 08 December 2023 19:10:48 +0000 (0:00:00.138) 0:01:47.046 ******* ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:25 Friday 08 December 2023 19:10:49 +0000 (0:00:00.297) 0:01:47.343 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 19:10:49 +0000 (0:00:00.180) 0:01:47.524 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 19:10:49 +0000 (0:00:00.028) 0:01:47.552 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 19:10:49 +0000 (0:00:00.021) 0:01:47.574 ******* 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-selinux1c4ln9vw/.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-selinux1c4ln9vw/.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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_7.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 19:10:49 +0000 (0:00:00.033) 0:01:47.607 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 19:10:49 +0000 (0:00:00.017) 0:01:47.624 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 19:10:49 +0000 (0:00:00.017) 0:01:47.642 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 19:10:49 +0000 (0:00:00.016) 0:01:47.658 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 19:10:49 +0000 (0:00:00.017) 0:01:47.676 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 19:10:49 +0000 (0:00:00.016) 0:01:47.692 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 19:10:49 +0000 (0:00:00.017) 0:01:47.709 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 19:10:49 +0000 (0:00:00.016) 0:01:47.726 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 19:10:49 +0000 (0:00:00.020) 0:01:47.746 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 19:10:49 +0000 (0:00:00.016) 0:01:47.763 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 19:10:49 +0000 (0:00:00.017) 0:01:47.780 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 19:10:49 +0000 (0:00:00.016) 0:01:47.797 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 19:10:49 +0000 (0:00:00.019) 0:01:47.816 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 19:10:49 +0000 (0:00:00.020) 0:01:47.836 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 19:10:50 +0000 (0:00:00.877) 0:01:48.714 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 19:10:50 +0000 (0:00:00.051) 0:01:48.765 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 19:10:50 +0000 (0:00:00.018) 0:01:48.783 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 19:10:50 +0000 (0:00:00.022) 0:01:48.805 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 19:10:50 +0000 (0:00:00.033) 0:01:48.838 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 19:10:50 +0000 (0:00:00.364) 0:01:49.202 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 19:10:51 +0000 (0:00:00.020) 0:01:49.223 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 19:10:51 +0000 (0:00:00.019) 0:01:49.242 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 19:10:51 +0000 (0:00:00.018) 0:01:49.261 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 19:10:51 +0000 (0:00:00.020) 0:01:49.282 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 19:10:51 +0000 (0:00:00.017) 0:01:49.299 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 19:10:51 +0000 (0:00:00.017) 0:01:49.316 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 19:10:51 +0000 (0:00:00.017) 0:01:49.333 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 19:10:51 +0000 (0:00:00.018) 0:01:49.352 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 19:10:51 +0000 (0:00:00.019) 0:01:49.372 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 19:10:51 +0000 (0:00:00.378) 0:01:49.751 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 19:10:51 +0000 (0:00:00.018) 0:01:49.769 ******* 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.007526", "end": "2023-12-08 19:10:51.720591", "rc": 0, "start": "2023-12-08 19:10:51.713065" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 19:10:51 +0000 (0:00:00.196) 0:01:49.966 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 19:10:52 +0000 (0:00:01.011) 0:01:50.978 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 19:10:52 +0000 (0:00:00.026) 0:01:51.004 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 19:10:52 +0000 (0:00:00.017) 0:01:51.022 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 19:10:52 +0000 (0:00:00.016) 0:01:51.038 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:10:52 +0000 (0:00:00.037) 0:01:51.075 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062590.8628392, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062590.8648393, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 159383617, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702062590.8628392, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 996, "version": "18446744072913673795", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:10:53 +0000 (0:00:00.146) 0:01:51.222 ******* ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:10:53 +0000 (0:00:00.146) 0:01:51.369 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:10:53 +0000 (0:00:00.025) 0:01:51.395 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:53 +0000 (0:00:00.028) 0:01:51.424 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003429", "end": "2023-12-08 19:10:53.324003", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:53.320574" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:53 +0000 (0:00:00.142) 0:01:51.566 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:53 +0000 (0:00:00.022) 0:01:51.589 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:10:53 +0000 (0:00:00.019) 0:01:51.608 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062592.6958346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062592.6978347, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 180355392, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702062592.6958346, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 996, "version": "18446744073330816510", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:10:53 +0000 (0:00:00.145) 0:01:51.754 ******* ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:10:53 +0000 (0:00:00.148) 0:01:51.902 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:10:53 +0000 (0:00:00.025) 0:01:51.928 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:53 +0000 (0:00:00.029) 0:01:51.957 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003399", "end": "2023-12-08 19:10:53.857342", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:53.853943" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:53 +0000 (0:00:00.141) 0:01:52.099 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:53 +0000 (0:00:00.052) 0:01:52.151 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 19:10:53 +0000 (0:00:00.019) 0:01:52.170 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 19:10:53 +0000 (0:00:00.019) 0:01:52.190 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 19:10:54 +0000 (0:00:00.361) 0:01:52.552 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ActiveEnterTimestampMonotonic": "11927279", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service dbus.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 18:59:44 UTC", "AssertTimestampMonotonic": "11151531", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ConditionTimestampMonotonic": "11151525", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "945", "ExecMainStartTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ExecMainStartTimestampMonotonic": "11161724", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 18:59:44 UTC", "InactiveExitTimestampMonotonic": "11161771", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "945", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 18:59:44 UTC", "WatchdogTimestampMonotonic": "11927007", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 19:10:54 +0000 (0:00:00.226) 0:01:52.778 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.110315", "end": "2023-12-08 19:10:54.791156", "rc": 0, "start": "2023-12-08 19:10:54.680841" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 19:10:54 +0000 (0:00:00.257) 0:01:53.036 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 19:10:54 +0000 (0:00:00.025) 0:01:53.061 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 19:10:54 +0000 (0:00:00.021) 0:01:53.082 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 19:10:54 +0000 (0:00:00.018) 0:01:53.101 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 19:10:55 +0000 (0:00:00.146) 0:01:53.247 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 19:10:55 +0000 (0:00:00.327) 0:01:53.574 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 19:10:55 +0000 (0:00:00.033) 0:01:53.608 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ActiveEnterTimestampMonotonic": "675460864", "ActiveExitTimestamp": "Fri 2023-12-08 19:10:47 UTC", "ActiveExitTimestampMonotonic": "674558868", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:10:48 UTC", "AssertTimestampMonotonic": "675454999", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ConditionTimestampMonotonic": "675454998", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7524", "ExecMainStartTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ExecMainStartTimestampMonotonic": "675460789", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveEnterTimestampMonotonic": "675447604", "InactiveExitTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveExitTimestampMonotonic": "675460864", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "7524", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:10:48 UTC", "WatchdogTimestampMonotonic": "675460838", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 19:10:55 +0000 (0:00:00.216) 0:01:53.825 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003363", "end": "2023-12-08 19:10:55.725125", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:55.721762" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 19:10:55 +0000 (0:00:00.141) 0:01:53.967 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003600", "end": "2023-12-08 19:10:55.872097", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:55.868497" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 19:10:55 +0000 (0:00:00.149) 0:01:54.116 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 19:10:55 +0000 (0:00:00.029) 0:01:54.146 ******* ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "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": 6344, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 19:10:57 +0000 (0:00:01.290) 0:01:55.436 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 19:10:57 +0000 (0:00:00.210) 0:01:55.647 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 19:10:57 +0000 (0:00:00.022) 0:01:55.670 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 19:10:58 +0000 (0:00:00.748) 0:01:56.418 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 19:10:58 +0000 (0:00:00.019) 0:01:56.438 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 19:10:58 +0000 (0:00:00.017) 0:01:56.455 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 19:10:58 +0000 (0:00:00.016) 0:01:56.471 ******* 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.005651", "end": "2023-12-08 19:10:58.375764", "rc": 0, "start": "2023-12-08 19:10:58.370113" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 19:10:58 +0000 (0:00:00.145) 0:01:56.617 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 19:10:58 +0000 (0:00:00.020) 0:01:56.637 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 19:10:59 +0000 (0:00:00.683) 0:01:57.320 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 19:10:59 +0000 (0:00:00.019) 0:01:57.340 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:59 +0000 (0:00:00.031) 0:01:57.372 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003443", "end": "2023-12-08 19:10:59.271678", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:59.268235" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:59 +0000 (0:00:00.141) 0:01:57.513 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:59 +0000 (0:00:00.022) 0:01:57.536 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 19:10:59 +0000 (0:00:00.016) 0:01:57.553 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 19:10:59 +0000 (0:00:00.018) 0:01:57.572 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 19:10:59 +0000 (0:00:00.018) 0:01:57.590 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:59 +0000 (0:00:00.030) 0:01:57.620 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003492", "end": "2023-12-08 19:10:59.519481", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:10:59.515989" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:59 +0000 (0:00:00.172) 0:01:57.793 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050185", "end": "2023-12-08 19:10:59.747161", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:59.696976" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:10:59 +0000 (0:00:00.199) 0:01:57.992 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 19:10:59 +0000 (0:00:00.018) 0:01:58.010 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 19:10:59 +0000 (0:00:00.017) 0:01:58.027 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:10:59 +0000 (0:00:00.033) 0:01:58.061 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003500", "end": "2023-12-08 19:10:59.960616", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:10:59.957116" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:10:59 +0000 (0:00:00.140) 0:01:58.202 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:00 +0000 (0:00:00.022) 0:01:58.224 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 19:11:00 +0000 (0:00:00.017) 0:01:58.242 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 19:11:00 +0000 (0:00:00.329) 0:01:58.571 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.10-1.rh.x86_64 providing powershell is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 19:11:00 +0000 (0:00:00.329) 0:01:58.900 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003575", "end": "2023-12-08 19:11:00.799579", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:00.796004" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 19:11:00 +0000 (0:00:00.140) 0:01:59.041 ******* skipping: [sut] => { "changed": false, "false_condition": "'3979' not in __mssql_get_traceflag.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 19:11:00 +0000 (0:00:00.019) 0:01:59.061 ******* skipping: [sut] => { "changed": false, "false_condition": "not mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 19:11:00 +0000 (0:00:00.019) 0:01:59.080 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:00 +0000 (0:00:00.029) 0:01:59.110 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003534", "end": "2023-12-08 19:11:01.014238", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:01.010704" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:01 +0000 (0:00:00.144) 0:01:59.255 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:01 +0000 (0:00:00.023) 0:01:59.278 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:01:59.296 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:01 +0000 (0:00:00.030) 0:01:59.327 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003489", "end": "2023-12-08 19:11:01.227826", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:01.224337" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:01 +0000 (0:00:00.172) 0:01:59.499 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:01 +0000 (0:00:00.024) 0:01:59.524 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.542 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:01:59.560 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:01:59.577 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 19:11:01 +0000 (0:00:00.021) 0:01:59.598 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:01:59.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 : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.634 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.653 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 19:11:01 +0000 (0:00:00.019) 0:01:59.672 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.690 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 19:11:01 +0000 (0:00:00.019) 0:01:59.710 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.728 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 19:11:01 +0000 (0:00:00.021) 0:01:59.750 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 19:11:01 +0000 (0:00:00.025) 0:01:59.775 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.794 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.813 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.831 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.850 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 19:11:01 +0000 (0:00:00.016) 0:01:59.867 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 19:11:01 +0000 (0:00:00.051) 0:01:59.918 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 19:11:01 +0000 (0:00:00.019) 0:01:59.938 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 19:11:01 +0000 (0:00:00.018) 0:01:59.957 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:01:59.975 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:01:59.993 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 19:11:01 +0000 (0:00:00.016) 0:02:00.009 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.027 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 19:11:01 +0000 (0:00:00.016) 0:02:00.044 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.061 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.078 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.095 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.113 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.130 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 19:11:01 +0000 (0:00:00.016) 0:02:00.147 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 19:11:01 +0000 (0:00:00.017) 0:02:00.165 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 19:11:01 +0000 (0:00:00.016) 0:02:00.182 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 19:11:01 +0000 (0:00:00.020) 0:02:00.202 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 19:11:02 +0000 (0:00:00.016) 0:02:00.219 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 19:11:02 +0000 (0:00:00.018) 0:02:00.237 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 19:11:02 +0000 (0:00:00.022) 0:02:00.260 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02: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 ag] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 19:11:02 +0000 (0:00:00.016) 0:02:00.294 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 19:11:02 +0000 (0:00:00.047) 0:02:00.341 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.359 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.376 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 19:11:02 +0000 (0:00:00.018) 0:02:00.395 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.413 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.430 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.447 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.465 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.482 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 19:11:02 +0000 (0:00:00.023) 0:02:00.506 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.524 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 19:11:02 +0000 (0:00:00.018) 0:02:00.542 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 19:11:02 +0000 (0:00:00.016) 0:02:00.559 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.576 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 19:11:02 +0000 (0:00:00.020) 0:02:00.597 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.614 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.631 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 19:11:02 +0000 (0:00:00.018) 0:02:00.649 ******* ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 19:11:02 +0000 (0:00:00.179) 0:02:00.829 ******* META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 19:11:02 +0000 (0:00:00.017) 0:02:00.847 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 19:11:02 +0000 (0:00:00.049) 0:02:00.896 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:40 Friday 08 December 2023 19:11:02 +0000 (0:00:00.026) 0:02:00.922 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:8 Friday 08 December 2023 19:11:02 +0000 (0:00:00.098) 0:02:01.021 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006056", "end": "2023-12-08 19:11:02.923901", "rc": 0, "start": "2023-12-08 19:11:02.917845" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:23 Friday 08 December 2023 19:11:02 +0000 (0:00:00.142) 0:02:01.164 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005470", "end": "2023-12-08 19:11:03.070684", "rc": 0, "start": "2023-12-08 19:11:03.065214" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:35 Friday 08 December 2023 19:11:03 +0000 (0:00:00.146) 0:02:01.311 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:39 Friday 08 December 2023 19:11:03 +0000 (0:00:00.021) 0:02:01.332 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '0.0.0.0'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1433}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/tmp/mssql_data'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/tmp/mssql_log'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'enabled', 'value': True}) TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:03 +0000 (0:00:00.048) 0:02:01.381 ******* ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004708", "end": "2023-12-08 19:11:03.284043", "rc": 0, "start": "2023-12-08 19:11:03.279335" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:03 +0000 (0:00:00.144) 0:02:01.525 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:03 +0000 (0:00:00.025) 0:02:01.550 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:03 +0000 (0:00:00.019) 0:02:01.569 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:03 +0000 (0:00:00.018) 0:02:01.588 ******* ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004697", "end": "2023-12-08 19:11:03.509072", "rc": 0, "start": "2023-12-08 19:11:03.504375" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:03 +0000 (0:00:00.163) 0:02:01.752 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting != \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:03 +0000 (0:00:00.018) 0:02:01.771 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:03 +0000 (0:00:00.019) 0:02:01.790 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:03 +0000 (0:00:00.022) 0:02:01.812 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004821", "end": "2023-12-08 19:11:03.714444", "rc": 0, "start": "2023-12-08 19:11:03.709623" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:03 +0000 (0:00:00.174) 0:02:01.987 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:03 +0000 (0:00:00.025) 0:02:02.012 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:03 +0000 (0:00:00.019) 0:02:02.032 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:03 +0000 (0:00:00.017) 0:02:02.050 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004743", "end": "2023-12-08 19:11:03.950333", "rc": 0, "start": "2023-12-08 19:11:03.945590" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:03 +0000 (0:00:00.147) 0:02:02.198 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:04 +0000 (0:00:00.034) 0:02:02.233 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:04 +0000 (0:00:00.019) 0:02:02.253 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:04 +0000 (0:00:00.018) 0:02:02.271 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004652", "end": "2023-12-08 19:11:04.174576", "rc": 0, "start": "2023-12-08 19:11:04.169924" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:04 +0000 (0:00:00.145) 0:02:02.416 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:04 +0000 (0:00:00.019) 0:02:02.435 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:04 +0000 (0:00:00.030) 0:02:02.465 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:55 Friday 08 December 2023 19:11:04 +0000 (0:00:00.023) 0:02:02.489 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062590.8628392, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062590.8648393, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 159383617, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702062590.8628392, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 996, "version": "18446744072913673795", "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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:60 Friday 08 December 2023 19:11:04 +0000 (0:00:00.156) 0:02:02.645 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:70 Friday 08 December 2023 19:11:04 +0000 (0:00:00.022) 0:02:02.668 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062592.6958346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062592.6978347, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 180355392, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1702062592.6958346, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 996, "version": "18446744073330816510", "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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:75 Friday 08 December 2023 19:11:04 +0000 (0:00:00.148) 0:02:02.816 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:85 Friday 08 December 2023 19:11:04 +0000 (0:00:00.027) 0:02:02.844 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 19:11:04 +0000 (0:00:00.034) 0:02:02.879 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ActiveEnterTimestampMonotonic": "675460864", "ActiveExitTimestamp": "Fri 2023-12-08 19:10:47 UTC", "ActiveExitTimestampMonotonic": "674558868", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:10:48 UTC", "AssertTimestampMonotonic": "675454999", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ConditionTimestampMonotonic": "675454998", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7524", "ExecMainStartTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ExecMainStartTimestampMonotonic": "675460789", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveEnterTimestampMonotonic": "675447604", "InactiveExitTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveExitTimestampMonotonic": "675460864", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "7524", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:10:48 UTC", "WatchdogTimestampMonotonic": "675460838", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 19:11:04 +0000 (0:00:00.218) 0:02:03.097 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004598", "end": "2023-12-08 19:11:05.998801", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:11:04.994203" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 19:11:06 +0000 (0:00:01.141) 0:02:04.238 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003540", "end": "2023-12-08 19:11:06.141449", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:06.137909" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 19:11:06 +0000 (0:00:00.143) 0:02:04.382 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:93 Friday 08 December 2023 19:11:06 +0000 (0:00:00.067) 0:02:04.449 ******* ok: [sut] => { "changed": false, "elapsed": 18, "gid": 994, "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": 6344, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:100 Friday 08 December 2023 19:11:24 +0000 (0:00:18.156) 0:02:22.606 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022595", "end": "2023-12-08 19:11:24.526948", "rc": 0, "start": "2023-12-08 19:11:24.504353" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:104 Friday 08 December 2023 19:11:24 +0000 (0:00:00.162) 0:02:22.768 ******* ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:108 Friday 08 December 2023 19:11:24 +0000 (0:00:00.022) 0:02:22.791 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:7 Friday 08 December 2023 19:11:24 +0000 (0:00:00.029) 0:02:22.821 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:12 Friday 08 December 2023 19:11:25 +0000 (0:00:00.688) 0:02:23.509 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:17 Friday 08 December 2023 19:11:25 +0000 (0:00:00.029) 0:02:23.539 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_verify_package_installed", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:115 Friday 08 December 2023 19:11:25 +0000 (0:00:00.020) 0:02:23.560 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:7 Friday 08 December 2023 19:11:25 +0000 (0:00:00.056) 0:02:23.617 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:12 Friday 08 December 2023 19:11:26 +0000 (0:00:00.685) 0:02:24.302 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:17 Friday 08 December 2023 19:11:26 +0000 (0:00:00.026) 0:02:24.329 ******* skipping: [sut] => { "changed": false, "false_condition": "not __mssql_verify_package_installed", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:126 Friday 08 December 2023 19:11:26 +0000 (0:00:00.017) 0:02:24.347 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004828", "end": "2023-12-08 19:11:26.252168", "rc": 0, "start": "2023-12-08 19:11:26.247340" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:131 Friday 08 December 2023 19:11:26 +0000 (0:00:00.200) 0:02:24.548 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:136 Friday 08 December 2023 19:11:26 +0000 (0:00:00.022) 0:02:24.570 ******* skipping: [sut] => { "changed": false, "false_condition": "not __verify_mssql_is_tuned_for_fua | bool", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:142 Friday 08 December 2023 19:11:26 +0000 (0:00:00.024) 0:02:24.595 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:26 +0000 (0:00:00.036) 0:02:24.631 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004780", "end": "2023-12-08 19:11:26.537036", "rc": 0, "start": "2023-12-08 19:11:26.532256" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:26 +0000 (0:00:00.146) 0:02:24.778 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:26 +0000 (0:00:00.021) 0:02:24.799 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:26 +0000 (0:00:00.027) 0:02:24.826 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:148 Friday 08 December 2023 19:11:26 +0000 (0:00:00.030) 0:02:24.856 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:11:26 +0000 (0:00:00.042) 0:02:24.899 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004783", "end": "2023-12-08 19:11:26.828886", "rc": 0, "start": "2023-12-08 19:11:26.824103" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:11:26 +0000 (0:00:00.171) 0:02:25.070 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:11:26 +0000 (0:00:00.021) 0:02:25.092 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:11:26 +0000 (0:00:00.029) 0:02:25.122 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:158 Friday 08 December 2023 19:11:26 +0000 (0:00:00.018) 0:02:25.140 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:169 Friday 08 December 2023 19:11:26 +0000 (0:00:00.023) 0:02:25.164 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:181 Friday 08 December 2023 19:11:26 +0000 (0:00:00.046) 0:02:25.210 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:189 Friday 08 December 2023 19:11:27 +0000 (0:00:00.024) 0:02:25.234 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:199 Friday 08 December 2023 19:11:27 +0000 (0:00:00.034) 0:02:25.269 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:204 Friday 08 December 2023 19:11:27 +0000 (0:00:00.020) 0:02:25.289 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:210 Friday 08 December 2023 19:11:27 +0000 (0:00:00.030) 0:02:25.320 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:56 Friday 08 December 2023 19:11:27 +0000 (0:00:00.059) 0:02:25.379 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 19:11:27 +0000 (0:00:00.260) 0:02:25.639 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 19:11:27 +0000 (0:00:00.052) 0:02:25.692 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 19:11:27 +0000 (0:00:00.065) 0:02:25.757 ******* 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-selinux1c4ln9vw/.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-selinux1c4ln9vw/.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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_7.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 19:11:27 +0000 (0:00:00.067) 0:02:25.825 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 19:11:27 +0000 (0:00:00.029) 0:02:25.854 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 19:11:27 +0000 (0:00:00.028) 0:02:25.883 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 19:11:27 +0000 (0:00:00.044) 0:02:25.927 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 19:11:27 +0000 (0:00:00.022) 0:02:25.949 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 19:11:27 +0000 (0:00:00.021) 0:02:25.971 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 19:11:27 +0000 (0:00:00.019) 0:02:25.990 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 19:11:27 +0000 (0:00:00.031) 0:02:26.022 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 19:11:27 +0000 (0:00:00.025) 0:02:26.047 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 19:11:27 +0000 (0:00:00.059) 0:02:26.107 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 19:11:27 +0000 (0:00:00.022) 0:02:26.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_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 19:11:27 +0000 (0:00:00.020) 0:02:26.150 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 19:11:27 +0000 (0:00:00.019) 0:02:26.170 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 19:11:27 +0000 (0:00:00.022) 0:02:26.192 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 19:11:28 +0000 (0:00:00.699) 0:02:26.892 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 19:11:28 +0000 (0:00:00.060) 0:02:26.952 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 19:11:28 +0000 (0:00:00.021) 0:02:26.974 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 19:11:28 +0000 (0:00:00.042) 0:02:27.017 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 19:11:28 +0000 (0:00:00.039) 0:02:27.056 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 19:11:29 +0000 (0:00:00.386) 0:02:27.442 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 19:11:29 +0000 (0:00:00.021) 0:02:27.463 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 19:11:29 +0000 (0:00:00.033) 0:02:27.497 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 19:11:29 +0000 (0:00:00.023) 0:02:27.520 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 19:11:29 +0000 (0:00:00.037) 0:02:27.557 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 19:11:29 +0000 (0:00:00.028) 0:02:27.586 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 19:11:29 +0000 (0:00:00.029) 0:02:27.615 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 19:11:29 +0000 (0:00:00.019) 0:02:27.634 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 19:11:29 +0000 (0:00:00.109) 0:02:27.744 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 19:11:29 +0000 (0:00:00.030) 0:02:27.775 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 19:11:29 +0000 (0:00:00.330) 0:02:28.106 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 19:11:29 +0000 (0:00:00.025) 0:02:28.131 ******* 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.005591", "end": "2023-12-08 19:11:30.070031", "rc": 0, "start": "2023-12-08 19:11:30.064440" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 19:11:30 +0000 (0:00:00.186) 0:02:28.318 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 19:11:30 +0000 (0:00:00.833) 0:02:29.151 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 19:11:30 +0000 (0:00:00.038) 0:02:29.190 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 19:11:31 +0000 (0:00:00.037) 0:02:29.228 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 19:11:31 +0000 (0:00:00.029) 0:02:29.257 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/data', 'mode': '0755', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/log', 'mode': '0755', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:11:31 +0000 (0:00:00.042) 0:02:29.299 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062589.7798421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062589.6918423, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 520093952, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702062589.6918423, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 996, "version": "1493268394", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:11:31 +0000 (0:00:00.155) 0:02:29.454 ******* ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 156, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:11:31 +0000 (0:00:00.162) 0:02:29.617 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:11:31 +0000 (0:00:00.043) 0:02:29.661 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:31 +0000 (0:00:00.032) 0:02:29.693 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003542", "end": "2023-12-08 19:11:31.626456", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:31.622914" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:31 +0000 (0:00:00.179) 0:02:29.873 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.051762", "end": "2023-12-08 19:11:31.852339", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:31.800577" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:31 +0000 (0:00:00.229) 0:02:30.102 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:11:31 +0000 (0:00:00.020) 0:02:30.123 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062651.9087453, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702062651.906745, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524288256, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702062651.906745, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "241111698", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:11:32 +0000 (0:00:00.161) 0:02:30.284 ******* ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:11:32 +0000 (0:00:00.223) 0:02:30.507 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:11:32 +0000 (0:00:00.051) 0:02:30.558 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:32 +0000 (0:00:00.034) 0:02:30.593 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003578", "end": "2023-12-08 19:11:32.506090", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:32.502512" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:32 +0000 (0:00:00.154) 0:02:30.748 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.051374", "end": "2023-12-08 19:11:32.717433", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:32.666059" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:32 +0000 (0:00:00.234) 0:02:30.983 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 19:11:32 +0000 (0:00:00.030) 0:02:31.013 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 19:11:32 +0000 (0:00:00.039) 0:02:31.052 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 19:11:33 +0000 (0:00:00.349) 0:02:31.402 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ActiveEnterTimestampMonotonic": "11927279", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service dbus.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 18:59:44 UTC", "AssertTimestampMonotonic": "11151531", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ConditionTimestampMonotonic": "11151525", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "945", "ExecMainStartTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ExecMainStartTimestampMonotonic": "11161724", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 18:59:44 UTC", "InactiveExitTimestampMonotonic": "11161771", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "945", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 18:59:44 UTC", "WatchdogTimestampMonotonic": "11927007", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 19:11:33 +0000 (0:00:00.337) 0:02:31.739 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.109252", "end": "2023-12-08 19:11:33.770960", "rc": 0, "start": "2023-12-08 19:11:33.661708" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 19:11:33 +0000 (0:00:00.319) 0:02:32.059 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 19:11:33 +0000 (0:00:00.032) 0:02:32.092 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 19:11:33 +0000 (0:00:00.045) 0:02:32.138 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 19:11:33 +0000 (0:00:00.036) 0:02:32.174 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 19:11:34 +0000 (0:00:00.207) 0:02:32.381 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 19:11:34 +0000 (0:00:00.366) 0:02:32.748 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 19:11:34 +0000 (0:00:00.067) 0:02:32.815 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ActiveEnterTimestampMonotonic": "675460864", "ActiveExitTimestamp": "Fri 2023-12-08 19:10:47 UTC", "ActiveExitTimestampMonotonic": "674558868", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:10:48 UTC", "AssertTimestampMonotonic": "675454999", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ConditionTimestampMonotonic": "675454998", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7524", "ExecMainStartTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ExecMainStartTimestampMonotonic": "675460789", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveEnterTimestampMonotonic": "675447604", "InactiveExitTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveExitTimestampMonotonic": "675460864", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "7524", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:10:48 UTC", "WatchdogTimestampMonotonic": "675460838", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 19:11:34 +0000 (0:00:00.284) 0:02:33.100 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004666", "end": "2023-12-08 19:11:36.039797", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:11:35.035131" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 19:11:36 +0000 (0:00:01.180) 0:02:34.280 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003491", "end": "2023-12-08 19:11:36.190071", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:36.186580" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 19:11:36 +0000 (0:00:00.202) 0:02:34.482 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 19:11:36 +0000 (0:00:00.055) 0:02:34.537 ******* ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "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": 6344, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 19:11:37 +0000 (0:00:01.156) 0:02:35.694 ******* fatal: [sut]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 19:11:37 +0000 (0:00:00.187) 0:02:35.882 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ActiveEnterTimestampMonotonic": "675460864", "ActiveExitTimestamp": "Fri 2023-12-08 19:10:47 UTC", "ActiveExitTimestampMonotonic": "674558868", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:10:48 UTC", "AssertTimestampMonotonic": "675454999", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ConditionTimestampMonotonic": "675454998", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7524", "ExecMainStartTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ExecMainStartTimestampMonotonic": "675460789", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveEnterTimestampMonotonic": "675447604", "InactiveExitTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveExitTimestampMonotonic": "675460864", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "7524", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:10:48 UTC", "WatchdogTimestampMonotonic": "675460838", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 19:11:38 +0000 (0:00:01.171) 0:02:37.053 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 19:11:39 +0000 (0:00:00.706) 0:02:37.759 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 19:11:44 +0000 (0:00:05.147) 0:02:42.906 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 19:11:44 +0000 (0:00:00.020) 0:02:42.927 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 19:11:44 +0000 (0:00:00.018) 0:02:42.945 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005349", "end": "2023-12-08 19:11:44.862835", "rc": 0, "start": "2023-12-08 19:11:44.857486" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 19:11:44 +0000 (0:00:00.155) 0:02:43.101 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ActiveEnterTimestampMonotonic": "675460864", "ActiveExitTimestamp": "Fri 2023-12-08 19:11:37 UTC", "ActiveExitTimestampMonotonic": "725013826", "ActiveState": "inactive", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:10:48 UTC", "AssertTimestampMonotonic": "675454999", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ConditionTimestampMonotonic": "675454998", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2023-12-08 19:11:38 UTC", "ExecMainExitTimestampMonotonic": "725922090", "ExecMainPID": "7524", "ExecMainStartTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ExecMainStartTimestampMonotonic": "675460789", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 19:10:48 UTC] ; stop_time=[Fri 2023-12-08 19:11:38 UTC] ; pid=7524 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:11:38 UTC", "InactiveEnterTimestampMonotonic": "725922229", "InactiveExitTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveExitTimestampMonotonic": "675460864", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 19:11:45 +0000 (0:00:00.221) 0:02:43.323 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 19:11:45 +0000 (0:00:00.689) 0:02:44.013 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 19:11:51 +0000 (0:00:05.266) 0:02:49.279 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:51 +0000 (0:00:00.034) 0:02:49.313 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003647", "end": "2023-12-08 19:11:51.224356", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:51.220709" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:51 +0000 (0:00:00.149) 0:02:49.463 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.051231", "end": "2023-12-08 19:11:51.419965", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:51.368734" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:51 +0000 (0:00:00.254) 0:02:49.717 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 19:11:51 +0000 (0:00:00.019) 0:02:49.737 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 19:11:51 +0000 (0:00:00.018) 0:02:49.755 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 19:11:51 +0000 (0:00:00.021) 0:02:49.777 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:51 +0000 (0:00:00.030) 0:02:49.807 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003470", "end": "2023-12-08 19:11:51.710758", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:11:51.707288" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:51 +0000 (0:00:00.141) 0:02:49.948 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.050661", "end": "2023-12-08 19:11:51.901956", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:51.851295" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:51 +0000 (0:00:00.200) 0:02:50.148 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 19:11:51 +0000 (0:00:00.019) 0:02:50.167 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 19:11:51 +0000 (0:00:00.021) 0:02:50.188 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:52 +0000 (0:00:00.034) 0:02:50.222 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003547", "end": "2023-12-08 19:11:52.125716", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:52.122169" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:52 +0000 (0:00:00.142) 0:02:50.365 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.051458", "end": "2023-12-08 19:11:52.322672", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:52.271214" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:52 +0000 (0:00:00.197) 0:02:50.563 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 19:11:52 +0000 (0:00:00.019) 0:02:50.582 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 19:11:53 +0000 (0:00:01.186) 0:02:51.768 ******* changed: [sut] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.10-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n powershell x86_64 7.3.10-1.rh @packages-microsoft-com-prod 168 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : powershell-7.3.10-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.10-1.rh.x86_64 1/1 \n\nRemoved:\n powershell.x86_64 0:7.3.10-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 19:11:54 +0000 (0:00:01.130) 0:02:52.899 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003692", "end": "2023-12-08 19:11:54.802411", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:54.798719" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 19:11:54 +0000 (0:00:00.139) 0:02:53.039 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 19:11:54 +0000 (0:00:00.020) 0:02:53.059 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.052115", "end": "2023-12-08 19:11:55.018116", "rc": 0, "start": "2023-12-08 19:11:54.966001" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 19:11:55 +0000 (0:00:00.196) 0:02:53.256 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:55 +0000 (0:00:00.072) 0:02:53.328 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003577", "end": "2023-12-08 19:11:55.233723", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:55.230146" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:55 +0000 (0:00:00.143) 0:02:53.472 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:55 +0000 (0:00:00.024) 0:02:53.496 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 19:11:55 +0000 (0:00:00.018) 0:02:53.515 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:11:55 +0000 (0:00:00.032) 0:02:53.548 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003423", "end": "2023-12-08 19:11:55.451494", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:55.448071" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:11:55 +0000 (0:00:00.141) 0:02:53.689 ******* Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.050114", "end": "2023-12-08 19:11:55.644490", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:11:55.594376" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:11:55 +0000 (0:00:00.195) 0:02:53.885 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 19:11:55 +0000 (0:00:00.020) 0:02:53.905 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 19:11:55 +0000 (0:00:00.019) 0:02:53.924 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 19:11:55 +0000 (0:00:00.020) 0:02:53.945 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 19:11:55 +0000 (0:00:00.022) 0:02:53.968 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 19:11:55 +0000 (0:00:00.019) 0:02:53.987 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 19:11:55 +0000 (0:00:00.019) 0:02:54.007 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 19:11:55 +0000 (0:00:00.018) 0:02:54.026 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 19:11:55 +0000 (0:00:00.020) 0:02:54.046 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 19:11:55 +0000 (0:00:00.020) 0:02:54.066 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 19:11:55 +0000 (0:00:00.021) 0:02:54.088 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 19:11:55 +0000 (0:00:00.022) 0:02:54.111 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 19:11:55 +0000 (0:00:00.073) 0:02:54.184 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 19:11:55 +0000 (0:00:00.022) 0:02:54.207 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.227 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 19:11:56 +0000 (0:00:00.021) 0:02:54.248 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 19:11:56 +0000 (0:00:00.020) 0:02:54.269 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 19:11:56 +0000 (0:00:00.020) 0:02:54.290 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.308 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.325 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.343 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 19:11:56 +0000 (0:00:00.020) 0:02:54.363 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.382 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.400 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.420 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.437 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.455 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.472 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.490 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.508 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.525 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.545 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.563 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 19:11:56 +0000 (0:00:00.066) 0:02:54.630 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.648 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 19:11:56 +0000 (0:00:00.022) 0:02:54.670 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.687 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.706 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 19:11:56 +0000 (0:00:00.021) 0:02:54.727 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.745 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.762 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.780 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.798 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 19:11:56 +0000 (0:00:00.024) 0:02:54.823 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.843 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.862 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 19:11:56 +0000 (0:00:00.020) 0:02:54.883 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.901 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 19:11:56 +0000 (0:00:00.017) 0:02:54.919 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:54.937 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 19:11:56 +0000 (0:00:00.039) 0:02:54.977 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:54.996 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:55.015 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:55.033 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:55.051 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 19:11:56 +0000 (0:00:00.062) 0:02:55.114 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 19:11:56 +0000 (0:00:00.019) 0:02:55.133 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 19:11:56 +0000 (0:00:00.020) 0:02:55.154 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 19:11:56 +0000 (0:00:00.018) 0:02:55.173 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 19:11:57 +0000 (0:00:00.170) 0:02:55.343 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 08 December 2023 19:11:57 +0000 (0:00:00.017) 0:02:55.361 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ActiveEnterTimestampMonotonic": "675460864", "ActiveExitTimestamp": "Fri 2023-12-08 19:11:37 UTC", "ActiveExitTimestampMonotonic": "725013826", "ActiveState": "inactive", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:10:48 UTC", "AssertTimestampMonotonic": "675454999", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ConditionTimestampMonotonic": "675454998", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2023-12-08 19:11:38 UTC", "ExecMainExitTimestampMonotonic": "725922090", "ExecMainPID": "7524", "ExecMainStartTimestamp": "Fri 2023-12-08 19:10:48 UTC", "ExecMainStartTimestampMonotonic": "675460789", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 19:10:48 UTC] ; stop_time=[Fri 2023-12-08 19:11:38 UTC] ; pid=7524 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:11:38 UTC", "InactiveEnterTimestampMonotonic": "725922229", "InactiveExitTimestamp": "Fri 2023-12-08 19:10:48 UTC", "InactiveExitTimestampMonotonic": "675460864", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 19:11:57 +0000 (0:00:00.263) 0:02:55.624 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 19:11:57 +0000 (0:00:00.021) 0:02:55.645 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:73 Friday 08 December 2023 19:11:57 +0000 (0:00:00.029) 0:02:55.674 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 08 December 2023 19:11:57 +0000 (0:00:00.305) 0:02:55.980 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 08 December 2023 19:11:57 +0000 (0:00:00.092) 0:02:56.073 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 08 December 2023 19:11:57 +0000 (0:00:00.023) 0:02:56.097 ******* 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-selinux1c4ln9vw/.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-selinux1c4ln9vw/.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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_7.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 08 December 2023 19:11:57 +0000 (0:00:00.036) 0:02:56.133 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 08 December 2023 19:11:57 +0000 (0:00:00.021) 0:02:56.155 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 08 December 2023 19:11:57 +0000 (0:00:00.018) 0:02:56.173 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 08 December 2023 19:11:57 +0000 (0:00:00.025) 0:02:56.199 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 08 December 2023 19:11:58 +0000 (0:00:00.020) 0:02:56.220 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 08 December 2023 19:11:58 +0000 (0:00:00.021) 0:02:56.241 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 08 December 2023 19:11:58 +0000 (0:00:00.019) 0:02:56.261 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Friday 08 December 2023 19:11:58 +0000 (0:00:00.029) 0:02:56.290 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Friday 08 December 2023 19:11:58 +0000 (0:00:00.026) 0:02:56.317 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 08 December 2023 19:11:58 +0000 (0:00:00.021) 0:02:56.338 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 08 December 2023 19:11:58 +0000 (0:00:00.017) 0:02:56.356 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Friday 08 December 2023 19:11:58 +0000 (0:00:00.018) 0:02:56.374 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Friday 08 December 2023 19:11:58 +0000 (0:00:00.018) 0:02:56.393 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Friday 08 December 2023 19:11:58 +0000 (0:00:00.020) 0:02:56.413 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Friday 08 December 2023 19:11:58 +0000 (0:00:00.716) 0:02:57.130 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 08 December 2023 19:11:58 +0000 (0:00:00.053) 0:02:57.184 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Friday 08 December 2023 19:11:59 +0000 (0:00:00.066) 0:02:57.251 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Friday 08 December 2023 19:11:59 +0000 (0:00:00.023) 0:02:57.274 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 08 December 2023 19:11:59 +0000 (0:00:00.035) 0:02:57.310 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Friday 08 December 2023 19:11:59 +0000 (0:00:00.426) 0:02:57.736 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Friday 08 December 2023 19:11:59 +0000 (0:00:00.023) 0:02:57.760 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Friday 08 December 2023 19:11:59 +0000 (0:00:00.024) 0:02:57.785 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Friday 08 December 2023 19:11:59 +0000 (0:00:00.023) 0:02:57.809 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Friday 08 December 2023 19:11:59 +0000 (0:00:00.026) 0:02:57.835 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Friday 08 December 2023 19:11:59 +0000 (0:00:00.021) 0:02:57.856 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 08 December 2023 19:11:59 +0000 (0:00:00.021) 0:02:57.877 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Friday 08 December 2023 19:11:59 +0000 (0:00:00.020) 0:02:57.898 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 08 December 2023 19:11:59 +0000 (0:00:00.019) 0:02:57.917 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 08 December 2023 19:11:59 +0000 (0:00:00.020) 0:02:57.938 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Friday 08 December 2023 19:12:00 +0000 (0:00:00.386) 0:02:58.325 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Friday 08 December 2023 19:12:00 +0000 (0:00:00.018) 0:02:58.344 ******* 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.007316", "end": "2023-12-08 19:12:00.266904", "rc": 0, "start": "2023-12-08 19:12:00.259588" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 08 December 2023 19:12:00 +0000 (0:00:00.163) 0:02:58.507 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Friday 08 December 2023 19:12:01 +0000 (0:00:01.034) 0:02:59.542 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 08 December 2023 19:12:01 +0000 (0:00:00.027) 0:02:59.570 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Friday 08 December 2023 19:12:01 +0000 (0:00:00.017) 0:02:59.587 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Friday 08 December 2023 19:12:01 +0000 (0:00:00.017) 0:02:59.605 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/var/opt/mssql/log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:12:01 +0000 (0:00:00.086) 0:02:59.692 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062589.7798421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062589.6918423, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 520093952, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702062589.6918423, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 996, "version": "1493268394", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:12:01 +0000 (0:00:00.155) 0:02:59.847 ******* ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 156, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:12:01 +0000 (0:00:00.156) 0:03:00.004 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:12:01 +0000 (0:00:00.028) 0:03:00.032 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:01 +0000 (0:00:00.030) 0:03:00.062 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003445", "end": "2023-12-08 19:12:01.967379", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:01.963934" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:01 +0000 (0:00:00.143) 0:03:00.206 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:02 +0000 (0:00:00.025) 0:03:00.232 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 08 December 2023 19:12:02 +0000 (0:00:00.020) 0:03:00.252 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062720.2409167, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702062720.2509167, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524288256, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702062720.2509167, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "241111698", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Friday 08 December 2023 19:12:02 +0000 (0:00:00.148) 0:03:00.401 ******* ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Friday 08 December 2023 19:12:02 +0000 (0:00:00.147) 0:03:00.548 ******* ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Friday 08 December 2023 19:12:02 +0000 (0:00:00.027) 0:03:00.576 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:02 +0000 (0:00:00.030) 0:03:00.607 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003505", "end": "2023-12-08 19:12:02.511608", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:02.508103" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:02 +0000 (0:00:00.143) 0:03:00.751 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:02 +0000 (0:00:00.024) 0:03:00.775 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Friday 08 December 2023 19:12:02 +0000 (0:00:00.019) 0:03:00.794 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Friday 08 December 2023 19:12:02 +0000 (0:00:00.017) 0:03:00.812 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Friday 08 December 2023 19:12:02 +0000 (0:00:00.327) 0:03:01.139 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ActiveEnterTimestampMonotonic": "11927279", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service dbus.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 18:59:44 UTC", "AssertTimestampMonotonic": "11151531", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ConditionTimestampMonotonic": "11151525", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "945", "ExecMainStartTimestamp": "Fri 2023-12-08 18:59:44 UTC", "ExecMainStartTimestampMonotonic": "11161724", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 18:59:44 UTC", "InactiveExitTimestampMonotonic": "11161771", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "945", "MemoryAccounting": "no", "MemoryCurrent": "20418560", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "5", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 18:59:44 UTC", "WatchdogTimestampMonotonic": "11927007", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Friday 08 December 2023 19:12:03 +0000 (0:00:00.218) 0:03:01.358 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.107600", "end": "2023-12-08 19:12:03.372114", "rc": 0, "start": "2023-12-08 19:12:03.264514" } 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Friday 08 December 2023 19:12:03 +0000 (0:00:00.309) 0:03:01.668 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Friday 08 December 2023 19:12:03 +0000 (0:00:00.018) 0:03:01.686 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Friday 08 December 2023 19:12:03 +0000 (0:00:00.017) 0:03:01.704 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Friday 08 December 2023 19:12:03 +0000 (0:00:00.017) 0:03:01.721 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Friday 08 December 2023 19:12:03 +0000 (0:00:00.144) 0:03:01.865 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 08 December 2023 19:12:03 +0000 (0:00:00.325) 0:03:02.191 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 19:12:04 +0000 (0:00:00.033) 0:03:02.225 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:11:57 UTC", "ActiveEnterTimestampMonotonic": "744478754", "ActiveExitTimestamp": "Fri 2023-12-08 19:11:37 UTC", "ActiveExitTimestampMonotonic": "725013826", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:11:57 UTC", "AssertTimestampMonotonic": "744467170", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:11:57 UTC", "ConditionTimestampMonotonic": "744467169", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9474", "ExecMainStartTimestamp": "Fri 2023-12-08 19:11:57 UTC", "ExecMainStartTimestampMonotonic": "744477802", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 19:11:57 UTC] ; stop_time=[n/a] ; pid=9474 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:11:38 UTC", "InactiveEnterTimestampMonotonic": "725922229", "InactiveExitTimestamp": "Fri 2023-12-08 19:11:57 UTC", "InactiveExitTimestampMonotonic": "744478754", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9474", "MemoryAccounting": "no", "MemoryCurrent": "622407680", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "136", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:11:57 UTC", "WatchdogTimestampMonotonic": "744478726", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 19:12:04 +0000 (0:00:00.217) 0:03:02.442 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004610", "end": "2023-12-08 19:12:05.348523", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:04.343913" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 19:12:05 +0000 (0:00:01.144) 0:03:03.587 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003605", "end": "2023-12-08 19:12:05.494692", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:05.491087" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 19:12:05 +0000 (0:00:00.146) 0:03:03.733 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Friday 08 December 2023 19:12:05 +0000 (0:00:00.027) 0:03:03.761 ******* ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "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": 6912, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Friday 08 December 2023 19:12:06 +0000 (0:00:01.144) 0:03:04.906 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Friday 08 December 2023 19:12:06 +0000 (0:00:00.169) 0:03:05.075 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Friday 08 December 2023 19:12:06 +0000 (0:00:00.021) 0:03:05.096 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 08 December 2023 19:12:07 +0000 (0:00:00.688) 0:03:05.785 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Friday 08 December 2023 19:12:07 +0000 (0:00:00.019) 0:03:05.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Friday 08 December 2023 19:12:07 +0000 (0:00:00.018) 0:03:05.823 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Friday 08 December 2023 19:12:07 +0000 (0:00:00.017) 0:03:05.841 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005555", "end": "2023-12-08 19:12:07.746953", "rc": 0, "start": "2023-12-08 19:12:07.741398" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 08 December 2023 19:12:07 +0000 (0:00:00.191) 0:03:06.032 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Friday 08 December 2023 19:12:07 +0000 (0:00:00.021) 0:03:06.054 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Friday 08 December 2023 19:12:08 +0000 (0:00:00.687) 0:03:06.742 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Friday 08 December 2023 19:12:08 +0000 (0:00:00.021) 0:03:06.764 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:08 +0000 (0:00:00.033) 0:03:06.797 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003550", "end": "2023-12-08 19:12:08.707662", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:08.704112" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:08 +0000 (0:00:00.148) 0:03:06.946 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:08 +0000 (0:00:00.024) 0:03:06.970 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Friday 08 December 2023 19:12:08 +0000 (0:00:00.017) 0:03:06.988 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Friday 08 December 2023 19:12:08 +0000 (0:00:00.018) 0:03:07.006 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Friday 08 December 2023 19:12:08 +0000 (0:00:00.017) 0:03:07.024 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:08 +0000 (0:00:00.030) 0:03:07.054 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003549", "end": "2023-12-08 19:12:08.957699", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:08.954150" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:08 +0000 (0:00:00.143) 0:03:07.198 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:09 +0000 (0:00:00.025) 0:03:07.223 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 08 December 2023 19:12:09 +0000 (0:00:00.018) 0:03:07.242 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Friday 08 December 2023 19:12:09 +0000 (0:00:00.020) 0:03:07.263 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:09 +0000 (0:00:00.122) 0:03:07.385 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003479", "end": "2023-12-08 19:12:09.289370", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:09.285891" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:09 +0000 (0:00:00.142) 0:03:07.528 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:09 +0000 (0:00:00.026) 0:03:07.554 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Friday 08 December 2023 19:12:09 +0000 (0:00:00.018) 0:03:07.573 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Friday 08 December 2023 19:12:09 +0000 (0:00:00.373) 0:03:07.947 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Friday 08 December 2023 19:12:10 +0000 (0:00:00.307) 0:03:08.255 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003535", "end": "2023-12-08 19:12:10.166743", "failed_when_result": false, "rc": 1, "start": "2023-12-08 19:12:10.163208" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Friday 08 December 2023 19:12:10 +0000 (0:00:00.150) 0:03:08.405 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Friday 08 December 2023 19:12:10 +0000 (0:00:00.020) 0:03:08.425 ******* skipping: [sut] => { "changed": false, "false_condition": "'3979' in __mssql_get_traceflag.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 08 December 2023 19:12:10 +0000 (0:00:00.021) 0:03:08.447 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:10 +0000 (0:00:00.032) 0:03:08.479 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003627", "end": "2023-12-08 19:12:10.386299", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:10.382672" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:10 +0000 (0:00:00.146) 0:03:08.625 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:10 +0000 (0:00:00.026) 0:03:08.652 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Friday 08 December 2023 19:12:10 +0000 (0:00:00.021) 0:03:08.674 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 08 December 2023 19:12:10 +0000 (0:00:00.033) 0:03:08.708 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003667", "end": "2023-12-08 19:12:10.614359", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:10.610692" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 08 December 2023 19:12:10 +0000 (0:00:00.145) 0:03:08.853 ******* skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 08 December 2023 19:12:10 +0000 (0:00:00.025) 0:03:08.878 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Friday 08 December 2023 19:12:10 +0000 (0:00:00.018) 0:03:08.897 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 08 December 2023 19:12:10 +0000 (0:00:00.019) 0:03:08.916 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Friday 08 December 2023 19:12:10 +0000 (0:00:00.018) 0:03:08.934 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 08 December 2023 19:12:10 +0000 (0:00:00.068) 0:03:09.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Friday 08 December 2023 19:12:10 +0000 (0:00:00.019) 0:03:09.022 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Friday 08 December 2023 19:12:10 +0000 (0:00:00.019) 0:03:09.042 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 08 December 2023 19:12:10 +0000 (0:00:00.018) 0:03:09.061 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 08 December 2023 19:12:10 +0000 (0:00:00.019) 0:03:09.080 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Friday 08 December 2023 19:12:10 +0000 (0:00:00.018) 0:03:09.099 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Friday 08 December 2023 19:12:10 +0000 (0:00:00.019) 0:03:09.119 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Friday 08 December 2023 19:12:10 +0000 (0:00:00.019) 0:03:09.138 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 08 December 2023 19:12:10 +0000 (0:00:00.022) 0:03:09.160 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Friday 08 December 2023 19:12:10 +0000 (0:00:00.020) 0:03:09.181 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Friday 08 December 2023 19:12:10 +0000 (0:00:00.018) 0:03:09.200 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.218 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.237 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.255 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.275 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 08 December 2023 19:12:11 +0000 (0:00:00.017) 0:03:09.292 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.310 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Friday 08 December 2023 19:12:11 +0000 (0:00:00.017) 0:03:09.328 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.346 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.366 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Friday 08 December 2023 19:12:11 +0000 (0:00:00.020) 0:03:09.387 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.406 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 08 December 2023 19:12:11 +0000 (0:00:00.070) 0:03:09.477 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.496 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Friday 08 December 2023 19:12:11 +0000 (0:00:00.020) 0:03:09.516 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.535 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Friday 08 December 2023 19:12:11 +0000 (0:00:00.020) 0:03:09.556 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.575 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 08 December 2023 19:12:11 +0000 (0:00:00.021) 0:03:09.596 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Friday 08 December 2023 19:12:11 +0000 (0:00:00.021) 0:03:09.617 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Friday 08 December 2023 19:12:11 +0000 (0:00:00.020) 0:03:09.637 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Friday 08 December 2023 19:12:11 +0000 (0:00:00.021) 0:03:09.659 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.679 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Friday 08 December 2023 19:12:11 +0000 (0:00:00.034) 0:03:09.713 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 08 December 2023 19:12:11 +0000 (0:00:00.028) 0:03:09.741 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Friday 08 December 2023 19:12:11 +0000 (0:00:00.027) 0:03:09.769 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Friday 08 December 2023 19:12:11 +0000 (0:00:00.029) 0:03:09.798 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Friday 08 December 2023 19:12:11 +0000 (0:00:00.022) 0:03:09.821 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 08 December 2023 19:12:11 +0000 (0:00:00.020) 0:03:09.842 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Friday 08 December 2023 19:12:11 +0000 (0:00:00.019) 0:03:09.861 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.879 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Friday 08 December 2023 19:12:11 +0000 (0:00:00.017) 0:03:09.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:09.915 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 08 December 2023 19:12:11 +0000 (0:00:00.017) 0:03:09.932 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Friday 08 December 2023 19:12:11 +0000 (0:00:00.064) 0:03:09.997 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:10.015 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Friday 08 December 2023 19:12:11 +0000 (0:00:00.022) 0:03:10.038 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 08 December 2023 19:12:11 +0000 (0:00:00.017) 0:03:10.055 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:10.074 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Friday 08 December 2023 19:12:11 +0000 (0:00:00.017) 0:03:10.091 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Friday 08 December 2023 19:12:11 +0000 (0:00:00.018) 0:03:10.110 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Friday 08 December 2023 19:12:11 +0000 (0:00:00.022) 0:03:10.132 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Friday 08 December 2023 19:12:11 +0000 (0:00:00.020) 0:03:10.152 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Friday 08 December 2023 19:12:11 +0000 (0:00:00.021) 0:03:10.174 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Friday 08 December 2023 19:12:11 +0000 (0:00:00.022) 0:03:10.197 ******* ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Friday 08 December 2023 19:12:12 +0000 (0:00:00.176) 0:03:10.374 ******* META: triggered running handlers for sut TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Friday 08 December 2023 19:12:12 +0000 (0:00:00.017) 0:03:10.391 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 08 December 2023 19:12:12 +0000 (0:00:00.019) 0:03:10.411 ******* skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:88 Friday 08 December 2023 19:12:12 +0000 (0:00:00.026) 0:03:10.438 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:8 Friday 08 December 2023 19:12:12 +0000 (0:00:00.176) 0:03:10.615 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005555", "end": "2023-12-08 19:12:12.524286", "rc": 0, "start": "2023-12-08 19:12:12.518731" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:23 Friday 08 December 2023 19:12:12 +0000 (0:00:00.198) 0:03:10.813 ******* ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005498", "end": "2023-12-08 19:12:12.719750", "rc": 0, "start": "2023-12-08 19:12:12.714252" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:35 Friday 08 December 2023 19:12:12 +0000 (0:00:00.143) 0:03:10.956 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:39 Friday 08 December 2023 19:12:12 +0000 (0:00:00.022) 0:03:10.979 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '127.0.0.1'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1435}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/var/opt/mssql/data'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/var/opt/mssql/log'}) included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'enabled', 'value': False}) TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:12 +0000 (0:00:00.048) 0:03:11.028 ******* ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004725", "end": "2023-12-08 19:12:12.936065", "rc": 0, "start": "2023-12-08 19:12:12.931340" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:12 +0000 (0:00:00.147) 0:03:11.175 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:12 +0000 (0:00:00.025) 0:03:11.200 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:13 +0000 (0:00:00.019) 0:03:11.219 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:13 +0000 (0:00:00.018) 0:03:11.238 ******* ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004775", "end": "2023-12-08 19:12:13.156289", "rc": 0, "start": "2023-12-08 19:12:13.151514" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:13 +0000 (0:00:00.160) 0:03:11.398 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting != \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:13 +0000 (0:00:00.021) 0:03:11.420 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:13 +0000 (0:00:00.023) 0:03:11.444 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:13 +0000 (0:00:00.026) 0:03:11.470 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004779", "end": "2023-12-08 19:12:13.373257", "rc": 0, "start": "2023-12-08 19:12:13.368478" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:13 +0000 (0:00:00.142) 0:03:11.612 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:13 +0000 (0:00:00.028) 0:03:11.641 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:13 +0000 (0:00:00.021) 0:03:11.662 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:13 +0000 (0:00:00.018) 0:03:11.681 ******* ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004760", "end": "2023-12-08 19:12:13.583460", "rc": 0, "start": "2023-12-08 19:12:13.578700" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:13 +0000 (0:00:00.141) 0:03:11.822 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:13 +0000 (0:00:00.024) 0:03:11.846 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:13 +0000 (0:00:00.018) 0:03:11.865 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:13 +0000 (0:00:00.017) 0:03:11.883 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004697", "end": "2023-12-08 19:12:13.785842", "rc": 0, "start": "2023-12-08 19:12:13.781145" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:13 +0000 (0:00:00.192) 0:03:12.075 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:13 +0000 (0:00:00.019) 0:03:12.095 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:13 +0000 (0:00:00.024) 0:03:12.119 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:55 Friday 08 December 2023 19:12:13 +0000 (0:00:00.017) 0:03:12.137 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062589.7798421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702062589.6918423, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 520093952, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702062589.6918423, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 996, "version": "1493268394", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:60 Friday 08 December 2023 19:12:14 +0000 (0:00:00.143) 0:03:12.280 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:70 Friday 08 December 2023 19:12:14 +0000 (0:00:00.022) 0:03:12.302 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702062720.2409167, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1702062720.2509167, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524288256, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702062720.2509167, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "241111698", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:75 Friday 08 December 2023 19:12:14 +0000 (0:00:00.145) 0:03:12.448 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:85 Friday 08 December 2023 19:12:14 +0000 (0:00:00.023) 0:03:12.472 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 08 December 2023 19:12:14 +0000 (0:00:00.035) 0:03:12.507 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:11:57 UTC", "ActiveEnterTimestampMonotonic": "744478754", "ActiveExitTimestamp": "Fri 2023-12-08 19:11:37 UTC", "ActiveExitTimestampMonotonic": "725013826", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:11:57 UTC", "AssertTimestampMonotonic": "744467170", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:11:57 UTC", "ConditionTimestampMonotonic": "744467169", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9474", "ExecMainStartTimestamp": "Fri 2023-12-08 19:11:57 UTC", "ExecMainStartTimestampMonotonic": "744477802", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2023-12-08 19:11:57 UTC] ; stop_time=[n/a] ; pid=9474 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2023-12-08 19:11:38 UTC", "InactiveEnterTimestampMonotonic": "725922229", "InactiveExitTimestamp": "Fri 2023-12-08 19:11:57 UTC", "InactiveExitTimestampMonotonic": "744478754", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9474", "MemoryAccounting": "no", "MemoryCurrent": "623792128", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "138", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2023-12-08 19:11:57 UTC", "WatchdogTimestampMonotonic": "744478726", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 08 December 2023 19:12:14 +0000 (0:00:00.216) 0:03:12.724 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003539", "end": "2023-12-08 19:12:14.626974", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:14.623435" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 08 December 2023 19:12:14 +0000 (0:00:00.141) 0:03:12.865 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003516", "end": "2023-12-08 19:12:14.768189", "failed_when_result": false, "rc": 0, "start": "2023-12-08 19:12:14.764673" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 08 December 2023 19:12:14 +0000 (0:00:00.140) 0:03:13.005 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:93 Friday 08 December 2023 19:12:14 +0000 (0:00:00.035) 0:03:13.041 ******* ok: [sut] => { "changed": false, "elapsed": 18, "gid": 994, "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": 6912, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:100 Friday 08 December 2023 19:12:32 +0000 (0:00:18.160) 0:03:31.202 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022304", "end": "2023-12-08 19:12:33.123302", "rc": 0, "start": "2023-12-08 19:12:33.100998" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:104 Friday 08 December 2023 19:12:33 +0000 (0:00:00.167) 0:03:31.370 ******* ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:108 Friday 08 December 2023 19:12:33 +0000 (0:00:00.023) 0:03:31.394 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:7 Friday 08 December 2023 19:12:33 +0000 (0:00:00.029) 0:03:31.423 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:12 Friday 08 December 2023 19:12:34 +0000 (0:00:00.826) 0:03:32.249 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_verify_package_installed | bool", "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:17 Friday 08 December 2023 19:12:34 +0000 (0:00:00.020) 0:03:32.269 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:115 Friday 08 December 2023 19:12:34 +0000 (0:00:00.028) 0:03:32.298 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:7 Friday 08 December 2023 19:12:34 +0000 (0:00:00.031) 0:03:32.329 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:12 Friday 08 December 2023 19:12:34 +0000 (0:00:00.691) 0:03:33.020 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_verify_package_installed | bool", "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_package.yml:17 Friday 08 December 2023 19:12:34 +0000 (0:00:00.018) 0:03:33.039 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:126 Friday 08 December 2023 19:12:34 +0000 (0:00:00.023) 0:03:33.063 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004686", "end": "2023-12-08 19:12:34.966646", "rc": 0, "start": "2023-12-08 19:12:34.961960" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:131 Friday 08 December 2023 19:12:34 +0000 (0:00:00.141) 0:03:33.204 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua | bool", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:136 Friday 08 December 2023 19:12:35 +0000 (0:00:00.018) 0:03:33.223 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:142 Friday 08 December 2023 19:12:35 +0000 (0:00:00.021) 0:03:33.244 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:35 +0000 (0:00:00.029) 0:03:33.274 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004814", "end": "2023-12-08 19:12:35.180880", "rc": 0, "start": "2023-12-08 19:12:35.176066" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:35 +0000 (0:00:00.145) 0:03:33.419 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:35 +0000 (0:00:00.018) 0:03:33.438 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:35 +0000 (0:00:00.023) 0:03:33.462 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:148 Friday 08 December 2023 19:12:35 +0000 (0:00:00.018) 0:03:33.480 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:7 Friday 08 December 2023 19:12:35 +0000 (0:00:00.084) 0:03:33.565 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004770", "end": "2023-12-08 19:12:35.469974", "rc": 0, "start": "2023-12-08 19:12:35.465204" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:14 Friday 08 December 2023 19:12:35 +0000 (0:00:00.142) 0:03:33.708 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug != 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:25 Friday 08 December 2023 19:12:35 +0000 (0:00:00.019) 0:03:33.728 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/mssql_conf_verify.yml:40 Friday 08 December 2023 19:12:35 +0000 (0:00:00.025) 0:03:33.753 ******* skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:158 Friday 08 December 2023 19:12:35 +0000 (0:00:00.018) 0:03:33.771 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:169 Friday 08 December 2023 19:12:35 +0000 (0:00:00.019) 0:03:33.790 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:181 Friday 08 December 2023 19:12:35 +0000 (0:00:00.017) 0:03:33.808 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:189 Friday 08 December 2023 19:12:35 +0000 (0:00:00.018) 0:03:33.826 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:199 Friday 08 December 2023 19:12:35 +0000 (0:00:00.017) 0:03:33.843 ******* 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-selinux1c4ln9vw/tests/tasks/verify_settings.yml:204 Friday 08 December 2023 19:12:35 +0000 (0:00:00.019) 0:03:33.863 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:210 Friday 08 December 2023 19:12:35 +0000 (0:00:00.017) 0:03:33.880 ******* skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/tests_idempotency.yml:105 Friday 08 December 2023 19:12:35 +0000 (0:00:00.018) 0:03:33.899 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/check_header.yml:4 Friday 08 December 2023 19:12:35 +0000 (0:00:00.170) 0:03:34.069 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003524", "end": "2023-12-08 19:12:36.005146", "rc": 0, "start": "2023-12-08 19:12:36.001622" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tests_idempotency_2017.yml:17 Friday 08 December 2023 19:12:36 +0000 (0:00:00.176) 0:03:34.246 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:2 Friday 08 December 2023 19:12:36 +0000 (0:00:00.035) 0:03:34.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 [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:6 Friday 08 December 2023 19:12:36 +0000 (0:00:00.819) 0:03:35.101 ******* 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-selinux1c4ln9vw/tests/tasks/cleanup.yml:14 Friday 08 December 2023 19:12:36 +0000 (0:00:00.023) 0:03:35.124 ******* ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:18 Friday 08 December 2023 19:12:36 +0000 (0:00:00.030) 0:03:35.155 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 08 December 2023 19:12:36 +0000 (0:00:00.049) 0:03:35.204 ******* included: /WORKDIR/git-storage-selinux1c4ln9vw/.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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 08 December 2023 19:12:37 +0000 (0:00:00.033) 0:03:35.238 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 08 December 2023 19:12:37 +0000 (0:00:00.025) 0:03:35.264 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 08 December 2023 19:12:37 +0000 (0:00:00.140) 0:03:35.405 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Friday 08 December 2023 19:12:37 +0000 (0:00:00.030) 0:03:35.435 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 08 December 2023 19:12:37 +0000 (0:00:00.329) 0:03:35.765 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 08 December 2023 19:12:37 +0000 (0:00:00.021) 0:03:35.786 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 08 December 2023 19:12:37 +0000 (0:00:00.022) 0:03:35.809 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:08:20 UTC", "ActiveEnterTimestampMonotonic": "527198156", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:08:19 UTC", "AssertTimestampMonotonic": "526715730", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:08:19 UTC", "ConditionTimestampMonotonic": "526715728", "Conflicts": "ebtables.service iptables.service ip6tables.service shutdown.target ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5003", "ExecMainStartTimestamp": "Fri 2023-12-08 19:08:19 UTC", "ExecMainStartTimestampMonotonic": "526729536", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 19:08:19 UTC", "InactiveExitTimestampMonotonic": "526730248", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "5003", "MemoryAccounting": "no", "MemoryCurrent": "30396416", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2023-12-08 19:08:20 UTC", "WatchdogTimestampMonotonic": "527198091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 08 December 2023 19:12:37 +0000 (0:00:00.225) 0:03:36.034 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2023-12-08 19:08:20 UTC", "ActiveEnterTimestampMonotonic": "527198156", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2023-12-08 19:08:19 UTC", "AssertTimestampMonotonic": "526715730", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2023-12-08 19:08:19 UTC", "ConditionTimestampMonotonic": "526715728", "Conflicts": "ebtables.service iptables.service ip6tables.service shutdown.target ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5003", "ExecMainStartTimestamp": "Fri 2023-12-08 19:08:19 UTC", "ExecMainStartTimestampMonotonic": "526729536", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2023-12-08 19:08:19 UTC", "InactiveExitTimestampMonotonic": "526730248", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "5003", "MemoryAccounting": "no", "MemoryCurrent": "30396416", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2023-12-08 19:08:20 UTC", "WatchdogTimestampMonotonic": "527198091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 08 December 2023 19:12:38 +0000 (0:00:00.221) 0:03:36.256 ******* ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 08 December 2023 19:12:38 +0000 (0:00:00.029) 0:03:36.286 ******* ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.13 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 08 December 2023 19:12:38 +0000 (0:00:00.261) 0:03:36.548 ******* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 08 December 2023 19:12:38 +0000 (0:00:00.023) 0:03:36.571 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 08 December 2023 19:12:38 +0000 (0:00:00.074) 0:03:36.646 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 08 December 2023 19:12:38 +0000 (0:00:00.022) 0:03:36.669 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 08 December 2023 19:12:38 +0000 (0:00:00.022) 0:03:36.691 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 08 December 2023 19:12:38 +0000 (0:00:00.018) 0:03:36.709 ******* 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-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 08 December 2023 19:12:38 +0000 (0:00:00.019) 0:03:36.729 ******* ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.13 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 08 December 2023 19:12:38 +0000 (0:00:00.244) 0:03:36.974 ******* ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 08 December 2023 19:12:38 +0000 (0:00:00.025) 0:03:37.000 ******* skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:27 Friday 08 December 2023 19:12:38 +0000 (0:00:00.029) 0:03:37.029 ******* 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-selinux1c4ln9vw/tests/tasks/cleanup.yml:35 Friday 08 December 2023 19:12:38 +0000 (0:00:00.024) 0:03:37.054 ******* 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-selinux1c4ln9vw/tests/tasks/cleanup.yml:39 Friday 08 December 2023 19:12:38 +0000 (0:00:00.024) 0:03:37.078 ******* ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:45 Friday 08 December 2023 19:12:39 +0000 (0:00:00.157) 0:03:37.236 ******* changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @rhel-Server 86 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @rhel-Server 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @rhel-Server 36 k\n gdb x86_64 7.6.1-120.el7 @rhel-Server 7.0 M\n libatomic x86_64 4.8.5-44.el7 @rhel-Server 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @rhel-Server 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @rhel-Server 66 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:58 Friday 08 December 2023 19:12:41 +0000 (0:00:02.284) 0:03:39.521 ******* 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.009624", "end": "2023-12-08 19:12:41.428440", "rc": 0, "start": "2023-12-08 19:12:41.418816" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ 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/1eca07b6-d0bf-41eb-9784-1f7c561f51cb’ 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 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-1929296787-805354966-81836130-500/42e7704ae40b0d75de00736cc66b813a_8b0459a6-e4e7-472e-a4a5-a56d28135ae2’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1929296787-805354966-81836130-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-1929296787-805354966-81836130-500/2d1077d0-83ac-48e9-a0b6-4878ea2a371d’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1929296787-805354966-81836130-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1929296787-805354966-81836130-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 directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133465361883920000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133465361890700000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133465361927320000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133465361931500000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133465362510410000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133465362514340000.xel’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133465363022320000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133465363024680000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133465363084970000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133465363088400000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133465363198960000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133465363202330000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ 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 directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:72 Friday 08 December 2023 19:12:41 +0000 (0:00:00.149) 0:03:39.670 ******* ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.383340", "end": "2023-12-08 19:12:41.951814", "rc": 0, "start": "2023-12-08 19:12:41.568474" } PLAY RECAP ********************************************************************* sut : ok=344 changed=39 unreachable=0 failed=0 skipped=499 rescued=0 ignored=1 Friday 08 December 2023 19:12:42 +0000 (0:00:00.545) 0:03:40.216 ******* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 39.37s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 26.56s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Wait for mssql-server to prepare for client connections ---------------- 18.16s /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.16s /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Ensure the package powershell -------- 11.01s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.30s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 5.27s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.15s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.78s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Remove related packages ------------------------------------------------- 2.28s /WORKDIR/git-storage-selinux1c4ln9vw/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.21s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.79s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.29s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.19s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist --- 1.18s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 1.17s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir --- 1.17s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough --- 1.16s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.16s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 fedora.linux_system_roles.mssql : Get the setting control writethrough --- 1.15s /WORKDIR/git-storage-selinux1c4ln9vw/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---