# 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-selinux0mny08pb/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinux0mny08pb/tests/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tests_idempotency_2017.yml:14 Thursday 07 December 2023 08:44:37 +0000 (0:00:00.056) 0:00:00.056 ***** included: /WORKDIR/git-storage-selinux0mny08pb/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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:2 Thursday 07 December 2023 08:44:37 +0000 (0:00:00.010) 0:00:00.067 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 08:44:37 +0000 (0:00:00.024) 0:00:00.091 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 08:44:37 +0000 (0:00:00.412) 0:00:00.504 ***** 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-selinux0mny08pb/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 07 December 2023 08:44:37 +0000 (0:00:00.023) 0:00:00.527 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:5 Thursday 07 December 2023 08:44:37 +0000 (0:00:00.028) 0:00:00.556 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.090) 0:00:00.646 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.009) 0:00:00.656 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.019) 0:00:00.676 ***** 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-selinux0mny08pb/.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-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.028) 0:00:00.704 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.013) 0:00:00.717 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.012) 0:00:00.730 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.009) 0:00:00.739 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.009) 0:00:00.749 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.011) 0:00:00.760 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.010) 0:00:00.771 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.010) 0:00:00.781 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.024) 0:00:00.806 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.017) 0:00:00.823 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.014) 0:00:00.838 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.014) 0:00:00.853 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.015) 0:00:00.868 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:44:38 +0000 (0:00:00.016) 0:00:00.885 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:44:39 +0000 (0:00:01.093) 0:00:01.979 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.030) 0:00:02.009 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.017) 0:00:02.027 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.026) 0:00:02.054 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.035) 0:00:02.089 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.454) 0:00:02.544 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.023) 0:00:02.567 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.018) 0:00:02.586 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:44:39 +0000 (0:00:00.018) 0:00:02.604 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:44:40 +0000 (0:00:00.236) 0:00:02.841 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:44:40 +0000 (0:00:00.023) 0:00:02.864 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:44:40 +0000 (0:00:00.022) 0:00:02.887 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:44:40 +0000 (0:00:00.027) 0:00:02.914 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:44:40 +0000 (0:00:00.064) 0:00:02.978 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:44:40 +0000 (0:00:00.022) 0:00:03.001 ***** 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:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 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\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 50 MB/s | 203 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:45:18 +0000 (0:00:38.475) 0:00:41.477 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:45:18 +0000 (0:00:00.014) 0:00:41.491 ***** 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.005448", "end": "2023-12-07 08:45:19.060249", "rc": 0, "start": "2023-12-07 08:45:19.054801" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:45:19 +0000 (0:00:00.206) 0:00:41.698 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:45:19 +0000 (0:00:00.806) 0:00:42.505 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:45:19 +0000 (0:00:00.031) 0:00:42.536 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:45:19 +0000 (0:00:00.023) 0:00:42.560 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:45:28 +0000 (0:00:08.367) 0:00:50.927 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_data', 'mode': '0700', 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_log', 'mode': '0700', 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:45:28 +0000 (0:00:00.048) 0:00:50.976 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:45:28 +0000 (0:00:00.244) 0:00:51.220 ***** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:45:28 +0000 (0:00:00.267) 0:00:51.488 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:45:28 +0000 (0:00:00.033) 0:00:51.521 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:45:28 +0000 (0:00:00.028) 0:00:51.550 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004699", "end": "2023-12-07 08:45:29.080177", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:45:29.075478" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.169) 0:00:51.720 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.055144", "end": "2023-12-07 08:45:29.288337", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:45:29.233193" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.214) 0:00:51.935 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.019) 0:00:51.954 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.193) 0:00:52.148 ***** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.178) 0:00:52.327 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.032) 0:00:52.360 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:45:29 +0000 (0:00:00.027) 0:00:52.388 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004694", "end": "2023-12-07 08:45:30.955010", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:45:29.950316" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:45:30 +0000 (0:00:01.208) 0:00:53.596 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.074306", "end": "2023-12-07 08:45:31.247247", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:45:31.172941" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:45:31 +0000 (0:00:00.321) 0:00:53.918 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:45:31 +0000 (0:00:00.019) 0:00:53.938 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:45:31 +0000 (0:00:00.034) 0:00:53.972 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:45:31 +0000 (0:00:00.409) 0:00:54.381 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:24:05 UTC", "ActiveEnterTimestampMonotonic": "26621975", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target dbus.service systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:24:04 UTC", "AssertTimestampMonotonic": "25228131", "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": "Thu 2023-12-07 08:24:04 UTC", "ConditionTimestampMonotonic": "25228130", "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": "877", "ExecMainStartTimestamp": "Thu 2023-12-07 08:24:04 UTC", "ExecMainStartTimestampMonotonic": "25228840", "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": "Thu 2023-12-07 08:24:04 UTC", "InactiveExitTimestampMonotonic": "25228887", "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": "877", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "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": "Thu 2023-12-07 08:24:05 UTC", "WatchdogTimestampMonotonic": "26621916", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:45:32 +0000 (0:00:00.385) 0:00:54.767 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092083", "end": "2023-12-07 08:45:32.356485", "rc": 0, "start": "2023-12-07 08:45:32.264402" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:45:32 +0000 (0:00:00.232) 0:00:55.000 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:45:32 +0000 (0:00:00.018) 0:00:55.018 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:45:32 +0000 (0:00:00.018) 0:00:55.037 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:45:32 +0000 (0:00:00.028) 0:00:55.065 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:45:32 +0000 (0:00:00.146) 0:00:55.212 ***** 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 3.8 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:45:37 +0000 (0:00:04.879) 0:01:00.092 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.020) 0:01:00.112 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.019) 0:01:00.131 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.019) 0:01:00.151 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.025) 0:01:00.176 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.020) 0:01:00.197 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.032) 0:01:00.229 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.050) 0:01:00.280 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.029) 0:01:00.309 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.027) 0:01:00.336 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.026) 0:01:00.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 : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.019) 0:01:00.381 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.021) 0:01:00.403 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.038) 0:01:00.442 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003430", "end": "2023-12-07 08:45:37.970348", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:45:37.966918" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:45:37 +0000 (0:00:00.167) 0:01:00.610 ***** 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.113545", "end": "2023-12-07 08:45:38.249302", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:45:38.135757" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.289) 0:01:00.900 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.017) 0:01:00.917 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.027) 0:01:00.945 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.035) 0:01:00.980 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.043) 0:01:01.023 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003318", "end": "2023-12-07 08:45:38.534317", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:45:38.530999" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.156) 0:01:01.180 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048830", "end": "2023-12-07 08:45:38.767188", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:45:38.718358" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.232) 0:01:01.413 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.019) 0:01:01.433 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.025) 0:01:01.458 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:45:38 +0000 (0:00:00.058) 0:01:01.516 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003395", "end": "2023-12-07 08:45:39.037460", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:45:39.034065" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:45:39 +0000 (0:00:00.183) 0:01:01.700 ***** 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:02.013411", "end": "2023-12-07 08:45:41.225658", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:45:39.212247" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:45:41 +0000 (0:00:02.170) 0:01:03.871 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:45:41 +0000 (0:00:00.017) 0:01:03.888 ***** 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:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:46:07 +0000 (0:00:26.265) 0:01:30.154 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:46:19 +0000 (0:00:11.905) 0:01:42.059 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003334", "end": "2023-12-07 08:46:19.561744", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:46:19.558410" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:46:19 +0000 (0:00:00.142) 0:01:42.201 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.049385", "end": "2023-12-07 08:46:19.759079", "rc": 0, "start": "2023-12-07 08:46:19.709694" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:46:19 +0000 (0:00:00.198) 0:01:42.399 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:46:19 +0000 (0:00:00.027) 0:01:42.427 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:19 +0000 (0:00:00.030) 0:01:42.457 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004414", "end": "2023-12-07 08:46:20.973774", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:46:19.969360" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:20 +0000 (0:00:01.156) 0:01:43.614 ***** 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.048765", "end": "2023-12-07 08:46:21.196826", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:21.148061" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.229) 0:01:43.843 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.023) 0:01:43.867 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.044) 0:01:43.911 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003319", "end": "2023-12-07 08:46:21.430931", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:46:21.427612" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.166) 0:01:44.077 ***** 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.048905", "end": "2023-12-07 08:46:21.664658", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:21.615753" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.242) 0:01:44.320 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.023) 0:01:44.343 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.055) 0:01:44.399 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.021) 0:01:44.420 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.056) 0:01:44.477 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.021) 0:01:44.499 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.025) 0:01:44.524 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.022) 0:01:44.546 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.026) 0:01:44.573 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:46:21 +0000 (0:00:00.027) 0:01:44.601 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.027) 0:01:44.628 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.032) 0:01:44.660 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.039) 0:01:44.700 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.032) 0:01:44.732 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.028) 0:01:44.761 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.028) 0:01:44.790 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.019) 0:01:44.809 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.019) 0:01:44.829 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.018) 0:01:44.848 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.027) 0:01:44.875 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.020) 0:01:44.895 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.027) 0:01:44.923 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.027) 0:01:44.950 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.020) 0:01:44.971 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.019) 0:01:44.991 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.020) 0:01:45.012 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.056) 0:01:45.068 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.030) 0:01:45.099 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.032) 0:01:45.131 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.019) 0:01:45.150 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.023) 0:01:45.174 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.018) 0:01:45.192 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.022) 0:01:45.215 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.029) 0:01:45.244 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.046) 0:01:45.291 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.047) 0:01:45.339 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.055) 0:01:45.394 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.027) 0:01:45.422 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.044) 0:01:45.466 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.035) 0:01:45.502 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.032) 0:01:45.535 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.032) 0:01:45.568 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:46:22 +0000 (0:00:00.041) 0:01:45.610 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.049) 0:01:45.659 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.046) 0:01:45.706 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.033) 0:01:45.739 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.051) 0:01:45.790 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.053) 0:01:45.844 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.115) 0:01:45.960 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.085) 0:01:46.046 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.031) 0:01:46.077 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.092) 0:01:46.169 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.036) 0:01:46.206 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.030) 0:01:46.236 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.032) 0:01:46.269 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.025) 0:01:46.294 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.040) 0:01:46.335 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.022) 0:01:46.357 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:46:23 +0000 (0:00:00.050) 0:01:46.408 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:46:24 +0000 (0:00:00.450) 0:01:46.858 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:46:24 +0000 (0:00:00.018) 0:01:46.876 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:45:28 UTC", "ActiveEnterTimestampMonotonic": "1309218614", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service system.slice -.mount basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:45:28 UTC", "AssertTimestampMonotonic": "1309217658", "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": "Thu 2023-12-07 08:45:28 UTC", "ConditionTimestampMonotonic": "1309217656", "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": "13273", "ExecMainStartTimestamp": "Thu 2023-12-07 08:45:28 UTC", "ExecMainStartTimestampMonotonic": "1309218550", "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": "Thu 2023-12-07 08:45:28 UTC", "InactiveExitTimestampMonotonic": "1309218614", "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": "13273", "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": "basic.target system.slice -.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": "Thu 2023-12-07 08:45:28 UTC", "WatchdogTimestampMonotonic": "1309218591", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:46:24 +0000 (0:00:00.543) 0:01:47.420 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:46:24 +0000 (0:00:00.024) 0:01:47.444 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:22 Thursday 07 December 2023 08:46:24 +0000 (0:00:00.039) 0:01:47.484 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 07 December 2023 08:46:24 +0000 (0:00:00.068) 0:01:47.552 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.323) 0:01:47.875 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.168) 0:01:48.044 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/tests_idempotency.yml:25 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.283) 0:01:48.328 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.197) 0:01:48.525 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.026) 0:01:48.552 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.022) 0:01:48.574 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:46:25 +0000 (0:00:00.035) 0:01:48.609 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.018) 0:01:48.627 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.016) 0:01:48.644 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.017) 0:01:48.661 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.018) 0:01:48.679 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.016) 0:01:48.696 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.016) 0:01:48.713 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.016) 0:01:48.730 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.019) 0:01:48.749 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.015) 0:01:48.765 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.047) 0:01:48.812 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.017) 0:01:48.830 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.018) 0:01:48.848 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:46:26 +0000 (0:00:00.019) 0:01:48.868 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:46:27 +0000 (0:00:01.179) 0:01:50.047 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:46:27 +0000 (0:00:00.072) 0:01:50.119 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:46:27 +0000 (0:00:00.022) 0:01:50.142 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:46:27 +0000 (0:00:00.023) 0:01:50.165 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:46:27 +0000 (0:00:00.034) 0:01:50.199 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.561) 0:01:50.761 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.032) 0:01:50.793 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.034) 0:01:50.827 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.041) 0:01:50.869 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.033) 0:01:50.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.020) 0:01:50.924 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.023) 0:01:50.947 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.022) 0:01:50.970 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.054) 0:01:51.025 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.019) 0:01:51.044 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.353) 0:01:51.398 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.020) 0:01:51.419 ***** 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.005432", "end": "2023-12-07 08:46:28.920399", "rc": 0, "start": "2023-12-07 08:46:28.914967" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:46:28 +0000 (0:00:00.141) 0:01:51.561 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:46:29 +0000 (0:00:00.783) 0:01:52.345 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:46:29 +0000 (0:00:00.027) 0:01:52.372 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:46:29 +0000 (0:00:00.017) 0:01:52.389 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:46:29 +0000 (0:00:00.017) 0:01:52.407 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_data', 'mode': None, 'setting': 'defaultdatadir'}) included: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for sut => (item={'path': '/tmp/mssql_log', 'mode': None, 'setting': 'defaultlogdir'}) TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:46:29 +0000 (0:00:00.038) 0:01:52.445 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938728.8457026, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938728.8477027, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263459, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701938728.8457026, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026634", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:46:29 +0000 (0:00:00.159) 0:01:52.605 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.167) 0:01:52.772 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.026) 0:01:52.798 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.029) 0:01:52.827 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003238", "end": "2023-12-07 08:46:30.332740", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:30.329502" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.147) 0:01:52.975 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.040) 0:01:53.016 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stat of the directory /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.022) 0:01:53.038 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938729.6596956, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938729.6606956, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263512, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701938729.6596956, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026647", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.199) 0:01:53.238 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.155) 0:01:53.394 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.042) 0:01:53.437 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:30 +0000 (0:00:00.031) 0:01:53.468 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003473", "end": "2023-12-07 08:46:30.997019", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:30.993546" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.181) 0:01:53.650 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.027) 0:01:53.677 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.026) 0:01:53.704 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.024) 0:01:53.729 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.339) 0:01:54.068 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:24:05 UTC", "ActiveEnterTimestampMonotonic": "26621975", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket systemd-sysctl.service network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:24:04 UTC", "AssertTimestampMonotonic": "25228131", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:24:04 UTC", "ConditionTimestampMonotonic": "25228130", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "877", "ExecMainStartTimestamp": "Thu 2023-12-07 08:24:04 UTC", "ExecMainStartTimestampMonotonic": "25228840", "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": "Thu 2023-12-07 08:24:04 UTC", "InactiveExitTimestampMonotonic": "25228887", "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": "877", "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 basic.target system.slice dbus.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": "Thu 2023-12-07 08:24:05 UTC", "WatchdogTimestampMonotonic": "26621916", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.219) 0:01:54.287 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094390", "end": "2023-12-07 08:46:31.877855", "rc": 0, "start": "2023-12-07 08:46:31.783465" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.233) 0:01:54.521 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.019) 0:01:54.541 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.019) 0:01:54.561 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:46:31 +0000 (0:00:00.021) 0:01:54.582 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:46:32 +0000 (0:00:00.156) 0:01:54.738 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:46:32 +0000 (0:00:00.357) 0:01:55.096 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:46:32 +0000 (0:00:00.032) 0:01:55.129 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ActiveEnterTimestampMonotonic": "1365785075", "ActiveExitTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ActiveExitTimestampMonotonic": "1365534239", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:24 UTC", "AssertTimestampMonotonic": "1365784112", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:24 UTC", "ConditionTimestampMonotonic": "1365784110", "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": "13791", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ExecMainStartTimestampMonotonic": "1365784979", "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": "Thu 2023-12-07 08:46:24 UTC", "InactiveEnterTimestampMonotonic": "1365782662", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:24 UTC", "InactiveExitTimestampMonotonic": "1365785075", "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": "13791", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:46:24 UTC", "WatchdogTimestampMonotonic": "1365785027", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:46:32 +0000 (0:00:00.226) 0:01:55.355 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003186", "end": "2023-12-07 08:46:32.859421", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:46:32.856235" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:46:32 +0000 (0:00:00.189) 0:01:55.545 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003334", "end": "2023-12-07 08:46:33.051116", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:33.047782" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:46:33 +0000 (0:00:00.147) 0:01:55.693 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:46:33 +0000 (0:00:00.039) 0:01:55.732 ***** 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": 6322, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:46:34 +0000 (0:00:01.217) 0:01:56.950 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:46:34 +0000 (0:00:00.202) 0:01:57.152 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ActiveEnterTimestampMonotonic": "1365785075", "ActiveExitTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ActiveExitTimestampMonotonic": "1365534239", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:24 UTC", "AssertTimestampMonotonic": "1365784112", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:24 UTC", "ConditionTimestampMonotonic": "1365784110", "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": "13791", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ExecMainStartTimestampMonotonic": "1365784979", "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": "Thu 2023-12-07 08:46:24 UTC", "InactiveEnterTimestampMonotonic": "1365782662", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:24 UTC", "InactiveExitTimestampMonotonic": "1365785075", "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": "13791", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:46:24 UTC", "WatchdogTimestampMonotonic": "1365785027", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:46:40 +0000 (0:00:05.728) 0:02:02.881 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:46:41 +0000 (0:00:00.989) 0:02:03.870 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:46:46 +0000 (0:00:04.943) 0:02:08.813 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:46:46 +0000 (0:00:00.018) 0:02:08.832 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:46:46 +0000 (0:00:00.027) 0:02:08.859 ***** 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.005216", "end": "2023-12-07 08:46:46.378025", "rc": 0, "start": "2023-12-07 08:46:46.372809" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:46:46 +0000 (0:00:00.169) 0:02:09.029 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:46:46 +0000 (0:00:00.039) 0:02:09.068 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.975) 0:02:10.044 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.023) 0:02:10.068 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.086) 0:02:10.155 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003523", "end": "2023-12-07 08:46:47.671667", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:47.668144" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.167) 0:02:10.322 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.030) 0:02:10.353 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.036) 0:02:10.390 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.038) 0:02:10.428 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.022) 0:02:10.451 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:47 +0000 (0:00:00.044) 0:02:10.496 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003378", "end": "2023-12-07 08:46:48.030748", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:46:48.027370" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.196) 0:02:10.692 ***** 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.112280", "end": "2023-12-07 08:46:48.314343", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:48.202063" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.266) 0:02:10.959 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.028) 0:02:10.987 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.025) 0:02:11.013 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.043) 0:02:11.056 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003434", "end": "2023-12-07 08:46:48.561076", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:48.557642" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.146) 0:02:11.202 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.035) 0:02:11.237 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:46:48 +0000 (0:00:00.027) 0:02:11.265 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.356) 0:02:11.621 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.348) 0:02:11.970 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003567", "end": "2023-12-07 08:46:49.482214", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:49.478647" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.205) 0:02:12.175 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.021) 0:02:12.197 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.024) 0:02:12.221 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.032) 0:02:12.254 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003306", "end": "2023-12-07 08:46:49.757656", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:49.754350" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.158) 0:02:12.413 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.033) 0:02:12.446 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.025) 0:02:12.471 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:46:49 +0000 (0:00:00.033) 0:02:12.505 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003453", "end": "2023-12-07 08:46:50.028525", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:50.025072" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.166) 0:02:12.671 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.025) 0:02:12.697 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.019) 0:02:12.716 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.019) 0:02:12.735 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.026) 0:02:12.762 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.022) 0:02:12.784 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.031) 0:02:12.815 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.027) 0:02:12.843 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.027) 0:02:12.871 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.027) 0:02:12.898 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.055) 0:02:12.954 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.017) 0:02:12.972 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.017) 0:02:12.989 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.021) 0:02:13.011 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.021) 0:02:13.033 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.018) 0:02:13.051 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.068 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.018) 0:02:13.086 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.017) 0:02:13.104 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.018) 0:02:13.122 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.017) 0:02:13.139 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.017) 0:02:13.157 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.174 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.190 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.207 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.223 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.240 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.016) 0:02:13.256 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.017) 0:02:13.274 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.018) 0:02:13.292 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.055) 0:02:13.347 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.036) 0:02:13.384 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.018) 0:02:13.403 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.018) 0:02:13.421 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.024) 0:02:13.445 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.021) 0:02:13.466 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.020) 0:02:13.487 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.019) 0:02:13.507 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.028) 0:02:13.535 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.037) 0:02:13.573 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:46:50 +0000 (0:00:00.027) 0:02:13.600 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.023) 0:02:13.624 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.023) 0:02:13.647 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.018) 0:02:13.666 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.021) 0:02:13.688 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.020) 0:02:13.709 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.021) 0:02:13.730 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.028) 0:02:13.759 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.028) 0:02:13.787 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.020) 0:02:13.807 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.065) 0:02:13.873 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.039) 0:02:13.913 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.033) 0:02:13.947 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.025) 0:02:13.972 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.018) 0:02:13.990 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.018) 0:02:14.009 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.033) 0:02:14.043 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.018) 0:02:14.061 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.026) 0:02:14.088 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.024) 0:02:14.113 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.171) 0:02:14.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.017) 0:02:14.302 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ActiveEnterTimestampMonotonic": "1365785075", "ActiveExitTimestamp": "Thu 2023-12-07 08:46:34 UTC", "ActiveExitTimestampMonotonic": "1375798655", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:24 UTC", "AssertTimestampMonotonic": "1365784112", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:24 UTC", "ConditionTimestampMonotonic": "1365784110", "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": "Thu 2023-12-07 08:46:40 UTC", "ExecMainExitTimestampMonotonic": "1381234962", "ExecMainPID": "13791", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:24 UTC", "ExecMainStartTimestampMonotonic": "1365784979", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:46:24 UTC] ; stop_time=[Thu 2023-12-07 08:46:40 UTC] ; pid=13791 ; 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": "Thu 2023-12-07 08:46:40 UTC", "InactiveEnterTimestampMonotonic": "1381235078", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:24 UTC", "InactiveExitTimestampMonotonic": "1365785075", "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": "-.mount basic.target system.slice", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.246) 0:02:14.549 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.025) 0:02:14.574 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:40 Thursday 07 December 2023 08:46:51 +0000 (0:00:00.029) 0:02:14.604 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.163) 0:02:14.768 ***** 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.005880", "end": "2023-12-07 08:46:52.276504", "rc": 0, "start": "2023-12-07 08:46:52.270624" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.150) 0:02:14.918 ***** 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.005540", "end": "2023-12-07 08:46:52.447168", "rc": 0, "start": "2023-12-07 08:46:52.441628" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.172) 0:02:15.091 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.021) 0:02:15.112 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '0.0.0.0'}) included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1433}) included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/tmp/mssql_data'}) included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/tmp/mssql_log'}) included: /WORKDIR/git-storage-selinux0mny08pb/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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.046) 0:02:15.159 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004576", "end": "2023-12-07 08:46:52.661762", "rc": 0, "start": "2023-12-07 08:46:52.657186" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.147) 0:02:15.306 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.035) 0:02:15.341 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.032) 0:02:15.373 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.018) 0:02:15.392 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004558", "end": "2023-12-07 08:46:52.909752", "rc": 0, "start": "2023-12-07 08:46:52.905194" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.158) 0:02:15.550 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.018) 0:02:15.569 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.018) 0:02:15.587 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:46:52 +0000 (0:00:00.023) 0:02:15.611 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004630", "end": "2023-12-07 08:46:53.124130", "rc": 0, "start": "2023-12-07 08:46:53.119500" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.157) 0:02:15.769 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.036) 0:02:15.805 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.017) 0:02:15.823 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.017) 0:02:15.841 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005973", "end": "2023-12-07 08:46:53.405959", "rc": 0, "start": "2023-12-07 08:46:53.399986" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.212) 0:02:16.054 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.089) 0:02:16.143 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.021) 0:02:16.164 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.023) 0:02:16.188 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006121", "end": "2023-12-07 08:46:53.748296", "rc": 0, "start": "2023-12-07 08:46:53.742175" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.229) 0:02:16.417 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.033) 0:02:16.450 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.032) 0:02:16.483 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:46:53 +0000 (0:00:00.032) 0:02:16.515 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938728.8457026, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938728.8477027, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263459, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701938728.8457026, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026634", "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-selinux0mny08pb/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.180) 0:02:16.696 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.021) 0:02:16.717 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938729.6596956, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938729.6606956, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263512, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701938729.6596956, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026647", "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-selinux0mny08pb/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.147) 0:02:16.865 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.021) 0:02:16.887 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.035) 0:02:16.923 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ActiveEnterTimestampMonotonic": "1392909148", "ActiveExitTimestamp": "Thu 2023-12-07 08:46:34 UTC", "ActiveExitTimestampMonotonic": "1375798655", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:51 UTC", "AssertTimestampMonotonic": "1392908482", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:51 UTC", "ConditionTimestampMonotonic": "1392908480", "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": "14690", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ExecMainStartTimestampMonotonic": "1392909083", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:46:51 UTC] ; stop_time=[n/a] ; pid=14690 ; 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": "Thu 2023-12-07 08:46:40 UTC", "InactiveEnterTimestampMonotonic": "1381235078", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:51 UTC", "InactiveExitTimestampMonotonic": "1392909148", "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": "14690", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:46:51 UTC", "WatchdogTimestampMonotonic": "1392909122", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.226) 0:02:17.149 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003522", "end": "2023-12-07 08:46:54.668754", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:54.665232" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.161) 0:02:17.311 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003505", "end": "2023-12-07 08:46:54.822847", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:46:54.819342" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.152) 0:02:17.463 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:46:54 +0000 (0:00:00.034) 0:02:17.498 ***** 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": 7118, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:47:13 +0000 (0:00:18.237) 0:02:35.735 ***** 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.022946", "end": "2023-12-07 08:47:13.271025", "rc": 0, "start": "2023-12-07 08:47:13.248079" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:47:13 +0000 (0:00:00.176) 0:02:35.912 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:47:13 +0000 (0:00:00.059) 0:02:35.971 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:47:13 +0000 (0:00:00.029) 0:02:36.001 ***** 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-selinux0mny08pb/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:47:14 +0000 (0:00:00.957) 0:02:36.958 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:47:14 +0000 (0:00:00.026) 0:02:36.984 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:47:14 +0000 (0:00:00.020) 0:02:37.005 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:47:14 +0000 (0:00:00.030) 0:02:37.036 ***** 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-selinux0mny08pb/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.980) 0:02:38.016 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.026) 0:02:38.042 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.016) 0:02:38.059 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004441", "end": "2023-12-07 08:47:15.560420", "rc": 0, "start": "2023-12-07 08:47:15.555979" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.155) 0:02:38.214 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.021) 0:02:38.236 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.020) 0:02:38.256 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.076) 0:02:38.333 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004555", "end": "2023-12-07 08:47:15.834399", "rc": 0, "start": "2023-12-07 08:47:15.829844" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.148) 0:02:38.481 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.022) 0:02:38.504 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.028) 0:02:38.532 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.018) 0:02:38.550 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:47:15 +0000 (0:00:00.034) 0:02:38.585 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004500", "end": "2023-12-07 08:47:16.109596", "rc": 0, "start": "2023-12-07 08:47:16.105096" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.166) 0:02:38.751 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.022) 0:02:38.774 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.036) 0:02:38.810 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.024) 0:02:38.834 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.025) 0:02:38.859 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.018) 0:02:38.878 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:38.895 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:38.913 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:38.930 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:38.948 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:56 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.016) 0:02:38.965 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.272) 0:02:39.237 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.028) 0:02:39.265 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.025) 0:02:39.290 ***** 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-selinux0mny08pb/.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-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.032) 0:02:39.322 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.019) 0:02:39.341 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.019) 0:02:39.361 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:39.378 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.028) 0:02:39.406 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.018) 0:02:39.425 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.018) 0:02:39.443 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:39.461 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.021) 0:02:39.483 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.017) 0:02:39.500 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.016) 0:02:39.516 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.052) 0:02:39.569 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.018) 0:02:39.587 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:47:16 +0000 (0:00:00.018) 0:02:39.606 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:47:17 +0000 (0:00:00.953) 0:02:40.560 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:47:17 +0000 (0:00:00.050) 0:02:40.610 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.018) 0:02:40.629 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.022) 0:02:40.651 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.033) 0:02:40.684 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.338) 0:02:41.023 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.020) 0:02:41.043 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.019) 0:02:41.063 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.019) 0:02:41.082 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.024) 0:02:41.107 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.020) 0:02:41.127 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.018) 0:02:41.146 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.018) 0:02:41.164 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.017) 0:02:41.182 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.056) 0:02:41.239 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.315) 0:02:41.554 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:47:18 +0000 (0:00:00.018) 0:02:41.572 ***** 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.005340", "end": "2023-12-07 08:47:19.082581", "rc": 0, "start": "2023-12-07 08:47:19.077241" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:47:19 +0000 (0:00:00.150) 0:02:41.723 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:47:19 +0000 (0:00:00.728) 0:02:42.451 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:47:19 +0000 (0:00:00.025) 0:02:42.477 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:47:19 +0000 (0:00:00.017) 0:02:42.494 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:47:19 +0000 (0:00:00.017) 0:02:42.511 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:47:19 +0000 (0:00:00.038) 0:02:42.549 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938724.5287402, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938724.4687407, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263441, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938724.4687407, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026502", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.146) 0:02:42.696 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.149) 0:02:42.846 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.025) 0:02:42.871 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.029) 0:02:42.901 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003348", "end": "2023-12-07 08:47:20.404068", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:20.400720" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.145) 0:02:43.046 ***** 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.050037", "end": "2023-12-07 08:47:20.600851", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:20.550814" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.200) 0:02:43.246 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.019) 0:02:43.265 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938814.9019804, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938814.8999805, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263442, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938814.8999805, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026503", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:47:20 +0000 (0:00:00.164) 0:02:43.430 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.191) 0:02:43.622 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.025) 0:02:43.647 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.029) 0:02:43.677 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003354", "end": "2023-12-07 08:47:21.197938", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:21.194584" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.162) 0:02:43.840 ***** 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.049770", "end": "2023-12-07 08:47:21.400615", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:21.350845" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.204) 0:02:44.045 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.018) 0:02:44.063 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.017) 0:02:44.081 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:47:21 +0000 (0:00:00.324) 0:02:44.405 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:24:05 UTC", "ActiveEnterTimestampMonotonic": "26621975", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket systemd-sysctl.service network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:24:04 UTC", "AssertTimestampMonotonic": "25228131", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:24:04 UTC", "ConditionTimestampMonotonic": "25228130", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "877", "ExecMainStartTimestamp": "Thu 2023-12-07 08:24:04 UTC", "ExecMainStartTimestampMonotonic": "25228840", "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": "Thu 2023-12-07 08:24:04 UTC", "InactiveExitTimestampMonotonic": "25228887", "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": "877", "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 basic.target system.slice dbus.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": "Thu 2023-12-07 08:24:05 UTC", "WatchdogTimestampMonotonic": "26621916", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.227) 0:02:44.633 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091712", "end": "2023-12-07 08:47:22.225784", "rc": 0, "start": "2023-12-07 08:47:22.134072" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.233) 0:02:44.867 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.017) 0:02:44.885 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.016) 0:02:44.902 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.017) 0:02:44.919 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.145) 0:02:45.064 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.317) 0:02:45.382 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:47:22 +0000 (0:00:00.032) 0:02:45.415 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ActiveEnterTimestampMonotonic": "1392909148", "ActiveExitTimestamp": "Thu 2023-12-07 08:46:34 UTC", "ActiveExitTimestampMonotonic": "1375798655", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:51 UTC", "AssertTimestampMonotonic": "1392908482", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:51 UTC", "ConditionTimestampMonotonic": "1392908480", "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": "14690", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ExecMainStartTimestampMonotonic": "1392909083", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:46:51 UTC] ; stop_time=[n/a] ; pid=14690 ; 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": "Thu 2023-12-07 08:46:40 UTC", "InactiveEnterTimestampMonotonic": "1381235078", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:51 UTC", "InactiveExitTimestampMonotonic": "1392909148", "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": "14690", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:46:51 UTC", "WatchdogTimestampMonotonic": "1392909122", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:47:23 +0000 (0:00:00.218) 0:02:45.634 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003360", "end": "2023-12-07 08:47:23.137167", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:23.133807" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:47:23 +0000 (0:00:00.143) 0:02:45.777 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003255", "end": "2023-12-07 08:47:23.278171", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:23.274916" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:47:23 +0000 (0:00:00.176) 0:02:45.953 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:47:23 +0000 (0:00:00.027) 0:02:45.980 ***** 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": 7118, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:47:24 +0000 (0:00:01.146) 0:02:47.126 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:47:24 +0000 (0:00:00.166) 0:02:47.293 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ActiveEnterTimestampMonotonic": "1392909148", "ActiveExitTimestamp": "Thu 2023-12-07 08:46:34 UTC", "ActiveExitTimestampMonotonic": "1375798655", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:51 UTC", "AssertTimestampMonotonic": "1392908482", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:51 UTC", "ConditionTimestampMonotonic": "1392908480", "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": "14690", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ExecMainStartTimestampMonotonic": "1392909083", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:46:51 UTC] ; stop_time=[n/a] ; pid=14690 ; 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": "Thu 2023-12-07 08:46:40 UTC", "InactiveEnterTimestampMonotonic": "1381235078", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:51 UTC", "InactiveExitTimestampMonotonic": "1392909148", "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": "14690", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:46:51 UTC", "WatchdogTimestampMonotonic": "1392909122", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:47:25 +0000 (0:00:00.456) 0:02:47.750 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:47:26 +0000 (0:00:00.986) 0:02:48.736 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:47:31 +0000 (0:00:05.258) 0:02:53.995 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:47:31 +0000 (0:00:00.018) 0:02:54.013 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:47:31 +0000 (0:00:00.025) 0:02:54.039 ***** 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.005195", "end": "2023-12-07 08:47:31.549296", "rc": 0, "start": "2023-12-07 08:47:31.544101" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:47:31 +0000 (0:00:00.153) 0:02:54.193 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ActiveEnterTimestampMonotonic": "1392909148", "ActiveExitTimestamp": "Thu 2023-12-07 08:47:24 UTC", "ActiveExitTimestampMonotonic": "1425886507", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:51 UTC", "AssertTimestampMonotonic": "1392908482", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:51 UTC", "ConditionTimestampMonotonic": "1392908480", "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": "Thu 2023-12-07 08:47:25 UTC", "ExecMainExitTimestampMonotonic": "1426118144", "ExecMainPID": "14690", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ExecMainStartTimestampMonotonic": "1392909083", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:46:51 UTC] ; stop_time=[Thu 2023-12-07 08:47:25 UTC] ; pid=14690 ; 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": "Thu 2023-12-07 08:47:25 UTC", "InactiveEnterTimestampMonotonic": "1426118241", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:51 UTC", "InactiveExitTimestampMonotonic": "1392909148", "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": "-.mount basic.target system.slice", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:47:31 +0000 (0:00:00.278) 0:02:54.471 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:47:32 +0000 (0:00:00.959) 0:02:55.430 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:47:37 +0000 (0:00:04.906) 0:03:00.337 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:37 +0000 (0:00:00.036) 0:03:00.374 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003340", "end": "2023-12-07 08:47:37.879001", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:37.875661" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.247) 0:03:00.621 ***** 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.048865", "end": "2023-12-07 08:47:38.192353", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:38.143488" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.224) 0:03:00.845 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.049) 0:03:00.895 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.060) 0:03:00.955 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.031) 0:03:00.987 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.059) 0:03:01.046 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003374", "end": "2023-12-07 08:47:38.548667", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:38.545293" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.150) 0:03:01.197 ***** 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.048824", "end": "2023-12-07 08:47:38.751517", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:38.702693" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.208) 0:03:01.405 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.030) 0:03:01.435 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.031) 0:03:01.467 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:38 +0000 (0:00:00.043) 0:03:01.511 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003431", "end": "2023-12-07 08:47:39.077250", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:39.073819" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:39 +0000 (0:00:00.215) 0:03:01.727 ***** 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.048772", "end": "2023-12-07 08:47:39.323844", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:39.275072" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:39 +0000 (0:00:00.267) 0:03:01.994 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:47:39 +0000 (0:00:00.029) 0:03:02.023 ***** 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:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:47:40 +0000 (0:00:01.346) 0:03:03.369 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:47:42 +0000 (0:00:01.265) 0:03:04.635 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003490", "end": "2023-12-07 08:47:42.137087", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:42.133597" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.142) 0:03:04.777 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.072) 0:03:04.849 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.049251", "end": "2023-12-07 08:47:42.399754", "rc": 0, "start": "2023-12-07 08:47:42.350503" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.191) 0:03:05.040 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.031) 0:03:05.072 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003371", "end": "2023-12-07 08:47:42.574283", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:42.570912" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.147) 0:03:05.219 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.033) 0:03:05.253 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.022) 0:03:05.275 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.033) 0:03:05.309 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003334", "end": "2023-12-07 08:47:42.813164", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:42.809830" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:42 +0000 (0:00:00.146) 0:03:05.456 ***** 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.049235", "end": "2023-12-07 08:47:43.009134", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:42.959899" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.195) 0:03:05.652 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.020) 0:03:05.673 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.018) 0:03:05.692 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.019) 0:03:05.711 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.026) 0:03:05.737 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.032) 0:03:05.770 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.034) 0:03:05.804 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.031) 0:03:05.835 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.057) 0:03:05.893 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.041) 0:03:05.935 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.102) 0:03:06.037 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.021) 0:03:06.059 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.025) 0:03:06.084 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.022) 0:03:06.106 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.019) 0:03:06.126 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.022) 0:03:06.148 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.021) 0:03:06.169 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.025) 0:03:06.195 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.022) 0:03:06.217 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.021) 0:03:06.239 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.020) 0:03:06.260 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.030) 0:03:06.290 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.027) 0:03:06.318 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.021) 0:03:06.340 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.026) 0:03:06.367 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.027) 0:03:06.395 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.024) 0:03:06.420 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.030) 0:03:06.450 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.031) 0:03:06.482 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.024) 0:03:06.506 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.064) 0:03:06.571 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:47:43 +0000 (0:00:00.028) 0:03:06.600 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.025) 0:03:06.625 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.034) 0:03:06.660 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.042) 0:03:06.702 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.053) 0:03:06.756 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.040) 0:03:06.797 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.025) 0:03:06.822 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.048) 0:03:06.871 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.030) 0:03:06.901 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.029) 0:03:06.931 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.022) 0:03:06.953 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.034) 0:03:06.988 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.036) 0:03:07.025 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.033) 0:03:07.058 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.026) 0:03:07.084 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.025) 0:03:07.109 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.026) 0:03:07.136 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.039) 0:03:07.176 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.034) 0:03:07.210 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.114) 0:03:07.325 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.024) 0:03:07.349 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.019) 0:03:07.369 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.021) 0:03:07.390 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.018) 0:03:07.409 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.038) 0:03:07.447 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.039) 0:03:07.487 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.033) 0:03:07.521 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:47:44 +0000 (0:00:00.027) 0:03:07.548 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:47:45 +0000 (0:00:00.225) 0:03:07.773 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:47:45 +0000 (0:00:00.045) 0:03:07.819 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ActiveEnterTimestampMonotonic": "1392909148", "ActiveExitTimestamp": "Thu 2023-12-07 08:47:24 UTC", "ActiveExitTimestampMonotonic": "1425886507", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:51 UTC", "AssertTimestampMonotonic": "1392908482", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:46:51 UTC", "ConditionTimestampMonotonic": "1392908480", "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": "Thu 2023-12-07 08:47:25 UTC", "ExecMainExitTimestampMonotonic": "1426118144", "ExecMainPID": "14690", "ExecMainStartTimestamp": "Thu 2023-12-07 08:46:51 UTC", "ExecMainStartTimestampMonotonic": "1392909083", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:46:51 UTC] ; stop_time=[Thu 2023-12-07 08:47:25 UTC] ; pid=14690 ; 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": "Thu 2023-12-07 08:47:25 UTC", "InactiveEnterTimestampMonotonic": "1426118241", "InactiveExitTimestamp": "Thu 2023-12-07 08:46:51 UTC", "InactiveExitTimestampMonotonic": "1392909148", "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": "-.mount basic.target system.slice", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:47:45 +0000 (0:00:00.280) 0:03:08.099 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:47:45 +0000 (0:00:00.042) 0:03:08.142 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:73 Thursday 07 December 2023 08:47:45 +0000 (0:00:00.050) 0:03:08.192 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.471) 0:03:08.663 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.108) 0:03:08.771 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.058) 0:03:08.830 ***** 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-selinux0mny08pb/.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-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.064) 0:03:08.894 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.067) 0:03:08.961 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.031) 0:03:08.992 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.042) 0:03:09.035 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.051) 0:03:09.086 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.045) 0:03:09.131 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.028) 0:03:09.159 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.022) 0:03:09.182 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.088) 0:03:09.270 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.084) 0:03:09.355 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.041) 0:03:09.396 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 08:47:46 +0000 (0:00:00.034) 0:03:09.431 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 08:47:47 +0000 (0:00:00.294) 0:03:09.725 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 08:47:47 +0000 (0:00:00.041) 0:03:09.766 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 08:47:48 +0000 (0:00:01.493) 0:03:11.260 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 08:47:48 +0000 (0:00:00.086) 0:03:11.346 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 08:47:48 +0000 (0:00:00.040) 0:03:11.387 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 08:47:48 +0000 (0:00:00.027) 0:03:11.415 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 08:47:48 +0000 (0:00:00.057) 0:03:11.473 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.371) 0:03:11.844 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.038) 0:03:11.883 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.023) 0:03:11.906 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.023) 0:03:11.930 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.025) 0:03:11.955 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.033) 0:03:11.989 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.029) 0:03:12.019 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.028) 0:03:12.048 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.027) 0:03:12.076 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 08:47:49 +0000 (0:00:00.033) 0:03:12.109 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 08:47:50 +0000 (0:00:00.638) 0:03:12.748 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 08:47:50 +0000 (0:00:00.065) 0:03:12.813 ***** 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.005298", "end": "2023-12-07 08:47:50.339328", "rc": 0, "start": "2023-12-07 08:47:50.334030" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 08:47:50 +0000 (0:00:00.178) 0:03:12.992 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.768) 0:03:13.761 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.038) 0:03:13.799 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.032) 0:03:13.832 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.024) 0:03:13.857 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.044) 0:03:13.901 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938724.5287402, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938724.4687407, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263441, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938724.4687407, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026502", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.159) 0:03:14.061 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.165) 0:03:14.226 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.032) 0:03:14.258 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.043) 0:03:14.302 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003288", "end": "2023-12-07 08:47:51.855077", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:51.851789" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.199) 0:03:14.501 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.026) 0:03:14.527 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:47:51 +0000 (0:00:00.022) 0:03:14.550 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938868.2955477, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938868.3055475, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263442, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938868.3055475, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026503", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.172) 0:03:14.723 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:17 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.216) 0:03:14.939 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:30 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.124) 0:03:15.063 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.042) 0:03:15.105 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003405", "end": "2023-12-07 08:47:52.618146", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:52.614741" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.167) 0:03:15.273 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.034) 0:03:15.307 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.025) 0:03:15.333 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 08:47:52 +0000 (0:00:00.021) 0:03:15.355 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.340) 0:03:15.695 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:24:05 UTC", "ActiveEnterTimestampMonotonic": "26621975", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket systemd-sysctl.service network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:24:04 UTC", "AssertTimestampMonotonic": "25228131", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:24:04 UTC", "ConditionTimestampMonotonic": "25228130", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "877", "ExecMainStartTimestamp": "Thu 2023-12-07 08:24:04 UTC", "ExecMainStartTimestampMonotonic": "25228840", "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": "Thu 2023-12-07 08:24:04 UTC", "InactiveExitTimestampMonotonic": "25228887", "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": "877", "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 basic.target system.slice dbus.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": "Thu 2023-12-07 08:24:05 UTC", "WatchdogTimestampMonotonic": "26621916", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.231) 0:03:15.927 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089691", "end": "2023-12-07 08:47:53.514351", "rc": 0, "start": "2023-12-07 08:47:53.424660" } 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.234) 0:03:16.161 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.022) 0:03:16.184 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.021) 0:03:16.205 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.027) 0:03:16.233 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 08:47:53 +0000 (0:00:00.146) 0:03:16.379 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 08:47:54 +0000 (0:00:00.330) 0:03:16.710 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:47:54 +0000 (0:00:00.031) 0:03:16.742 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:47:45 UTC", "ActiveEnterTimestampMonotonic": "1446447508", "ActiveExitTimestamp": "Thu 2023-12-07 08:47:24 UTC", "ActiveExitTimestampMonotonic": "1425886507", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:47:45 UTC", "AssertTimestampMonotonic": "1446446859", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:47:45 UTC", "ConditionTimestampMonotonic": "1446446858", "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": "16035", "ExecMainStartTimestamp": "Thu 2023-12-07 08:47:45 UTC", "ExecMainStartTimestampMonotonic": "1446447446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:47:45 UTC] ; stop_time=[n/a] ; pid=16035 ; 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": "Thu 2023-12-07 08:47:25 UTC", "InactiveEnterTimestampMonotonic": "1426118241", "InactiveExitTimestamp": "Thu 2023-12-07 08:47:45 UTC", "InactiveExitTimestampMonotonic": "1446447508", "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": "16035", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:47:45 UTC", "WatchdogTimestampMonotonic": "1446447482", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:47:54 +0000 (0:00:00.216) 0:03:16.959 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003227", "end": "2023-12-07 08:47:54.460362", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:54.457135" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:47:54 +0000 (0:00:00.142) 0:03:17.101 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003384", "end": "2023-12-07 08:47:54.603968", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:47:54.600584" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:47:54 +0000 (0:00:00.143) 0:03:17.244 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 08:47:54 +0000 (0:00:00.074) 0:03:17.318 ***** 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": 6890, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 08:47:55 +0000 (0:00:01.161) 0:03:18.480 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 08:47:56 +0000 (0:00:00.190) 0:03:18.670 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:47:45 UTC", "ActiveEnterTimestampMonotonic": "1446447508", "ActiveExitTimestamp": "Thu 2023-12-07 08:47:24 UTC", "ActiveExitTimestampMonotonic": "1425886507", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:47:45 UTC", "AssertTimestampMonotonic": "1446446859", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:47:45 UTC", "ConditionTimestampMonotonic": "1446446858", "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": "16035", "ExecMainStartTimestamp": "Thu 2023-12-07 08:47:45 UTC", "ExecMainStartTimestampMonotonic": "1446447446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:47:45 UTC] ; stop_time=[n/a] ; pid=16035 ; 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": "Thu 2023-12-07 08:47:25 UTC", "InactiveEnterTimestampMonotonic": "1426118241", "InactiveExitTimestamp": "Thu 2023-12-07 08:47:45 UTC", "InactiveExitTimestampMonotonic": "1446447508", "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": "16035", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:47:45 UTC", "WatchdogTimestampMonotonic": "1446447482", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 08:47:59 +0000 (0:00:03.052) 0:03:21.723 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 08:48:00 +0000 (0:00:00.980) 0:03:22.703 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 08:48:03 +0000 (0:00:03.699) 0:03:26.403 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 08:48:03 +0000 (0:00:00.022) 0:03:26.426 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 08:48:03 +0000 (0:00:00.018) 0:03:26.444 ***** 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.005258", "end": "2023-12-07 08:48:03.968002", "rc": 0, "start": "2023-12-07 08:48:03.962744" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 08:48:03 +0000 (0:00:00.170) 0:03:26.615 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 08:48:04 +0000 (0:00:00.027) 0:03:26.642 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 08:48:04 +0000 (0:00:00.964) 0:03:27.606 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.061) 0:03:27.668 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.056) 0:03:27.724 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003377", "end": "2023-12-07 08:48:05.237617", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:05.234240" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.170) 0:03:27.895 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.136) 0:03:28.031 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.039) 0:03:28.071 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.043) 0:03:28.114 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.043) 0:03:28.158 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.066) 0:03:28.224 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003400", "end": "2023-12-07 08:48:05.746384", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:05.742984" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.175) 0:03:28.400 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.024) 0:03:28.424 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.019) 0:03:28.443 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.018) 0:03:28.462 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:48:05 +0000 (0:00:00.034) 0:03:28.497 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003338", "end": "2023-12-07 08:48:06.003386", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:06.000048" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.147) 0:03:28.645 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.022) 0:03:28.667 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.018) 0:03:28.686 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.362) 0:03:29.049 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.288) 0:03:29.337 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2023-12-07 08:48:06.837061", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:48:06.833830" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.141) 0:03:29.479 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.021) 0:03:29.501 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 08:48:06 +0000 (0:00:00.020) 0:03:29.521 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.123) 0:03:29.645 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003410", "end": "2023-12-07 08:48:07.169593", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:07.166183" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.168) 0:03:29.814 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.027) 0:03:29.841 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.020) 0:03:29.862 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.034) 0:03:29.896 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003502", "end": "2023-12-07 08:48:07.400413", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:07.396911" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.146) 0:03:30.042 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.023) 0:03:30.066 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.019) 0:03:30.085 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.017) 0:03:30.103 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.018) 0:03:30.121 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.023) 0:03:30.144 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.021) 0:03:30.165 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.031) 0:03:30.197 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.023) 0:03:30.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.022) 0:03:30.244 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.027) 0:03:30.272 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.022) 0:03:30.294 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.020) 0:03:30.314 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.065) 0:03:30.379 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.021) 0:03:30.401 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.017) 0:03:30.418 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.018) 0:03:30.437 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.017) 0:03:30.454 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.018) 0:03:30.472 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.018) 0:03:30.491 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.021) 0:03:30.512 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.031) 0:03:30.544 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.020) 0:03:30.564 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.020) 0:03:30.584 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 08:48:07 +0000 (0:00:00.023) 0:03:30.608 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.022) 0:03:30.630 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.017) 0:03:30.647 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.019) 0:03:30.667 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:30.685 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.019) 0:03:30.705 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.017) 0:03:30.723 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:30.741 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.017) 0:03:30.758 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.086) 0:03:30.844 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.027) 0:03:30.872 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.023) 0:03:30.895 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.024) 0:03:30.919 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:30.938 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.017) 0:03:30.956 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.021) 0:03:30.977 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.017) 0:03:30.995 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.017) 0:03:31.012 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:31.030 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:31.049 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.019) 0:03:31.068 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.021) 0:03:31.089 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.020) 0:03:31.110 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.020) 0:03: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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.022) 0:03:31.153 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.028) 0:03:31.182 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:31.200 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.028) 0:03:31.228 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.020) 0:03:31.249 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.061) 0:03:31.310 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.018) 0:03:31.329 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.021) 0:03:31.351 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.026) 0:03:31.377 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.020) 0:03:31.398 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.028) 0:03:31.427 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 08:48:08 +0000 (0:00:00.019) 0:03:31.446 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.175) 0:03:31.622 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.019) 0:03:31.641 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:47:45 UTC", "ActiveEnterTimestampMonotonic": "1446447508", "ActiveExitTimestamp": "Thu 2023-12-07 08:47:56 UTC", "ActiveExitTimestampMonotonic": "1457272948", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:47:45 UTC", "AssertTimestampMonotonic": "1446446859", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:47:45 UTC", "ConditionTimestampMonotonic": "1446446858", "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": "Thu 2023-12-07 08:47:59 UTC", "ExecMainExitTimestampMonotonic": "1460089739", "ExecMainPID": "16035", "ExecMainStartTimestamp": "Thu 2023-12-07 08:47:45 UTC", "ExecMainStartTimestampMonotonic": "1446447446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:47:45 UTC] ; stop_time=[Thu 2023-12-07 08:47:59 UTC] ; pid=16035 ; 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": "Thu 2023-12-07 08:47:59 UTC", "InactiveEnterTimestampMonotonic": "1460089835", "InactiveExitTimestamp": "Thu 2023-12-07 08:47:45 UTC", "InactiveExitTimestampMonotonic": "1446447508", "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": "-.mount basic.target system.slice", "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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.223) 0:03:31.865 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.018) 0:03:31.883 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:88 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.029) 0:03:31.912 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.224) 0:03:32.137 ***** 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.006102", "end": "2023-12-07 08:48:09.691012", "rc": 0, "start": "2023-12-07 08:48:09.684910" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.203) 0:03:32.340 ***** 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.005640", "end": "2023-12-07 08:48:09.851806", "rc": 0, "start": "2023-12-07 08:48:09.846166" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.229) 0:03:32.570 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:48:09 +0000 (0:00:00.024) 0:03:32.595 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'ipaddress', 'value': '127.0.0.1'}) included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'tcpport', 'value': 1435}) included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultdatadir', 'value': '/var/opt/mssql/data'}) included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut => (item={'key': 'defaultlogdir', 'value': '/var/opt/mssql/log'}) included: /WORKDIR/git-storage-selinux0mny08pb/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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.053) 0:03:32.649 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004522", "end": "2023-12-07 08:48:10.155090", "rc": 0, "start": "2023-12-07 08:48:10.150568" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.146) 0:03:32.795 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.026) 0:03:32.822 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.025) 0:03:32.848 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.027) 0:03:32.876 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006453", "end": "2023-12-07 08:48:10.424925", "rc": 0, "start": "2023-12-07 08:48:10.418472" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.196) 0:03:33.072 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.023) 0:03:33.096 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.020) 0:03:33.116 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.026) 0:03:33.142 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004567", "end": "2023-12-07 08:48:10.652354", "rc": 0, "start": "2023-12-07 08:48:10.647787" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.163) 0:03:33.305 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.034) 0:03:33.340 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.031) 0:03:33.372 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.028) 0:03:33.400 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004597", "end": "2023-12-07 08:48:10.933793", "rc": 0, "start": "2023-12-07 08:48:10.929196" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:10 +0000 (0:00:00.193) 0:03:33.594 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.029) 0:03:33.623 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.024) 0:03:33.648 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.095) 0:03:33.743 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004635", "end": "2023-12-07 08:48:11.268247", "rc": 0, "start": "2023-12-07 08:48:11.263612" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.171) 0:03:33.914 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.032) 0:03:33.947 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.026) 0:03:33.973 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.021) 0:03:33.995 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938724.5287402, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938724.4687407, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263441, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938724.4687407, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026502", "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-selinux0mny08pb/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.177) 0:03:34.172 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.025) 0:03:34.198 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701938891.6443584, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701938891.665358, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263442, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701938891.665358, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072337026503", "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-selinux0mny08pb/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.194) 0:03:34.392 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.034) 0:03:34.427 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:48:11 +0000 (0:00:00.060) 0:03:34.487 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:48:09 UTC", "ActiveEnterTimestampMonotonic": "1470231473", "ActiveExitTimestamp": "Thu 2023-12-07 08:47:56 UTC", "ActiveExitTimestampMonotonic": "1457272948", "ActiveState": "active", "After": "auditd.service systemd-journald.socket basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:48:09 UTC", "AssertTimestampMonotonic": "1470230556", "Before": "multi-user.target shutdown.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": "Thu 2023-12-07 08:48:09 UTC", "ConditionTimestampMonotonic": "1470230555", "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": "16874", "ExecMainStartTimestamp": "Thu 2023-12-07 08:48:09 UTC", "ExecMainStartTimestampMonotonic": "1470231406", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:48:09 UTC] ; stop_time=[n/a] ; pid=16874 ; 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": "Thu 2023-12-07 08:47:59 UTC", "InactiveEnterTimestampMonotonic": "1460089835", "InactiveExitTimestamp": "Thu 2023-12-07 08:48:09 UTC", "InactiveExitTimestampMonotonic": "1470231473", "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": "16874", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "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": "Thu 2023-12-07 08:48:09 UTC", "WatchdogTimestampMonotonic": "1470231446", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:48:12 +0000 (0:00:00.319) 0:03:34.806 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.007876", "end": "2023-12-07 08:48:12.388691", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:12.380815" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:48:12 +0000 (0:00:00.230) 0:03:35.037 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003726", "end": "2023-12-07 08:48:12.590771", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:48:12.587045" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:48:12 +0000 (0:00:00.196) 0:03:35.233 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:48:12 +0000 (0:00:00.037) 0:03:35.270 ***** 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": 6889, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:48:30 +0000 (0:00:18.168) 0:03:53.438 ***** 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.022999", "end": "2023-12-07 08:48:30.973963", "rc": 0, "start": "2023-12-07 08:48:30.950964" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:48:30 +0000 (0:00:00.176) 0:03:53.615 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:48:31 +0000 (0:00:00.026) 0:03:53.642 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:48:31 +0000 (0:00:00.039) 0:03:53.681 ***** 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-selinux0mny08pb/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:48:32 +0000 (0:00:01.150) 0:03:54.831 ***** 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-selinux0mny08pb/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:48:32 +0000 (0:00:00.024) 0:03:54.855 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:48:32 +0000 (0:00:00.030) 0:03:54.886 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:48:32 +0000 (0:00:00.035) 0:03:54.922 ***** 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-selinux0mny08pb/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.962) 0:03:55.884 ***** 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-selinux0mny08pb/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.020) 0:03:55.904 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.029) 0:03:55.933 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004451", "end": "2023-12-07 08:48:33.436224", "rc": 0, "start": "2023-12-07 08:48:33.431773" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.165) 0:03:56.099 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.028) 0:03:56.128 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.022) 0:03:56.150 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.032) 0:03:56.183 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004424", "end": "2023-12-07 08:48:33.686043", "rc": 0, "start": "2023-12-07 08:48:33.681619" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.149) 0:03:56.333 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.022) 0:03:56.356 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.089) 0:03:56.445 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.019) 0:03:56.465 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:48:33 +0000 (0:00:00.037) 0:03:56.502 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004455", "end": "2023-12-07 08:48:34.006618", "rc": 0, "start": "2023-12-07 08:48:34.002163" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.147) 0:03:56.650 ***** 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-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.020) 0:03:56.671 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.024) 0:03:56.696 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.018) 0:03:56.714 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.017) 0:03:56.732 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.017) 0:03:56.750 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.018) 0:03:56.769 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.019) 0:03:56.788 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.021) 0:03:56.810 ***** 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-selinux0mny08pb/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.031) 0:03:56.842 ***** 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-selinux0mny08pb/tests/tasks/tests_idempotency.yml:105 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.025) 0:03:56.868 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/check_header.yml:4 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.178) 0:03:57.047 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003142", "end": "2023-12-07 08:48:34.678511", "rc": 0, "start": "2023-12-07 08:48:34.675369" } 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-selinux0mny08pb/tests/tests_idempotency_2017.yml:17 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.370) 0:03:57.417 ***** included: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 08:48:34 +0000 (0:00:00.032) 0:03:57.450 ***** 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-selinux0mny08pb/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 08:48:35 +0000 (0:00:00.953) 0:03:58.404 ***** 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-selinux0mny08pb/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 08:48:35 +0000 (0:00:00.021) 0:03:58.425 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 08:48:35 +0000 (0:00:00.018) 0:03:58.444 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 08:48:35 +0000 (0:00:00.047) 0:03:58.491 ***** included: /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 08:48:35 +0000 (0:00:00.032) 0:03:58.524 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 08:48:35 +0000 (0:00:00.024) 0:03:58.549 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.143) 0:03:58.693 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.023) 0:03:58.716 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.320) 0:03:59.037 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.019) 0:03:59.056 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.022) 0:03:59.079 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:44:22 UTC", "ActiveEnterTimestampMonotonic": "1243815956", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:44:22 UTC", "AssertTimestampMonotonic": "1243311875", "Before": "multi-user.target 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": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:44:22 UTC", "ConditionTimestampMonotonic": "1243311873", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12376", "ExecMainStartTimestamp": "Thu 2023-12-07 08:44:22 UTC", "ExecMainStartTimestampMonotonic": "1243313110", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:44:22 UTC", "InactiveExitTimestampMonotonic": "1243313145", "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": "12376", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "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", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:44:22 UTC", "WatchdogTimestampMonotonic": "1243815897", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.275) 0:03:59.354 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:44:22 UTC", "ActiveEnterTimestampMonotonic": "1243815956", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:44:22 UTC", "AssertTimestampMonotonic": "1243311875", "Before": "multi-user.target 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": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:44:22 UTC", "ConditionTimestampMonotonic": "1243311873", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12376", "ExecMainStartTimestamp": "Thu 2023-12-07 08:44:22 UTC", "ExecMainStartTimestampMonotonic": "1243313110", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:44:22 UTC", "InactiveExitTimestampMonotonic": "1243313145", "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": "12376", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "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", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:44:22 UTC", "WatchdogTimestampMonotonic": "1243815897", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.223) 0:03:59.578 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 08:48:36 +0000 (0:00:00.027) 0:03:59.606 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.132 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.338) 0:03:59.944 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.033) 0:03:59.977 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.033) 0:04:00.010 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.039) 0:04:00.050 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.035) 0:04:00.086 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.023) 0:04:00.109 ***** 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-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.022) 0:04:00.132 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.132 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.366) 0:04:00.498 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.027) 0:04:00.525 ***** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.034) 0:04:00.560 ***** 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-selinux0mny08pb/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.024) 0:04:00.584 ***** 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-selinux0mny08pb/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 08:48:37 +0000 (0:00:00.024) 0:04:00.609 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 08:48:38 +0000 (0:00:00.315) 0:04:00.924 ***** 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:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @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 msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 08:48:41 +0000 (0:00:02.865) 0:04:03.790 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.008407", "end": "2023-12-07 08:48:41.315466", "rc": 0, "start": "2023-12-07 08:48:41.307059" } STDOUT: removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed directory: ‘/var/opt/mssql/FTData’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/00987482-ef43-4efd-a4dd-bdc8b00f5585’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed directory: ‘/var/opt/mssql/.system/system’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-660862708-1165765981-2858389208-500/42e7704ae40b0d75de00736cc66b813a_0e313a97-0fc6-442c-9142-c0fe213b7174’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-660862708-1165765981-2858389208-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-660862708-1165765981-2858389208-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-660862708-1165765981-2858389208-500/f4f6fcd2-1d88-4d4f-8da4-90a649228b64’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-660862708-1165765981-2858389208-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/log_8.trc’ removed ‘/var/opt/mssql/log/system_health_0_133464124491500000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133464123239820000.xel’ removed ‘/var/opt/mssql/log/errorlog.9’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124038700000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/system_health_0_133464123310240000.xel’ removed ‘/var/opt/mssql/log/sqlagent.4’ removed ‘/var/opt/mssql/log/errorlog.10’ removed ‘/var/opt/mssql/log/system_health_0_133464124682850000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133464124148820000.xel’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124826180000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464123306150000.xel’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124554420000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133464123877820000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124145430000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133464124556820000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133464124040810000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/log_9.trc’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464123231070000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124487580000.xel’ removed ‘/var/opt/mssql/log/sqlagent.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124679210000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/system_health_0_133464124828330000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464124916620000.xel’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133464123874710000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133464124921740000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 08:48:41 +0000 (0:00:00.202) 0:04:03.993 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.302758", "end": "2023-12-07 08:48:42.820627", "rc": 0, "start": "2023-12-07 08:48:41.517869" } PLAY RECAP ********************************************************************* sut : ok=347 changed=44 unreachable=0 failed=0 skipped=498 rescued=0 ignored=3 Thursday 07 December 2023 08:48:42 +0000 (0:00:01.610) 0:04:05.604 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 38.48s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 26.27s /WORKDIR/git-storage-selinux0mny08pb/.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-selinux0mny08pb/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.17s /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Ensure the package powershell -------- 11.91s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 8.37s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 5.73s /WORKDIR/git-storage-selinux0mny08pb/.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.26s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Change the password of sa user -------- 4.94s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 4.91s /WORKDIR/git-storage-selinux0mny08pb/.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 --- 4.88s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Change the password of sa user -------- 3.70s /WORKDIR/git-storage-selinux0mny08pb/.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 --- 3.05s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Remove related packages ------------------------------------------------- 2.87s /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled --- 2.17s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Stop the mssql-server service ------------------------------------------- 1.61s /WORKDIR/git-storage-selinux0mny08pb/tests/tasks/cleanup.yml:72 --------------- fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.49s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.35s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.27s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.22s /WORKDIR/git-storage-selinux0mny08pb/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---