# 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-selinuxtnh2v7ac/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2019.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tests_idempotency_2019.yml:14 Wednesday 06 December 2023 14:16:48 +0000 (0:00:00.035) 0:00:00.035 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:2 Wednesday 06 December 2023 14:16:48 +0000 (0:00:00.010) 0:00:00.045 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 14:16:48 +0000 (0:00:00.009) 0:00:00.055 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.422) 0:00:00.477 **** 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-selinuxtnh2v7ac/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.017) 0:00:00.495 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:5 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.016) 0:00:00.512 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.081) 0:00:00.593 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.009) 0:00:00.603 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.017) 0:00:00.621 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.023) 0:00:00.644 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.008) 0:00:00.653 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.011) 0:00:00.664 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.009) 0:00:00.674 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.010) 0:00:00.684 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.009) 0:00:00.693 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.009) 0:00:00.703 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.011) 0:00:00.715 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.019) 0:00:00.734 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.015) 0:00:00.749 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.014) 0:00:00.764 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.013) 0:00:00.778 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.014) 0:00:00.792 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:16:49 +0000 (0:00:00.015) 0:00:00.808 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:16:50 +0000 (0:00:01.072) 0:00:01.880 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:16:50 +0000 (0:00:00.028) 0:00:01.909 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:16:50 +0000 (0:00:00.015) 0:00:01.925 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:16:50 +0000 (0:00:00.024) 0:00:01.950 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:16:50 +0000 (0:00:00.032) 0:00:01.983 **** changed: [sut] => { "attempts": 1, "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.650) 0:00:02.634 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.016) 0:00:02.650 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.016) 0:00:02.667 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.016) 0:00:02.684 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.218) 0:00:02.903 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.022) 0:00:02.925 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.020) 0:00:02.945 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.020) 0:00:02.966 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.053) 0:00:03.019 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:16:51 +0000 (0:00:00.022) 0:00:03.042 **** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4335.1-6 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4335.1-6.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---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 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 15.0.4335.1-6 packages-microsoft-com-mssql-server-2019\n 228 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 49 MB/s | 241 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 5/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Installing : gdb-7.6.1-120.el7.x86_64 8/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/12 \n Installing : lsof-4.87-6.el7.x86_64 10/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 11/12 \n Installing : mssql-server-15.0.4335.1-6.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/12 \n Verifying : lsof-4.87-6.el7.x86_64 3/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 6/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 7/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 8/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 9/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 10/12 \n Verifying : mssql-server-15.0.4335.1-6.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4335.1-6 \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 lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:17:40 +0000 (0:00:49.128) 0:00:52.170 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:17:40 +0000 (0:00:00.014) 0:00:52.184 **** 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.008995", "end": "2023-12-06 14:17:41.037397", "rc": 0, "start": "2023-12-06 14:17:41.028402" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:17:41 +0000 (0:00:00.309) 0:00:52.493 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:17:42 +0000 (0:00:00.954) 0:00:53.447 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:17:42 +0000 (0:00:00.032) 0:00:53.479 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:17:42 +0000 (0:00:00.023) 0:00:53.503 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:17:49 +0000 (0:00:06.958) 0:01:00.461 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/data', 'mode': '0700', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/log', 'mode': '0700', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/data] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:17:49 +0000 (0:00:00.040) 0:01:00.502 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:17:49 +0000 (0:00:00.219) 0:01:00.721 **** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:17:49 +0000 (0:00:00.246) 0:01:00.967 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:17:49 +0000 (0:00:00.031) 0:01:00.999 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:17:49 +0000 (0:00:00.029) 0:01:01.029 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004023", "end": "2023-12-06 14:17:49.721932", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:17:49.717909" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:17:49 +0000 (0:00:00.157) 0:01:01.186 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/data" ], "delta": "0:00:00.130853", "end": "2023-12-06 14:17:50.007758", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:17:49.876905" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.284) 0:01:01.470 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/log] **** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.018) 0:01:01.489 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.155) 0:01:01.645 **** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.234) 0:01:01.879 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.030) 0:01:01.910 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.028) 0:01:01.938 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004620", "end": "2023-12-06 14:17:50.669188", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:17:50.664568" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:17:50 +0000 (0:00:00.192) 0:01:02.131 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/log" ], "delta": "0:00:00.209522", "end": "2023-12-06 14:17:51.074189", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:17:50.864667" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:17:51 +0000 (0:00:00.410) 0:01:02.541 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:17:51 +0000 (0:00:00.017) 0:01:02.558 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:17:51 +0000 (0:00:00.022) 0:01:02.581 **** changed: [sut] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\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 updates 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:17:57 +0000 (0:00:06.472) 0:01:09.054 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:01 UTC", "ActiveEnterTimestampMonotonic": "23337588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket dbus.service system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:57:59 UTC", "AssertTimestampMonotonic": "21946445", "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": "Wed 2023-12-06 13:57:59 UTC", "ConditionTimestampMonotonic": "21946443", "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": "878", "ExecMainStartTimestamp": "Wed 2023-12-06 13:57:59 UTC", "ExecMainStartTimestampMonotonic": "21947091", "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": "Wed 2023-12-06 13:57:59 UTC", "InactiveExitTimestampMonotonic": "21947138", "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": "878", "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": "polkit.service system.slice dbus.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": "Wed 2023-12-06 13:58:01 UTC", "WatchdogTimestampMonotonic": "23337538", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:17:58 +0000 (0:00:00.436) 0:01:09.491 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.397248", "end": "2023-12-06 14:17:58.569612", "rc": 0, "start": "2023-12-06 14:17:58.172364" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:17:58 +0000 (0:00:00.537) 0:01:10.028 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.928695", "end": "2023-12-06 14:17:59.637404", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:17:58.708709" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:17:59 +0000 (0:00:01.067) 0:01:11.096 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:17:59 +0000 (0:00:00.224) 0:01:11.320 **** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.676019", "end": "2023-12-06 14:18:01.676934", "rc": 0, "start": "2023-12-06 14:18:00.000915" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:18:01 +0000 (0:00:01.816) 0:01:13.137 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:18:01 +0000 (0:00:00.138) 0:01:13.276 **** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\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 base 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 4.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:18:07 +0000 (0:00:05.388) 0:01:18.664 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.020) 0:01:18.684 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.018) 0:01:18.703 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.022) 0:01:18.726 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.034) 0:01:18.761 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.024) 0:01:18.786 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.020) 0:01:18.806 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.066) 0:01:18.873 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.018) 0:01:18.891 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.021) 0:01:18.912 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.019) 0:01:18.932 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.020) 0:01:18.952 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.024) 0:01:18.977 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.036) 0:01:19.013 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003203", "end": "2023-12-06 14:18:07.697654", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:18:07.694451" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.143) 0:01:19.156 **** 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.127894", "end": "2023-12-06 14:18:07.972142", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:07.844248" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:07 +0000 (0:00:00.278) 0:01:19.435 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.019) 0:01:19.455 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.032) 0:01:19.487 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.025) 0:01:19.513 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.030) 0:01:19.544 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003414", "end": "2023-12-06 14:18:08.230999", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:18:08.227585" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.145) 0:01:19.689 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.128158", "end": "2023-12-06 14:18:08.501552", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:08.373394" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.275) 0:01:19.964 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.019) 0:01:19.983 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.028) 0:01:20.012 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.037) 0:01:20.049 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003298", "end": "2023-12-06 14:18:08.732904", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:08.729606" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:08 +0000 (0:00:00.169) 0:01:20.218 **** 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.126432", "end": "2023-12-06 14:18:09.029362", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:08.902930" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:09 +0000 (0:00:00.273) 0:01:20.492 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:18:09 +0000 (0:00:00.019) 0:01:20.511 **** 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: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4335.1-6 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 15.0.4335.1-6 packages-microsoft-com-mssql-server-2019 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-15.0.4335.1-6.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-15.0.4335.1-6.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:15.0.4335.1-6 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:18:36 +0000 (0:00:27.402) 0:01:47.914 **** changed: [sut] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\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 base 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 48 MB/s | 72 MB 00:01 \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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:18:48 +0000 (0:00:11.786) 0:01:59.700 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003280", "end": "2023-12-06 14:18:48.380297", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:18:48.377017" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:18:48 +0000 (0:00:00.136) 0:01:59.837 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.126334", "end": "2023-12-06 14:18:48.648095", "rc": 0, "start": "2023-12-06 14:18:48.521761" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:18:48 +0000 (0:00:00.270) 0:02:00.107 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:18:48 +0000 (0:00:00.026) 0:02:00.133 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:48 +0000 (0:00:00.032) 0:02:00.166 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003270", "end": "2023-12-06 14:18:48.852945", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:18:48.849675" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:48 +0000 (0:00:00.144) 0:02:00.310 **** 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.126453", "end": "2023-12-06 14:18:49.124453", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:48.998000" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.275) 0:02:00.586 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.019) 0:02:00.606 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.032) 0:02:00.638 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003310", "end": "2023-12-06 14:18:49.325337", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:18:49.322027" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.144) 0:02:00.783 **** 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.127996", "end": "2023-12-06 14:18:49.598720", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:49.470724" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.276) 0:02:01.060 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.020) 0:02:01.081 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.018) 0:02:01.099 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.019) 0:02:01.119 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.021) 0:02:01.141 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.041) 0:02:01.183 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.019) 0:02:01.202 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.019) 0:02:01.221 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.018) 0:02:01.240 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.023) 0:02:01.264 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.022) 0:02:01.286 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.023) 0:02:01.310 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.033) 0:02:01.343 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.018) 0:02:01.362 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.016) 0:02:01.378 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.015) 0:02:01.394 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.016) 0:02:01.410 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:18:49 +0000 (0:00:00.015) 0:02:01.426 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.442 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.457 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.473 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.488 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.503 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.014) 0:02:01.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.014) 0:02:01.549 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.565 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.037) 0:02:01.602 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.017) 0:02:01.620 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.635 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.652 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.667 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.684 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.700 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.717 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.019) 0:02:01.737 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.017) 0:02:01.754 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.770 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.020) 0:02:01.790 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.805 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.822 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.837 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.854 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.869 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.885 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.901 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.917 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:01.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.038) 0:02:01.971 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:01.988 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.020) 0:02:02.008 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:02.024 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:02.040 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:02.055 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:02.071 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.019) 0:02:02.090 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:02.106 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.015) 0:02:02.122 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.016) 0:02:02.139 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.252) 0:02:02.391 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:18:50 +0000 (0:00:00.017) 0:02:02.409 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:17:48 UTC", "ActiveEnterTimestampMonotonic": "1210992562", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target -.mount auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:17:48 UTC", "AssertTimestampMonotonic": "1210991608", "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": "Wed 2023-12-06 14:17:48 UTC", "ConditionTimestampMonotonic": "1210991607", "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": "11919", "ExecMainStartTimestamp": "Wed 2023-12-06 14:17:48 UTC", "ExecMainStartTimestampMonotonic": "1210992491", "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": "Wed 2023-12-06 14:17:48 UTC", "InactiveExitTimestampMonotonic": "1210992562", "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": "11919", "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": "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": "Wed 2023-12-06 14:17:48 UTC", "WatchdogTimestampMonotonic": "1210992533", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:18:51 +0000 (0:00:00.631) 0:02:03.041 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:18:51 +0000 (0:00:00.016) 0:02:03.057 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:22 Wednesday 06 December 2023 14:18:51 +0000 (0:00:00.024) 0:02:03.081 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 06 December 2023 14:18:51 +0000 (0:00:00.060) 0:02:03.141 **** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 06 December 2023 14:18:51 +0000 (0:00:00.217) 0:02:03.359 **** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.158) 0:02:03.518 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:25 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.284) 0:02:03.802 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.156) 0:02:03.958 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.026) 0:02:03.984 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.021) 0:02:04.006 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.030) 0:02:04.037 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.017) 0:02:04.055 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.017) 0:02:04.072 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.016) 0:02:04.089 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.017) 0:02:04.106 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.016) 0:02:04.123 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.017) 0:02:04.140 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.016) 0:02:04.156 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.020) 0:02:04.177 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.015) 0:02:04.192 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.016) 0:02:04.208 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.045) 0:02:04.254 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.018) 0:02:04.273 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:18:52 +0000 (0:00:00.017) 0:02:04.290 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:18:54 +0000 (0:00:01.171) 0:02:05.462 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.050) 0:02:05.512 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.016) 0:02:05.529 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.021) 0:02:05.551 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.032) 0:02:05.584 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.383) 0:02:05.967 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.018) 0:02:05.986 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.018) 0:02:06.004 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.018) 0:02:06.023 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.019) 0:02:06.042 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.016) 0:02:06.059 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.016) 0:02:06.075 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.016) 0:02:06.091 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.016) 0:02:06.107 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:18:54 +0000 (0:00:00.043) 0:02:06.151 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:18:55 +0000 (0:00:00.482) 0:02:06.634 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:18:55 +0000 (0:00:00.017) 0:02:06.652 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006653", "end": "2023-12-06 14:18:55.379660", "rc": 0, "start": "2023-12-06 14:18:55.373007" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:18:55 +0000 (0:00:00.187) 0:02:06.839 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.807) 0:02:07.646 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.025) 0:02:07.672 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.016) 0:02:07.688 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.015) 0:02:07.704 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/data] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.036) 0:02:07.741 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872269.509793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872269.510793, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659639, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701872269.509793, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "1994611512", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.152) 0:02:07.893 **** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.143) 0:02:08.037 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.024) 0:02:08.062 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.028) 0:02:08.090 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003670", "end": "2023-12-06 14:18:56.769510", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:56.765840" } STDOUT: defaultdatadir = /tmp/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.139) 0:02:08.229 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.022) 0:02:08.252 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/log] **** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:18:56 +0000 (0:00:00.018) 0:02:08.270 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872270.3947678, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872270.3957677, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659671, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701872270.3947678, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "1994611525", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.176) 0:02:08.447 **** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.178) 0:02:08.626 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.025) 0:02:08.651 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.028) 0:02:08.680 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003756", "end": "2023-12-06 14:18:57.362737", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:57.358981" } STDOUT: defaultlogdir = /tmp/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.142) 0:02:08.822 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.023) 0:02:08.845 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.017) 0:02:08.863 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.016) 0:02:08.880 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.336) 0:02:09.216 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:01 UTC", "ActiveEnterTimestampMonotonic": "23337588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice basic.target systemd-sysctl.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:57:59 UTC", "AssertTimestampMonotonic": "21946445", "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": "Wed 2023-12-06 13:57:59 UTC", "ConditionTimestampMonotonic": "21946443", "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": "878", "ExecMainStartTimestamp": "Wed 2023-12-06 13:57:59 UTC", "ExecMainStartTimestampMonotonic": "21947091", "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": "Wed 2023-12-06 13:57:59 UTC", "InactiveExitTimestampMonotonic": "21947138", "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": "878", "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 system.slice dbus.service 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": "Wed 2023-12-06 13:58:01 UTC", "WatchdogTimestampMonotonic": "23337538", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:18:57 +0000 (0:00:00.215) 0:02:09.431 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095016", "end": "2023-12-06 14:18:58.197786", "rc": 0, "start": "2023-12-06 14:18:58.102770" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.226) 0:02:09.657 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.016) 0:02:09.674 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.016) 0:02:09.690 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.016) 0:02:09.706 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.137) 0:02:09.844 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.309) 0:02:10.153 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.031) 0:02:10.184 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ActiveEnterTimestampMonotonic": "1273641299", "ActiveExitTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ActiveExitTimestampMonotonic": "1273227385", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:18:51 UTC", "AssertTimestampMonotonic": "1273640405", "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": "Wed 2023-12-06 14:18:51 UTC", "ConditionTimestampMonotonic": "1273640403", "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": "12551", "ExecMainStartTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ExecMainStartTimestampMonotonic": "1273641224", "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": "Wed 2023-12-06 14:18:51 UTC", "InactiveEnterTimestampMonotonic": "1273638815", "InactiveExitTimestamp": "Wed 2023-12-06 14:18:51 UTC", "InactiveExitTimestampMonotonic": "1273641299", "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": "12551", "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 -.mount 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": "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": "Wed 2023-12-06 14:18:51 UTC", "WatchdogTimestampMonotonic": "1273641272", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:18:58 +0000 (0:00:00.221) 0:02:10.406 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003415", "end": "2023-12-06 14:18:59.084166", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:18:59.080751" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:18:59 +0000 (0:00:00.162) 0:02:10.569 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003306", "end": "2023-12-06 14:18:59.246633", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:18:59.243327" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:18:59 +0000 (0:00:00.135) 0:02:10.705 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:18:59 +0000 (0:00:00.026) 0:02:10.731 **** 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": 7692, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:19:00 +0000 (0:00:01.198) 0:02:11.930 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:19:00 +0000 (0:00:00.161) 0:02:12.091 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ActiveEnterTimestampMonotonic": "1273641299", "ActiveExitTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ActiveExitTimestampMonotonic": "1273227385", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:18:51 UTC", "AssertTimestampMonotonic": "1273640405", "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": "Wed 2023-12-06 14:18:51 UTC", "ConditionTimestampMonotonic": "1273640403", "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": "12551", "ExecMainStartTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ExecMainStartTimestampMonotonic": "1273641224", "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": "Wed 2023-12-06 14:18:51 UTC", "InactiveEnterTimestampMonotonic": "1273638815", "InactiveExitTimestamp": "Wed 2023-12-06 14:18:51 UTC", "InactiveExitTimestampMonotonic": "1273641299", "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": "12551", "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 -.mount 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": "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": "Wed 2023-12-06 14:18:51 UTC", "WatchdogTimestampMonotonic": "1273641272", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:19:07 +0000 (0:00:07.201) 0:02:19.293 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:19:08 +0000 (0:00:00.949) 0:02:20.242 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:19:14 +0000 (0:00:05.959) 0:02:26.201 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:19:14 +0000 (0:00:00.017) 0:02:26.219 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:19:14 +0000 (0:00:00.016) 0:02:26.235 **** 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.005361", "end": "2023-12-06 14:19:14.914888", "rc": 0, "start": "2023-12-06 14:19:14.909527" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:19:14 +0000 (0:00:00.138) 0:02:26.373 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:19:14 +0000 (0:00:00.019) 0:02:26.393 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:19:15 +0000 (0:00:00.956) 0:02:27.349 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:19:15 +0000 (0:00:00.019) 0:02:27.369 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:15 +0000 (0:00:00.058) 0:02:27.427 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003458", "end": "2023-12-06 14:19:16.105759", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:16.102301" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:16 +0000 (0:00:00.137) 0:02:27.565 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:16 +0000 (0:00:00.022) 0:02:27.587 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:19:16 +0000 (0:00:00.017) 0:02:27.605 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:19:16 +0000 (0:00:00.017) 0:02:27.622 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:19:16 +0000 (0:00:00.018) 0:02:27.641 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:16 +0000 (0:00:00.029) 0:02:27.670 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004508", "end": "2023-12-06 14:19:17.349633", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:19:16.345125" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:17 +0000 (0:00:01.138) 0:02:28.808 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.125906", "end": "2023-12-06 14:19:17.612755", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:17.486849" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.266) 0:02:29.074 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.017) 0:02:29.092 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.016) 0:02:29.108 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.032) 0:02:29.141 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003280", "end": "2023-12-06 14:19:17.818123", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:17.814843" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.136) 0:02:29.277 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.021) 0:02:29.298 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:19:17 +0000 (0:00:00.016) 0:02:29.315 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-15.0.4335.1-6.x86_64 providing mssql-server-fts is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.307) 0:02:29.623 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.309) 0:02:29.932 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003528", "end": "2023-12-06 14:19:18.610281", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:18.606753" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.164) 0:02:30.097 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.019) 0:02:30.116 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.018) 0:02:30.135 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.029) 0:02:30.164 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003262", "end": "2023-12-06 14:19:18.842171", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:18.838909" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.136) 0:02:30.300 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.022) 0:02:30.323 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.017) 0:02:30.341 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:18 +0000 (0:00:00.030) 0:02:30.372 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003387", "end": "2023-12-06 14:19:19.050082", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:19.046695" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.136) 0:02:30.508 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.024) 0:02:30.533 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.019) 0:02:30.552 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.019) 0:02:30.571 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.588 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.019) 0:02:30.608 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.625 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.642 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.660 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.677 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.047) 0:02:30.725 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.742 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.760 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.020) 0:02:30.780 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.019) 0:02:30.800 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.817 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.834 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.851 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.868 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.885 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.902 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:30.920 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.937 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.953 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.970 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:30.986 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.003 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.019 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.035 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.052 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.044) 0:02:31.097 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:31.114 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.131 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.164 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:31.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.019) 0:02:31.201 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.218 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:31.235 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.021) 0:02:31.257 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.273 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.290 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.307 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.323 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.340 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.356 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.017) 0:02:31.373 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.389 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.016) 0:02:31.405 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:19:19 +0000 (0:00:00.015) 0:02:31.421 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.045) 0:02:31.467 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.022) 0:02:31.489 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.016) 0:02:31.506 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.016) 0:02:31.523 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.016) 0:02:31.539 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.017) 0:02:31.556 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.020) 0:02:31.577 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.016) 0:02:31.593 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.016) 0:02:31.610 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.016) 0:02:31.626 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.165) 0:02:31.792 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.018) 0:02:31.810 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ActiveEnterTimestampMonotonic": "1273641299", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:00 UTC", "ActiveExitTimestampMonotonic": "1282908991", "ActiveState": "inactive", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:18:51 UTC", "AssertTimestampMonotonic": "1273640405", "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": "Wed 2023-12-06 14:18:51 UTC", "ConditionTimestampMonotonic": "1273640403", "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": "Wed 2023-12-06 14:19:07 UTC", "ExecMainExitTimestampMonotonic": "1289892464", "ExecMainPID": "12551", "ExecMainStartTimestamp": "Wed 2023-12-06 14:18:51 UTC", "ExecMainStartTimestampMonotonic": "1273641224", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:18:51 UTC] ; stop_time=[Wed 2023-12-06 14:19:07 UTC] ; pid=12551 ; 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": "Wed 2023-12-06 14:19:07 UTC", "InactiveEnterTimestampMonotonic": "1289892568", "InactiveExitTimestamp": "Wed 2023-12-06 14:18:51 UTC", "InactiveExitTimestampMonotonic": "1273641299", "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 -.mount 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": "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.215) 0:02:32.025 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.017) 0:02:32.043 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:40 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.025) 0:02:32.068 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.127) 0:02:32.195 **** 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.006348", "end": "2023-12-06 14:19:20.880303", "rc": 0, "start": "2023-12-06 14:19:20.873955" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:19:20 +0000 (0:00:00.143) 0:02:32.339 **** 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.005956", "end": "2023-12-06 14:19:21.022625", "rc": 0, "start": "2023-12-06 14:19:21.016669" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.141) 0:02:32.481 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.021) 0:02:32.502 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '0.0.0.0'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1433}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/tmp/data'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/tmp/log'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.043) 0:02:32.546 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004769", "end": "2023-12-06 14:19:21.226688", "rc": 0, "start": "2023-12-06 14:19:21.221919" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.140) 0:02:32.687 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.023) 0:02:32.710 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.018) 0:02:32.728 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.016) 0:02:32.745 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005100", "end": "2023-12-06 14:19:21.429374", "rc": 0, "start": "2023-12-06 14:19:21.424274" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.144) 0:02:32.890 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.018) 0:02:32.909 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.017) 0:02:32.927 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.022) 0:02:32.949 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004785", "end": "2023-12-06 14:19:21.628685", "rc": 0, "start": "2023-12-06 14:19:21.623900" } STDOUT: defaultdatadir = /tmp/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.139) 0:02:33.089 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.023) 0:02:33.112 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/data] ***************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.017) 0:02:33.130 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.016) 0:02:33.147 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005051", "end": "2023-12-06 14:19:21.827665", "rc": 0, "start": "2023-12-06 14:19:21.822614" } STDOUT: defaultlogdir = /tmp/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.141) 0:02:33.288 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.057) 0:02:33.346 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/log] ****************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.020) 0:02:33.366 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:21 +0000 (0:00:00.019) 0:02:33.385 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004812", "end": "2023-12-06 14:19:22.090438", "rc": 0, "start": "2023-12-06 14:19:22.085626" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.164) 0:02:33.549 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.018) 0:02:33.568 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.023) 0:02:33.591 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.017) 0:02:33.608 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872269.509793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872269.510793, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659639, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701872269.509793, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "1994611512", "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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.160) 0:02:33.769 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.021) 0:02:33.790 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872270.3947678, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872270.3957677, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659671, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701872270.3947678, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "1994611525", "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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.194) 0:02:33.985 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.021) 0:02:34.006 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.033) 0:02:34.040 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ActiveEnterTimestampMonotonic": "1302625807", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:00 UTC", "ActiveExitTimestampMonotonic": "1282908991", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:19:20 UTC", "AssertTimestampMonotonic": "1302625138", "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": "Wed 2023-12-06 14:19:20 UTC", "ConditionTimestampMonotonic": "1302625136", "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": "13487", "ExecMainStartTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ExecMainStartTimestampMonotonic": "1302625731", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:19:20 UTC] ; stop_time=[n/a] ; pid=13487 ; 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": "Wed 2023-12-06 14:19:07 UTC", "InactiveEnterTimestampMonotonic": "1289892568", "InactiveExitTimestamp": "Wed 2023-12-06 14:19:20 UTC", "InactiveExitTimestampMonotonic": "1302625807", "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": "13487", "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 -.mount 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": "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": "Wed 2023-12-06 14:19:20 UTC", "WatchdogTimestampMonotonic": "1302625781", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.213) 0:02:34.253 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003495", "end": "2023-12-06 14:19:22.936097", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:22.932602" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:19:22 +0000 (0:00:00.141) 0:02:34.395 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003590", "end": "2023-12-06 14:19:23.077145", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:23.073555" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:19:23 +0000 (0:00:00.140) 0:02:34.535 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:19:23 +0000 (0:00:00.035) 0:02:34.571 **** 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": 11161, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:19:41 +0000 (0:00:18.138) 0:02:52.710 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028202", "end": "2023-12-06 14:19:41.426637", "rc": 0, "start": "2023-12-06 14:19:41.398435" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:19:41 +0000 (0:00:00.174) 0:02:52.885 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:19:41 +0000 (0:00:00.049) 0:02:52.934 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 14:19:41 +0000 (0:00:00.028) 0:02:52.963 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 14:19:42 +0000 (0:00:00.955) 0:02:53.918 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 14:19:42 +0000 (0:00:00.025) 0:02:53.943 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:19:42 +0000 (0:00:00.016) 0:02:53.960 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 14:19:42 +0000 (0:00:00.028) 0:02:53.989 **** 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-selinuxtnh2v7ac/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.946) 0:02:54.936 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.025) 0:02:54.961 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.015) 0:02:54.977 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004535", "end": "2023-12-06 14:19:43.655796", "rc": 0, "start": "2023-12-06 14:19:43.651261" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.136) 0:02:55.114 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.021) 0:02:55.135 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.017) 0:02:55.153 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.062) 0:02:55.215 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004426", "end": "2023-12-06 14:19:43.893850", "rc": 0, "start": "2023-12-06 14:19:43.889424" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.136) 0:02:55.352 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.018) 0:02:55.371 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.023) 0:02:55.394 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:19:43 +0000 (0:00:00.018) 0:02:55.412 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.030) 0:02:55.442 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004589", "end": "2023-12-06 14:19:44.121795", "rc": 0, "start": "2023-12-06 14:19:44.117206" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.137) 0:02:55.580 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.019) 0:02:55.600 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.023) 0:02:55.623 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.018) 0:02:55.642 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.016) 0:02:55.658 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:55.676 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.016) 0:02:55.692 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:55.709 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:55.727 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:55.745 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:56 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:55.762 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.263) 0:02:56.026 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.027) 0:02:56.054 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.022) 0:02:56.077 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.031) 0:02:56.109 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.019) 0:02:56.128 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.145 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.163 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.180 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.198 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.215 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.232 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.020) 0:02:56.253 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.017) 0:02:56.270 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.016) 0:02:56.287 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.050) 0:02:56.338 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.018) 0:02:56.357 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:19:44 +0000 (0:00:00.018) 0:02:56.376 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:19:45 +0000 (0:00:00.949) 0:02:57.325 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:19:45 +0000 (0:00:00.051) 0:02:57.377 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:19:45 +0000 (0:00:00.017) 0:02:57.395 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:19:45 +0000 (0:00:00.022) 0:02:57.417 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.033) 0:02:57.451 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.333) 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 : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.019) 0:02:57.804 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.018) 0:02:57.823 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.019) 0:02:57.842 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.020) 0:02:57.863 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.017) 0:02:57.881 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.016) 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 : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.017) 0:02:57.915 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.017) 0:02:57.933 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.052) 0:02:57.985 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.311) 0:02:58.297 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:19:46 +0000 (0:00:00.017) 0:02:58.314 **** 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.005370", "end": "2023-12-06 14:19:46.993448", "rc": 0, "start": "2023-12-06 14:19:46.988078" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.137) 0:02:58.452 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.735) 0:02:59.187 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.025) 0:02:59.213 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.017) 0:02:59.230 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.016) 0:02:59.246 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.038) 0:02:59.285 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872268.809813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872268.775814, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659513, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701872268.775814, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1994611281", "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:19:47 +0000 (0:00:00.139) 0:02:59.425 **** 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": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.142) 0:02:59.567 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.025) 0:02:59.592 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.029) 0:02:59.621 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003295", "end": "2023-12-06 14:19:48.299398", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:48.296103" } STDOUT: defaultdatadir = /tmp/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.137) 0:02:59.759 **** 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.125674", "end": "2023-12-06 14:19:48.565089", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:48.439415" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.268) 0:03:00.027 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.018) 0:03:00.045 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872363.7855535, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872363.7825534, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659514, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701872363.7825534, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1994611282", "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.174) 0:03:00.220 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.142) 0:03:00.363 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.025) 0:03:00.389 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:19:48 +0000 (0:00:00.028) 0:03:00.418 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003287", "end": "2023-12-06 14:19:49.096736", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:49.093449" } STDOUT: defaultlogdir = /tmp/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:19:49 +0000 (0:00:00.138) 0:03:00.556 **** 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.128452", "end": "2023-12-06 14:19:49.365161", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:49.236709" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:19:49 +0000 (0:00:00.272) 0:03:00.828 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:19:49 +0000 (0:00:00.018) 0:03:00.847 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:19:49 +0000 (0:00:00.016) 0:03:00.863 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:19:49 +0000 (0:00:00.309) 0:03:01.172 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:01 UTC", "ActiveEnterTimestampMonotonic": "23337588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice basic.target systemd-sysctl.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:57:59 UTC", "AssertTimestampMonotonic": "21946445", "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": "Wed 2023-12-06 13:57:59 UTC", "ConditionTimestampMonotonic": "21946443", "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": "878", "ExecMainStartTimestamp": "Wed 2023-12-06 13:57:59 UTC", "ExecMainStartTimestampMonotonic": "21947091", "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": "Wed 2023-12-06 13:57:59 UTC", "InactiveExitTimestampMonotonic": "21947138", "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": "878", "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 system.slice dbus.service 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": "Wed 2023-12-06 13:58:01 UTC", "WatchdogTimestampMonotonic": "23337538", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:19:49 +0000 (0:00:00.213) 0:03:01.386 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090811", "end": "2023-12-06 14:19:50.148109", "rc": 0, "start": "2023-12-06 14:19:50.057298" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.221) 0:03:01.608 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.017) 0:03:01.625 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.018) 0:03:01.644 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.018) 0:03:01.662 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.136) 0:03:01.799 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.309) 0:03:02.108 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.031) 0:03:02.139 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ActiveEnterTimestampMonotonic": "1302625807", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:00 UTC", "ActiveExitTimestampMonotonic": "1282908991", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:19:20 UTC", "AssertTimestampMonotonic": "1302625138", "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": "Wed 2023-12-06 14:19:20 UTC", "ConditionTimestampMonotonic": "1302625136", "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": "13487", "ExecMainStartTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ExecMainStartTimestampMonotonic": "1302625731", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:19:20 UTC] ; stop_time=[n/a] ; pid=13487 ; 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": "Wed 2023-12-06 14:19:07 UTC", "InactiveEnterTimestampMonotonic": "1289892568", "InactiveExitTimestamp": "Wed 2023-12-06 14:19:20 UTC", "InactiveExitTimestampMonotonic": "1302625807", "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": "13487", "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 -.mount 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": "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": "Wed 2023-12-06 14:19:20 UTC", "WatchdogTimestampMonotonic": "1302625781", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:19:50 +0000 (0:00:00.209) 0:03:02.348 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003402", "end": "2023-12-06 14:19:51.026129", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:51.022727" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:19:51 +0000 (0:00:00.171) 0:03:02.519 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003408", "end": "2023-12-06 14:19:51.199313", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:19:51.195905" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:19:51 +0000 (0:00:00.138) 0:03:02.658 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:19:51 +0000 (0:00:00.026) 0:03:02.685 **** 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": 11647, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:19:52 +0000 (0:00:01.138) 0:03:03.823 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:19:52 +0000 (0:00:00.157) 0:03:03.980 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ActiveEnterTimestampMonotonic": "1302625807", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:00 UTC", "ActiveExitTimestampMonotonic": "1282908991", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:19:20 UTC", "AssertTimestampMonotonic": "1302625138", "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": "Wed 2023-12-06 14:19:20 UTC", "ConditionTimestampMonotonic": "1302625136", "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": "13487", "ExecMainStartTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ExecMainStartTimestampMonotonic": "1302625731", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:19:20 UTC] ; stop_time=[n/a] ; pid=13487 ; 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": "Wed 2023-12-06 14:19:07 UTC", "InactiveEnterTimestampMonotonic": "1289892568", "InactiveExitTimestamp": "Wed 2023-12-06 14:19:20 UTC", "InactiveExitTimestampMonotonic": "1302625807", "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": "13487", "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 -.mount 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": "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": "Wed 2023-12-06 14:19:20 UTC", "WatchdogTimestampMonotonic": "1302625781", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:19:53 +0000 (0:00:01.383) 0:03:05.364 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:19:54 +0000 (0:00:00.953) 0:03:06.317 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:20:00 +0000 (0:00:05.851) 0:03:12.169 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:20:00 +0000 (0:00:00.017) 0:03:12.186 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:20:00 +0000 (0:00:00.017) 0:03:12.204 **** 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.005197", "end": "2023-12-06 14:20:00.884026", "rc": 0, "start": "2023-12-06 14:20:00.878829" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:20:00 +0000 (0:00:00.138) 0:03:12.342 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ActiveEnterTimestampMonotonic": "1302625807", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:52 UTC", "ActiveExitTimestampMonotonic": "1334799809", "ActiveState": "inactive", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:19:20 UTC", "AssertTimestampMonotonic": "1302625138", "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": "Wed 2023-12-06 14:19:20 UTC", "ConditionTimestampMonotonic": "1302625136", "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": "Wed 2023-12-06 14:19:53 UTC", "ExecMainExitTimestampMonotonic": "1335963926", "ExecMainPID": "13487", "ExecMainStartTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ExecMainStartTimestampMonotonic": "1302625731", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:19:20 UTC] ; stop_time=[Wed 2023-12-06 14:19:53 UTC] ; pid=13487 ; 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": "Wed 2023-12-06 14:19:53 UTC", "InactiveEnterTimestampMonotonic": "1335964027", "InactiveExitTimestamp": "Wed 2023-12-06 14:19:20 UTC", "InactiveExitTimestampMonotonic": "1302625807", "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 -.mount 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": "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:20:01 +0000 (0:00:00.211) 0:03:12.553 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:20:02 +0000 (0:00:00.965) 0:03:13.518 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:20:07 +0000 (0:00:05.720) 0:03:19.239 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:07 +0000 (0:00:00.070) 0:03:19.309 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003489", "end": "2023-12-06 14:20:07.987781", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:07.984292" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.137) 0:03:19.447 **** 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.126487", "end": "2023-12-06 14:20:08.253178", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:08.126691" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.267) 0:03:19.715 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.017) 0:03:19.733 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.018) 0:03:19.751 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.018) 0:03:19.769 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.030) 0:03:19.799 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003349", "end": "2023-12-06 14:20:08.477895", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:08.474546" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.138) 0:03:19.938 **** 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.126281", "end": "2023-12-06 14:20:08.744610", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:08.618329" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.268) 0:03:20.206 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.018) 0:03:20.225 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.020) 0:03:20.245 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.034) 0:03:20.280 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003362", "end": "2023-12-06 14:20:08.958303", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:08.954941" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:08 +0000 (0:00:00.136) 0:03:20.417 **** 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.127672", "end": "2023-12-06 14:20:09.222788", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:09.095116" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:09 +0000 (0:00:00.268) 0:03:20.685 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:20:09 +0000 (0:00:00.017) 0:03:20.702 **** 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: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4335.1-6 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 15.0.4335.1-6 @packages-microsoft-com-mssql-server-2019 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-15.0.4335.1-6.x86_64 1/1 \n Verifying : mssql-server-fts-15.0.4335.1-6.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:15.0.4335.1-6 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:20:10 +0000 (0:00:01.313) 0:03:22.016 **** changed: [sut] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:20:11 +0000 (0:00:01.284) 0:03:23.300 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003843", "end": "2023-12-06 14:20:11.979918", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:11.976075" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.138) 0:03:23.438 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.019) 0:03:23.457 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.128015", "end": "2023-12-06 14:20:12.262880", "rc": 0, "start": "2023-12-06 14:20:12.134865" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.264) 0:03:23.722 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.030) 0:03:23.753 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003409", "end": "2023-12-06 14:20:12.431181", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:12.427772" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.138) 0:03:23.891 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.023) 0:03:23.914 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.018) 0:03:23.933 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.031) 0:03:23.965 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003580", "end": "2023-12-06 14:20:12.645257", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:12.641677" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.140) 0:03:24.105 **** 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.127166", "end": "2023-12-06 14:20:12.912319", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:12.785153" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.269) 0:03:24.374 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.019) 0:03:24.393 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.017) 0:03:24.411 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:20:12 +0000 (0:00:00.017) 0:03:24.428 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.020) 0:03:24.449 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:24.466 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.483 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:24.500 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.052) 0:03:24.553 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.571 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:24.588 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:24.604 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.019) 0:03:24.624 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.019) 0:03:24.643 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.660 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.679 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.696 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.714 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:24.731 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.749 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.767 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.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 : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.802 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.820 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.838 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.857 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.019) 0:03:24.877 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.895 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.057) 0:03:24.952 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:24.970 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:24.989 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.006 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.024 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.041 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.058 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.020) 0:03:25.079 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:25.096 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:25.112 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.020) 0:03:25.133 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:25.150 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.016) 0:03:25.166 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:25.185 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.202 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:25.220 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.019) 0:03:25.240 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:25.258 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:25.276 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.018) 0:03:25.294 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.057) 0:03:25.351 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.369 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.021) 0:03:25.390 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.408 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:20:13 +0000 (0:00:00.017) 0:03:25.425 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.017) 0:03:25.443 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.017) 0:03:25.460 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.020) 0:03:25.481 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.017) 0:03:25.498 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.017) 0:03:25.516 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.017) 0:03:25.534 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.169) 0:03:25.704 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.017) 0:03:25.721 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ActiveEnterTimestampMonotonic": "1302625807", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:52 UTC", "ActiveExitTimestampMonotonic": "1334799809", "ActiveState": "inactive", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:19:20 UTC", "AssertTimestampMonotonic": "1302625138", "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": "Wed 2023-12-06 14:19:20 UTC", "ConditionTimestampMonotonic": "1302625136", "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": "Wed 2023-12-06 14:19:53 UTC", "ExecMainExitTimestampMonotonic": "1335963926", "ExecMainPID": "13487", "ExecMainStartTimestamp": "Wed 2023-12-06 14:19:20 UTC", "ExecMainStartTimestampMonotonic": "1302625731", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:19:20 UTC] ; stop_time=[Wed 2023-12-06 14:19:53 UTC] ; pid=13487 ; 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": "Wed 2023-12-06 14:19:53 UTC", "InactiveEnterTimestampMonotonic": "1335964027", "InactiveExitTimestamp": "Wed 2023-12-06 14:19:20 UTC", "InactiveExitTimestampMonotonic": "1302625807", "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 -.mount 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": "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.217) 0:03:25.938 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.018) 0:03:25.957 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:73 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.027) 0:03:25.984 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.337) 0:03:26.322 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.028) 0:03:26.350 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.023) 0:03:26.373 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.030) 0:03:26.404 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:20:14 +0000 (0:00:00.018) 0:03:26.423 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.017) 0:03:26.440 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.016) 0:03:26.457 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.017) 0:03:26.474 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.016) 0:03:26.491 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.017) 0:03:26.508 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.016) 0:03:26.525 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.020) 0:03:26.545 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.015) 0:03:26.561 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.056) 0:03:26.617 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.017) 0:03:26.635 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.017) 0:03:26.653 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:20:15 +0000 (0:00:00.018) 0:03:26.672 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:20:16 +0000 (0:00:01.197) 0:03:27.869 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.053) 0:03:27.922 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.018) 0:03:27.941 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.022) 0:03:27.963 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.035) 0:03:27.998 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.399) 0:03:28.397 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.018) 0:03:28.416 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:20:16 +0000 (0:00:00.019) 0:03:28.436 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.018) 0:03:28.455 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.021) 0:03:28.476 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.017) 0:03:28.494 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.017) 0:03:28.511 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.016) 0:03:28.527 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.060) 0:03:28.588 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.019) 0:03:28.607 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.432) 0:03:29.040 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.018) 0:03:29.058 **** 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.007293", "end": "2023-12-06 14:20:17.797507", "rc": 0, "start": "2023-12-06 14:20:17.790214" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:20:17 +0000 (0:00:00.201) 0:03:29.259 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:20:18 +0000 (0:00:00.967) 0:03:30.227 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:20:18 +0000 (0:00:00.026) 0:03:30.254 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:20:18 +0000 (0:00:00.016) 0:03:30.270 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:20:18 +0000 (0:00:00.017) 0:03:30.288 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:20:18 +0000 (0:00:00.037) 0:03:30.326 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872268.809813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872268.775814, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659513, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701872268.775814, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1994611281", "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.143) 0:03:30.470 **** 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": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.148) 0:03:30.619 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.039) 0:03:30.658 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.029) 0:03:30.688 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003327", "end": "2023-12-06 14:20:19.371239", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:19.367912" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.141) 0:03:30.830 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.023) 0:03:30.854 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.070) 0:03:30.924 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872417.773044, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872417.7930436, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659514, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701872417.7930436, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1994611282", "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.141) 0:03:31.066 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.143) 0:03:31.209 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.026) 0:03:31.236 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.029) 0:03:31.266 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003425", "end": "2023-12-06 14:20:19.944089", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:19.940664" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.138) 0:03:31.404 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:19 +0000 (0:00:00.023) 0:03:31.427 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.018) 0:03:31.445 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.017) 0:03:31.463 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.313) 0:03:31.777 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:58:01 UTC", "ActiveEnterTimestampMonotonic": "23337588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice basic.target systemd-sysctl.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:57:59 UTC", "AssertTimestampMonotonic": "21946445", "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": "Wed 2023-12-06 13:57:59 UTC", "ConditionTimestampMonotonic": "21946443", "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": "878", "ExecMainStartTimestamp": "Wed 2023-12-06 13:57:59 UTC", "ExecMainStartTimestampMonotonic": "21947091", "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": "Wed 2023-12-06 13:57:59 UTC", "InactiveExitTimestampMonotonic": "21947138", "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": "878", "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 system.slice dbus.service 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": "Wed 2023-12-06 13:58:01 UTC", "WatchdogTimestampMonotonic": "23337538", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.215) 0:03:31.992 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090574", "end": "2023-12-06 14:20:20.755528", "rc": 0, "start": "2023-12-06 14:20:20.664954" } 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.222) 0:03:32.215 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.018) 0:03:32.234 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.017) 0:03:32.252 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.017) 0:03:32.269 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:20:20 +0000 (0:00:00.138) 0:03:32.407 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:20:21 +0000 (0:00:00.314) 0:03:32.721 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:20:21 +0000 (0:00:00.031) 0:03:32.753 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:20:14 UTC", "ActiveEnterTimestampMonotonic": "1356538608", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:52 UTC", "ActiveExitTimestampMonotonic": "1334799809", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:20:14 UTC", "AssertTimestampMonotonic": "1356537581", "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": "Wed 2023-12-06 14:20:14 UTC", "ConditionTimestampMonotonic": "1356537579", "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": "14918", "ExecMainStartTimestamp": "Wed 2023-12-06 14:20:14 UTC", "ExecMainStartTimestampMonotonic": "1356538537", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:20:14 UTC] ; stop_time=[n/a] ; pid=14918 ; 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": "Wed 2023-12-06 14:19:53 UTC", "InactiveEnterTimestampMonotonic": "1335964027", "InactiveExitTimestamp": "Wed 2023-12-06 14:20:14 UTC", "InactiveExitTimestampMonotonic": "1356538608", "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": "14918", "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 -.mount 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": "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": "Wed 2023-12-06 14:20:14 UTC", "WatchdogTimestampMonotonic": "1356538582", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:20:21 +0000 (0:00:00.251) 0:03:33.005 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003354", "end": "2023-12-06 14:20:21.684710", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:21.681356" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:20:21 +0000 (0:00:00.138) 0:03:33.143 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003409", "end": "2023-12-06 14:20:21.821999", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:21.818590" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:20:21 +0000 (0:00:00.137) 0:03:33.281 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:20:21 +0000 (0:00:00.026) 0:03:33.308 **** 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": 7530, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:20:23 +0000 (0:00:01.139) 0:03:34.447 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:20:23 +0000 (0:00:00.161) 0:03:34.608 **** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:20:14 UTC", "ActiveEnterTimestampMonotonic": "1356538608", "ActiveExitTimestamp": "Wed 2023-12-06 14:19:52 UTC", "ActiveExitTimestampMonotonic": "1334799809", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:20:14 UTC", "AssertTimestampMonotonic": "1356537581", "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": "Wed 2023-12-06 14:20:14 UTC", "ConditionTimestampMonotonic": "1356537579", "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": "14918", "ExecMainStartTimestamp": "Wed 2023-12-06 14:20:14 UTC", "ExecMainStartTimestampMonotonic": "1356538537", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:20:14 UTC] ; stop_time=[n/a] ; pid=14918 ; 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": "Wed 2023-12-06 14:19:53 UTC", "InactiveEnterTimestampMonotonic": "1335964027", "InactiveExitTimestamp": "Wed 2023-12-06 14:20:14 UTC", "InactiveExitTimestampMonotonic": "1356538608", "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": "14918", "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 -.mount 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": "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": "Wed 2023-12-06 14:20:14 UTC", "WatchdogTimestampMonotonic": "1356538582", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:20:29 +0000 (0:00:05.877) 0:03:40.486 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:20:30 +0000 (0:00:00.956) 0:03:41.443 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:20:34 +0000 (0:00:04.366) 0:03:45.809 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:20:34 +0000 (0:00:00.017) 0:03:45.827 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:20:34 +0000 (0:00:00.016) 0:03:45.843 **** 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.005275", "end": "2023-12-06 14:20:34.525376", "rc": 0, "start": "2023-12-06 14:20:34.520101" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:20:34 +0000 (0:00:00.140) 0:03:45.984 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:20:34 +0000 (0:00:00.020) 0:03:46.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 [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.952) 0:03:46.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 : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.064) 0:03:47.021 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.032) 0:03:47.054 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003377", "end": "2023-12-06 14:20:35.731386", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:35.728009" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.136) 0:03:47.190 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.022) 0:03:47.213 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.017) 0:03:47.230 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.018) 0:03:47.249 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.017) 0:03:47.267 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.030) 0:03:47.297 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003487", "end": "2023-12-06 14:20:35.975402", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:35.971915" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:35 +0000 (0:00:00.137) 0:03:47.434 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.022) 0:03:47.457 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.016) 0:03:47.474 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.017) 0:03:47.491 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.032) 0:03:47.524 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003429", "end": "2023-12-06 14:20:36.201190", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:36.197761" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.137) 0:03:47.661 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.022) 0:03:47.683 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.017) 0:03:47.700 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.347) 0:03:48.048 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:20:36 +0000 (0:00:00.302) 0:03:48.351 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003406", "end": "2023-12-06 14:20:37.029339", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:20:37.025933" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.136) 0:03:48.487 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.019) 0:03:48.506 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.019) 0:03:48.525 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.038) 0:03:48.564 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003356", "end": "2023-12-06 14:20:37.244228", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:37.240872" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.139) 0:03:48.704 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.024) 0:03:48.728 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:48.746 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.031) 0:03:48.777 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003367", "end": "2023-12-06 14:20:37.456698", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:37.453331" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.138) 0:03:48.916 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.023) 0:03:48.940 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:48.959 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:48.976 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:48.995 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.020) 0:03:49.015 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.033 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:49.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 : Configure the forceencryption setting] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.068 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.060) 0:03:49.128 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:49.147 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.165 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.182 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.020) 0:03:49.203 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.019) 0:03:49.222 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:49.240 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:49.259 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.018) 0:03:49.277 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.019) 0:03:49.296 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.314 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.332 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.349 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.367 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.016) 0:03:49.383 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.017) 0:03:49.418 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:20:37 +0000 (0:00:00.016) 0:03:49.434 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.016) 0:03:49.451 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.016) 0:03:49.467 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.058) 0:03:49.525 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:49.543 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:49.562 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.579 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.597 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.016) 0:03:49.614 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.631 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.020) 0:03:49.652 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.016) 0:03:49.668 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.016) 0:03:49.685 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.021) 0:03:49.706 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.724 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.742 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:49.760 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.777 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:49.795 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.813 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.831 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.016) 0:03:49.848 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.865 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.065) 0:03:49.931 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:49.949 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.022) 0:03:49.972 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:49.989 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:50.007 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:50.025 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:50.042 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.022) 0:03:50.064 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:50.081 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:50.100 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.017) 0:03:50.117 **** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.166) 0:03:50.284 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:20:38 +0000 (0:00:00.018) 0:03:50.302 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:20:14 UTC", "ActiveEnterTimestampMonotonic": "1356538608", "ActiveExitTimestamp": "Wed 2023-12-06 14:20:23 UTC", "ActiveExitTimestampMonotonic": "1365425592", "ActiveState": "inactive", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:20:14 UTC", "AssertTimestampMonotonic": "1356537581", "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": "Wed 2023-12-06 14:20:14 UTC", "ConditionTimestampMonotonic": "1356537579", "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": "Wed 2023-12-06 14:20:29 UTC", "ExecMainExitTimestampMonotonic": "1371086780", "ExecMainPID": "14918", "ExecMainStartTimestamp": "Wed 2023-12-06 14:20:14 UTC", "ExecMainStartTimestampMonotonic": "1356538537", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:20:14 UTC] ; stop_time=[Wed 2023-12-06 14:20:29 UTC] ; pid=14918 ; 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": "Wed 2023-12-06 14:20:29 UTC", "InactiveEnterTimestampMonotonic": "1371086883", "InactiveExitTimestamp": "Wed 2023-12-06 14:20:14 UTC", "InactiveExitTimestampMonotonic": "1356538608", "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 -.mount 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": "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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.216) 0:03:50.518 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.017) 0:03:50.536 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:88 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.025) 0:03:50.561 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.211) 0:03:50.773 **** 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.005618", "end": "2023-12-06 14:20:39.456973", "rc": 0, "start": "2023-12-06 14:20:39.451355" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.144) 0:03:50.917 **** 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.006022", "end": "2023-12-06 14:20:39.600333", "rc": 0, "start": "2023-12-06 14:20:39.594311" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.141) 0:03:51.059 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.021) 0:03:51.080 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '127.0.0.1'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1435}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/var/opt/mssql/data'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/var/opt/mssql/log'}) included: /WORKDIR/git-storage-selinuxtnh2v7ac/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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.044) 0:03:51.125 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005281", "end": "2023-12-06 14:20:39.811986", "rc": 0, "start": "2023-12-06 14:20:39.806705" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.147) 0:03:51.272 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.024) 0:03:51.297 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.018) 0:03:51.315 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:20:39 +0000 (0:00:00.017) 0:03:51.333 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004584", "end": "2023-12-06 14:20:40.011332", "rc": 0, "start": "2023-12-06 14:20:40.006748" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.137) 0:03:51.470 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.018) 0:03:51.489 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.018) 0:03:51.508 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.022) 0:03:51.530 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.007051", "end": "2023-12-06 14:20:40.232872", "rc": 0, "start": "2023-12-06 14:20:40.225821" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.165) 0:03:51.695 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.025) 0:03:51.721 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.017) 0:03:51.738 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.064) 0:03:51.803 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004689", "end": "2023-12-06 14:20:40.486485", "rc": 0, "start": "2023-12-06 14:20:40.481796" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.142) 0:03:51.945 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.024) 0:03:51.970 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.018) 0:03:51.988 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.018) 0:03:52.007 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005923", "end": "2023-12-06 14:20:40.728664", "rc": 0, "start": "2023-12-06 14:20:40.722741" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.184) 0:03:52.191 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.018) 0:03:52.210 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.023) 0:03:52.233 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.017) 0:03:52.251 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872268.809813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872268.775814, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659513, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701872268.775814, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1994611281", "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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.157) 0:03:52.408 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:20:40 +0000 (0:00:00.021) 0:03:52.430 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701872433.3156185, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701872433.330618, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 659514, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701872433.330618, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1994611282", "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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.160) 0:03:52.591 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.021) 0:03:52.613 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.033) 0:03:52.646 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:20:39 UTC", "ActiveEnterTimestampMonotonic": "1381118228", "ActiveExitTimestamp": "Wed 2023-12-06 14:20:23 UTC", "ActiveExitTimestampMonotonic": "1365425592", "ActiveState": "active", "After": "basic.target -.mount auditd.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:20:39 UTC", "AssertTimestampMonotonic": "1381117580", "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": "Wed 2023-12-06 14:20:39 UTC", "ConditionTimestampMonotonic": "1381117578", "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": "15794", "ExecMainStartTimestamp": "Wed 2023-12-06 14:20:39 UTC", "ExecMainStartTimestampMonotonic": "1381118165", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:20:39 UTC] ; stop_time=[n/a] ; pid=15794 ; 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": "Wed 2023-12-06 14:20:29 UTC", "InactiveEnterTimestampMonotonic": "1371086883", "InactiveExitTimestamp": "Wed 2023-12-06 14:20:39 UTC", "InactiveExitTimestampMonotonic": "1381118228", "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": "15794", "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 -.mount 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": "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": "Wed 2023-12-06 14:20:39 UTC", "WatchdogTimestampMonotonic": "1381118203", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.230) 0:03:52.877 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003700", "end": "2023-12-06 14:20:41.556876", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:41.553176" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.138) 0:03:53.016 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003628", "end": "2023-12-06 14:20:41.707719", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:20:41.704091" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.149) 0:03:53.166 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:20:41 +0000 (0:00:00.036) 0:03:53.202 **** 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": 7530, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:21:00 +0000 (0:00:18.237) 0:04:11.439 **** 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.023447", "end": "2023-12-06 14:21:00.137738", "rc": 0, "start": "2023-12-06 14:21:00.114291" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:21:00 +0000 (0:00:00.157) 0:04:11.596 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:21:00 +0000 (0:00:00.020) 0:04:11.617 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 14:21:00 +0000 (0:00:00.027) 0:04:11.645 **** 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-selinuxtnh2v7ac/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 14:21:01 +0000 (0:00:00.957) 0:04:12.603 **** 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-selinuxtnh2v7ac/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 14:21:01 +0000 (0:00:00.018) 0:04:12.621 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:21:01 +0000 (0:00:00.025) 0:04:12.646 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 14:21:01 +0000 (0:00:00.029) 0:04:12.675 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.962) 0:04:13.638 **** 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-selinuxtnh2v7ac/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.018) 0:04:13.657 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.023) 0:04:13.680 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004633", "end": "2023-12-06 14:21:02.360582", "rc": 0, "start": "2023-12-06 14:21:02.355949" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.138) 0:04:13.819 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.018) 0:04:13.837 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.072) 0:04:13.910 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.031) 0:04:13.941 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004584", "end": "2023-12-06 14:21:02.621048", "rc": 0, "start": "2023-12-06 14:21:02.616464" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.139) 0:04:14.080 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.018) 0:04:14.099 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.023) 0:04:14.123 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.018) 0:04:14.141 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.030) 0:04:14.172 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004656", "end": "2023-12-06 14:21:02.851250", "rc": 0, "start": "2023-12-06 14:21:02.846594" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.138) 0:04:14.310 **** 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-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.019) 0:04:14.330 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.023) 0:04:14.353 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.017) 0:04:14.371 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.016) 0:04:14.388 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.017) 0:04:14.405 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:21:02 +0000 (0:00:00.016) 0:04:14.422 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.017) 0:04:14.439 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.017) 0:04:14.457 **** 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-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.017) 0:04:14.474 **** 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-selinuxtnh2v7ac/tests/tasks/tests_idempotency.yml:105 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.063) 0:04:14.538 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.172) 0:04:14.711 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003344", "end": "2023-12-06 14:21:03.421228", "rc": 0, "start": "2023-12-06 14:21:03.417884" } 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-selinuxtnh2v7ac/tests/tests_idempotency_2019.yml:17 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.168) 0:04:14.880 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 14:21:03 +0000 (0:00:00.028) 0:04:14.908 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.961) 0:04:15.870 **** 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-selinuxtnh2v7ac/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.021) 0:04:15.891 **** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.017) 0:04:15.909 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.044) 0:04:15.954 **** included: /WORKDIR/git-storage-selinuxtnh2v7ac/.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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.028) 0:04:15.983 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.022) 0:04:16.005 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.184) 0:04:16.190 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 14:21:04 +0000 (0:00:00.022) 0:04:16.213 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 14:21:05 +0000 (0:00:00.314) 0:04:16.527 **** skipping: [sut] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 14:21:05 +0000 (0:00:00.017) 0:04:16.545 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 14:21:05 +0000 (0:00:00.022) 0:04:16.567 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ebtables.service ipset.service iptables.service ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "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": "dead", "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": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 14:21:05 +0000 (0:00:00.216) 0:04:16.784 **** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "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": "dead", "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": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 14:21:06 +0000 (0:00:00.779) 0:04:17.563 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 14:21:06 +0000 (0:00:00.026) 0:04:17.590 **** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.41.36 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 14:21:07 +0000 (0:00:01.336) 0:04:18.926 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.021) 0:04:18.947 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.020) 0:04:18.968 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.020) 0:04:18.988 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.020) 0:04:19.009 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.018) 0:04:19.027 **** 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-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.018) 0:04:19.046 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.36 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.252) 0:04:19.298 **** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.025) 0:04:19.323 **** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.027) 0:04:19.351 **** 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-selinuxtnh2v7ac/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 14:21:07 +0000 (0:00:00.020) 0:04:19.372 **** 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-selinuxtnh2v7ac/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 14:21:08 +0000 (0:00:00.069) 0:04:19.442 **** changed: [sut] => { "backup": "", "changed": true } MSG: line replaced TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 14:21:08 +0000 (0:00:00.137) 0:04:19.579 **** 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: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4335.1-6 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 python3 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 lsof to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap 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\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 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 lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 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 15.0.4335.1-6 @packages-microsoft-com-mssql-server-2019\n 1.1 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 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4335.1-6.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \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 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 5/17 \n Verifying : lsof-4.87-6.el7.x86_64 6/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 11/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 12/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 13/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 14/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 15/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 16/17 \n Verifying : mssql-server-15.0.4335.1-6.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4335.1-6 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 lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 14:21:12 +0000 (0:00:03.881) 0:04:23.460 **** fatal: [sut]: FAILED! => { "changed": false, "changed_when_result": "The conditional check ''removed' in __mssql_cleanup_remove.stdout' failed. The error was: error while evaluating conditional ('removed' in __mssql_cleanup_remove.stdout): 'dict object' has no attribute 'stdout'. 'dict object' has no attribute 'stdout'" } MSG: Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, expand_argument_vars, removes, stdin, stdin_add_newline, strip_empty_ends. to retry, use: --limit @/tmp/tests_idempotency_2019.retry PLAY RECAP ********************************************************************* sut : ok=348 changed=50 unreachable=0 failed=1 skipped=495 rescued=0 ignored=3 Wednesday 06 December 2023 14:21:12 +0000 (0:00:00.120) 0:04:23.580 **** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 49.13s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 27.40s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wait for mssql-server to prepare for client connections ---------------- 18.24s /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.14s /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Ensure the package powershell -------- 11.79s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 7.20s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 6.96s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 6.47s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.96s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 5.88s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.85s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 5.72s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 5.39s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Change the password of sa user -------- 4.37s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Remove related packages ------------------------------------------------- 3.88s /WORKDIR/git-storage-selinuxtnh2v7ac/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.82s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 1.38s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.34s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.31s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.28s /WORKDIR/git-storage-selinuxtnh2v7ac/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---