# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-storage-selinux7v0a56uc/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_tls_2017.yml *************************************************** 2 plays in /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_tls_2017.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_tls_2017.yml:4 Thursday 07 December 2023 09:11:25 +0000 (0:00:00.025) 0:00:00.025 ***** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_tls_2017.yml:9 Thursday 07 December 2023 09:11:25 +0000 (0:00:00.029) 0:00:00.054 ***** ok: [sut] TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_tls_2017.yml:22 Thursday 07 December 2023 09:11:26 +0000 (0:00:00.844) 0:00:00.898 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:2 Thursday 07 December 2023 09:11:26 +0000 (0:00:00.017) 0:00:00.916 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 09:11:26 +0000 (0:00:00.010) 0:00:00.927 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 09:11:27 +0000 (0:00:00.338) 0:00:01.265 ***** skipping: [sut] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('7', '=') and mssql_version | int == 2022) or (ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('9', '=') and mssql_version | int != 2022)", "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 07 December 2023 09:11:27 +0000 (0:00:00.019) 0:00:01.284 ***** 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 [Ensure the openssl package] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:5 Thursday 07 December 2023 09:11:27 +0000 (0:00:00.017) 0:00:01.302 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a tempfile for a certificate on hosts] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:11 Thursday 07 December 2023 09:11:28 +0000 (0:00:01.300) 0:00:02.603 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.l6oc4gca", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:17 Thursday 07 December 2023 09:11:28 +0000 (0:00:00.234) 0:00:02.838 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible._8juv7h1", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:23 Thursday 07 December 2023 09:11:28 +0000 (0:00:00.184) 0:00:03.022 ***** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.14.223", "-out", "/tmp/ansible.l6oc4gca", "-keyout", "/tmp/ansible._8juv7h1", "-days", "365" ], "delta": "0:00:00.151132", "end": "2023-12-07 09:11:29.213690", "rc": 0, "start": "2023-12-07 09:11:29.062558" } STDERR: Generating a RSA private key ...................+++++ .....................................................................................................+++++ writing new private key to '/tmp/ansible._8juv7h1' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:32 Thursday 07 December 2023 09:11:29 +0000 (0:00:00.413) 0:00:03.436 ***** changed: [sut] => (item=/tmp/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e25ca71c2496976938ee43a514fbf174435f32b", "dest": "/tmp/ansible.l6oc4gca", "item": "/tmp/ansible.l6oc4gca", "md5sum": "fbab98fd79d61f2e1e8bfdd5feb1e517", "remote_checksum": "1e25ca71c2496976938ee43a514fbf174435f32b", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": true, "checksum": "13229792adda67437bc76e67b94bd07db95b569b", "dest": "/tmp/ansible._8juv7h1", "item": "/tmp/ansible._8juv7h1", "md5sum": "bcdc17f530e08bda764720acf9c87d94", "remote_checksum": "13229792adda67437bc76e67b94bd07db95b569b", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:44 Thursday 07 December 2023 09:11:29 +0000 (0:00:00.541) 0:00:03.977 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "13229792adda67437bc76e67b94bd07db95b569b", "dest": "./ansible._8juv7h1", "gid": 1001, "group": "jenkins", "md5sum": "bcdc17f530e08bda764720acf9c87d94", "mode": "0600", "owner": "jenkins", "size": 1708, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701940289.815469-18319-37805434117932/source", "state": "file", "uid": 1000090000 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:52 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.373) 0:00:04.351 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.l6oc4gca", "mssql_tls_private_key": "ansible._8juv7h1" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:59 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.031) 0:00:04.382 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.104) 0:00:04.487 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.011) 0:00:04.498 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.020) 0:00:04.518 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.042) 0:00:04.561 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.012) 0:00:04.573 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.011) 0:00:04.585 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.016) 0:00:04.602 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.014) 0:00:04.616 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.020) 0:00:04.637 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.013) 0:00:04.651 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.017) 0:00:04.669 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.020) 0:00:04.689 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.027) 0:00:04.717 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.025) 0:00:04.742 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.027) 0:00:04.769 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.022) 0:00:04.792 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:11:30 +0000 (0:00:00.021) 0:00:04.813 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:11:32 +0000 (0:00:01.428) 0:00:06.241 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.034) 0:00:06.276 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.019) 0:00:06.295 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.028) 0:00:06.324 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.036) 0:00:06.360 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.507) 0:00:06.867 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.019) 0:00:06.887 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.034) 0:00:06.922 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:11:32 +0000 (0:00:00.019) 0:00:06.942 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:11:33 +0000 (0:00:00.267) 0:00:07.209 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:11:33 +0000 (0:00:00.027) 0:00:07.237 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:11:33 +0000 (0:00:00.025) 0:00:07.262 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:11:33 +0000 (0:00:00.026) 0:00:07.289 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:11:33 +0000 (0:00:00.031) 0:00:07.321 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:11:33 +0000 (0:00:00.031) 0:00:07.352 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:12:07 +0000 (0:00:34.605) 0:00:41.957 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:12:07 +0000 (0:00:00.016) 0:00:41.974 ***** 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.005390", "end": "2023-12-07 09:12:07.957075", "rc": 0, "start": "2023-12-07 09:12:07.951685" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:12:07 +0000 (0:00:00.197) 0:00:42.172 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:12:22 +0000 (0:00:14.662) 0:00:56.835 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:12:22 +0000 (0:00:00.036) 0:00:56.871 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:12:22 +0000 (0:00:00.027) 0:00:56.899 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:12:27 +0000 (0:00:04.720) 0:01:01.620 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:12:27 +0000 (0:00:00.023) 0:01:01.643 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:12:27 +0000 (0:00:00.025) 0:01:01.669 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:12:28 +0000 (0:00:01.358) 0:01:03.027 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:51 UTC", "ActiveEnterTimestampMonotonic": "19722395", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target sysinit.target network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:50 UTC", "AssertTimestampMonotonic": "18331182", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ConditionTimestampMonotonic": "18331180", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "689", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ExecMainStartTimestampMonotonic": "18332254", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:50 UTC", "InactiveExitTimestampMonotonic": "18332309", "InvocationID": "6fe6063ed3fd4b448d8ea53e507a895e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "689", "MemoryAccounting": "yes", "MemoryCurrent": "22528000", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice dbus.service sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:51 UTC", "StateChangeTimestampMonotonic": "19722395", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:39:51 UTC", "WatchdogTimestampMonotonic": "19722392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:12:29 +0000 (0:00:00.650) 0:01:03.677 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.137619", "end": "2023-12-07 09:12:29.801418", "rc": 0, "start": "2023-12-07 09:12:29.663799" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:12:29 +0000 (0:00:00.348) 0:01:04.026 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:12:29 +0000 (0:00:00.019) 0:01:04.045 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:12:29 +0000 (0:00:00.020) 0:01:04.066 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:12:29 +0000 (0:00:00.018) 0:01:04.085 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:12:30 +0000 (0:00:00.303) 0:01:04.388 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:12:32 +0000 (0:00:02.373) 0:01:06.762 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.022) 0:01:06.785 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.021) 0:01:06.806 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.022) 0:01:06.829 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.022) 0:01:06.851 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.021) 0:01:06.873 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.022) 0:01:06.895 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.021) 0:01:06.917 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.027) 0:01:06.944 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.029) 0:01:06.973 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.048) 0:01:07.022 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.021) 0:01:07.043 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.029) 0:01:07.072 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.025) 0:01:07.098 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.045) 0:01:07.144 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:12:32 +0000 (0:00:00.029) 0:01:07.173 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.032) 0:01:07.206 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003396", "end": "2023-12-07 09:12:33.194838", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:33.191442" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.204) 0:01:07.411 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047769", "end": "2023-12-07 09:12:33.448373", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:12:33.400604" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.260) 0:01:07.671 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.020) 0:01:07.692 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.027) 0:01:07.719 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.023) 0:01:07.742 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.023) 0:01:07.766 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.021) 0:01:07.788 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.021) 0:01:07.809 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.022) 0:01:07.831 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.047) 0:01:07.879 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.024) 0:01:07.903 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.021) 0:01:07.924 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.032) 0:01:07.957 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:12:33 +0000 (0:00:00.031) 0:01:07.988 ***** changed: [sut] => (item=/tmp/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e25ca71c2496976938ee43a514fbf174435f32b", "dest": "/etc/pki/tls/certs/ansible.l6oc4gca", "gid": 988, "group": "mssql", "item": "/tmp/ansible.l6oc4gca", "md5sum": "fbab98fd79d61f2e1e8bfdd5feb1e517", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1123, "src": "/root/.ansible/tmp/ansible-tmp-1701940353.8477533-19085-223886984405088/source", "state": "file", "uid": 990 } changed: [sut] => (item=ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": true, "checksum": "13229792adda67437bc76e67b94bd07db95b569b", "dest": "/etc/pki/tls/private/ansible._8juv7h1", "gid": 988, "group": "mssql", "item": "ansible._8juv7h1", "md5sum": "bcdc17f530e08bda764720acf9c87d94", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/root/.ansible/tmp/ansible-tmp-1701940354.336146-19085-167614621180630/source", "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:12:34 +0000 (0:00:01.026) 0:01:09.015 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:12:34 +0000 (0:00:00.035) 0:01:09.051 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003090", "end": "2023-12-07 09:12:35.042357", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:35.039267" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.208) 0:01:09.260 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.l6oc4gca" ], "delta": "0:00:00.046793", "end": "2023-12-07 09:12:35.299612", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:12:35.252819" } 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 tlscert] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.259) 0:01:09.519 ***** 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 tlskey setting] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.032) 0:01:09.552 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.036) 0:01:09.589 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002863", "end": "2023-12-07 09:12:35.578462", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:35.575599" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.206) 0:01:09.795 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible._8juv7h1" ], "delta": "0:00:00.046551", "end": "2023-12-07 09:12:35.841943", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:12:35.795392" } 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 tlskey] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.265) 0:01:10.060 ***** 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 tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.031) 0:01:10.092 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:12:35 +0000 (0:00:00.062) 0:01:10.154 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003011", "end": "2023-12-07 09:12:36.144781", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:36.141770" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.207) 0:01:10.362 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.046965", "end": "2023-12-07 09:12:36.400163", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:12:36.353198" } 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 tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.257) 0:01:10.619 ***** 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 forceencryption setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.021) 0:01:10.641 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.038) 0:01:10.680 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003035", "end": "2023-12-07 09:12:36.669724", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:36.666689" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.206) 0:01:10.886 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046826", "end": "2023-12-07 09:12:36.927828", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:12:36.881002" } 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 forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.261) 0:01:11.148 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:12:36 +0000 (0:00:00.023) 0:01:11.171 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.027) 0:01:11.199 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.025) 0:01:11.225 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.025) 0:01:11.250 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.035) 0:01:11.285 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.306 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.018) 0:01:11.324 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.018) 0:01:11.342 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.043) 0:01:11.385 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.405 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.018) 0:01:11.424 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.017) 0:01:11.442 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.463 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.028) 0:01:11.491 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.512 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.019) 0:01:11.531 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.019) 0:01:11.551 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.021) 0:01:11.573 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.027) 0:01:11.600 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.024) 0:01:11.625 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.031) 0:01:11.656 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.024) 0:01:11.681 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.701 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.024) 0:01:11.725 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.049) 0:01:11.774 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.021) 0:01:11.796 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.816 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.022) 0:01:11.839 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.022) 0:01:11.862 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.883 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.024) 0:01:11.907 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.024) 0:01:11.932 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.952 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:11.972 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.019) 0:01:11.992 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.026) 0:01:12.018 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.025) 0:01:12.044 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.036) 0:01:12.080 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.023) 0:01:12.104 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.020) 0:01:12.125 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:12:37 +0000 (0:00:00.021) 0:01:12.146 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.056) 0:01:12.202 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.026) 0:01:12.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.022) 0:01:12.250 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.021) 0:01:12.272 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.021) 0:01:12.293 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.019) 0:01:12.313 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.026) 0:01:12.339 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.020) 0:01:12.360 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.020) 0:01:12.380 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.020) 0:01:12.400 ***** changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.331) 0:01:12.731 ***** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:12:38 +0000 (0:00:00.021) 0:01:12.753 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:12:27 UTC", "ActiveEnterTimestampMonotonic": "1975253678", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target -.mount basic.target auditd.service systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:12:27 UTC", "AssertTimestampMonotonic": "1975252522", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:12:27 UTC", "ConditionTimestampMonotonic": "1975252520", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "45028", "ExecMainStartTimestamp": "Thu 2023-12-07 09:12:27 UTC", "ExecMainStartTimestampMonotonic": "1975253611", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 09:12:27 UTC", "InactiveExitTimestampMonotonic": "1975253678", "InvocationID": "fdf48dd76a9541b4a67d7b04b38f6fcf", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "45028", "MemoryAccounting": "yes", "MemoryCurrent": "637820928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:12:27 UTC", "StateChangeTimestampMonotonic": "1975253678", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "137", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:12:27 UTC", "WatchdogTimestampMonotonic": "1975253675", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:12:40 +0000 (0:00:02.268) 0:01:15.022 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:12:40 +0000 (0:00:00.018) 0:01:15.040 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:68 Thursday 07 December 2023 09:12:40 +0000 (0:00:00.027) 0:01:15.068 ***** changed: [sut -> localhost] => { "changed": true, "path": "ansible._8juv7h1", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:75 Thursday 07 December 2023 09:12:41 +0000 (0:00:00.243) 0:01:15.311 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 07 December 2023 09:12:41 +0000 (0:00:00.030) 0:01:15.342 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 07 December 2023 09:12:41 +0000 (0:00:00.260) 0:01:15.602 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 07 December 2023 09:12:41 +0000 (0:00:00.208) 0:01:15.811 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:78 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.575) 0:01:16.387 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.039) 0:01:16.426 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.020) 0:01:16.447 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.019) 0:01:16.466 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.019) 0:01:16.485 ***** skipping: [sut] => { "changed": false, "false_condition": "item.value is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.020) 0:01:16.506 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.020) 0:01:16.526 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.018) 0:01:16.544 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.018) 0:01:16.562 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.017) 0:01:16.580 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.058) 0:01:16.639 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:12:40 UTC", "ActiveEnterTimestampMonotonic": "1988808436", "ActiveExitTimestamp": "Thu 2023-12-07 09:12:38 UTC", "ActiveExitTimestampMonotonic": "1986896434", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:12:40 UTC", "AssertTimestampMonotonic": "1988807016", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:12:40 UTC", "ConditionTimestampMonotonic": "1988807014", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "46152", "ExecMainStartTimestamp": "Thu 2023-12-07 09:12:40 UTC", "ExecMainStartTimestampMonotonic": "1988808382", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:12:40 UTC", "InactiveEnterTimestampMonotonic": "1988805737", "InactiveExitTimestamp": "Thu 2023-12-07 09:12:40 UTC", "InactiveExitTimestampMonotonic": "1988808436", "InvocationID": "f46d0aca67ec481798c3ac74cff70d8a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46152", "MemoryAccounting": "yes", "MemoryCurrent": "465522688", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:12:40 UTC", "StateChangeTimestampMonotonic": "1988808436", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "89", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:12:40 UTC", "WatchdogTimestampMonotonic": "1988808434", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:12:42 +0000 (0:00:00.393) 0:01:17.032 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003127", "end": "2023-12-07 09:12:43.032153", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:43.029026" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:12:43 +0000 (0:00:00.215) 0:01:17.248 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005354", "end": "2023-12-07 09:12:43.255485", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:12:43.250131" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:12:43 +0000 (0:00:00.230) 0:01:17.479 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 09:12:43 +0000 (0:00:00.036) 0:01:17.516 ***** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 6373, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 09:13:01 +0000 (0:00:18.367) 0:01:35.883 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.036768", "end": "2023-12-07 09:13:01.898162", "rc": 0, "start": "2023-12-07 09:13:01.861394" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 09:13:01 +0000 (0:00:00.232) 0:01:36.115 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 09:13:01 +0000 (0:00:00.022) 0:01:36.138 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_fts_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 09:13:01 +0000 (0:00:00.020) 0:01:36.159 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_powershell_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 09:13:01 +0000 (0:00:00.019) 0:01:36.178 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.018) 0:01:36.196 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.018) 0:01:36.215 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.018) 0:01:36.233 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.017) 0:01:36.251 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.045) 0:01:36.296 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.032) 0:01:36.329 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004147", "end": "2023-12-07 09:13:02.310973", "rc": 0, "start": "2023-12-07 09:13:02.306826" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.l6oc4gca TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.197) 0:01:36.527 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.027) 0:01:36.555 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.l6oc4gca] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.024) 0:01:36.579 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.020) 0:01:36.599 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.033) 0:01:36.633 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004346", "end": "2023-12-07 09:13:02.613304", "rc": 0, "start": "2023-12-07 09:13:02.608958" } STDOUT: tlskey = /etc/pki/tls/private/ansible._8juv7h1 TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.196) 0:01:36.829 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.027) 0:01:36.857 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible._8juv7h1] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.022) 0:01:36.880 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.018) 0:01:36.899 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.033) 0:01:36.933 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004366", "end": "2023-12-07 09:13:02.914483", "rc": 0, "start": "2023-12-07 09:13:02.910117" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.198) 0:01:37.131 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:02 +0000 (0:00:00.025) 0:01:37.157 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.048) 0:01:37.205 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.020) 0:01:37.226 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.034) 0:01:37.260 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004148", "end": "2023-12-07 09:13:03.240295", "rc": 0, "start": "2023-12-07 09:13:03.236147" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.195) 0:01:37.456 ***** 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 forceencryption] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.476 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.024) 0:01:37.501 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.520 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.539 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.559 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:85 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.018) 0:01:37.577 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.107) 0:01:37.684 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.056) 0:01:37.740 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.025) 0:01:37.766 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.034) 0:01:37.800 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.020) 0:01:37.820 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.839 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.018) 0:01:37.858 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.877 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:37.896 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.018) 0:01:37.915 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.018) 0:01:37.934 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.022) 0:01:37.956 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.017) 0:01:37.974 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.017) 0:01:37.992 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.018) 0:01:38.010 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.018) 0:01:38.028 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:13:03 +0000 (0:00:00.019) 0:01:38.048 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:13:05 +0000 (0:00:01.313) 0:01:39.361 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.056) 0:01:39.418 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.019) 0:01:39.438 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.023) 0:01:39.461 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.037) 0:01:39.498 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.402) 0:01:39.901 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.020) 0:01:39.922 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.021) 0:01:39.943 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.021) 0:01:39.964 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.022) 0:01:39.986 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.018) 0:01:40.005 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.018) 0:01:40.024 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.017) 0:01:40.041 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.018) 0:01:40.060 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:13:05 +0000 (0:00:00.050) 0:01:40.111 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:13:07 +0000 (0:00:01.222) 0:01:41.334 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:13:07 +0000 (0:00:00.020) 0:01:41.354 ***** 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.005309", "end": "2023-12-07 09:13:07.334633", "rc": 0, "start": "2023-12-07 09:13:07.329324" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:13:07 +0000 (0:00:00.197) 0:01:41.551 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:13:11 +0000 (0:00:04.527) 0:01:46.078 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:13:11 +0000 (0:00:00.028) 0:01:46.107 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:13:11 +0000 (0:00:00.019) 0:01:46.127 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:13:11 +0000 (0:00:00.020) 0:01:46.147 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:13:11 +0000 (0:00:00.023) 0:01:46.171 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:13:12 +0000 (0:00:00.021) 0:01:46.193 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:13:13 +0000 (0:00:01.212) 0:01:47.405 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:51 UTC", "ActiveEnterTimestampMonotonic": "19722395", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice network.target polkit.service dbus.socket systemd-sysctl.service basic.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:50 UTC", "AssertTimestampMonotonic": "18331182", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ConditionTimestampMonotonic": "18331180", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service auto-cpufreq.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "689", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ExecMainStartTimestampMonotonic": "18332254", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:50 UTC", "InactiveExitTimestampMonotonic": "18332309", "InvocationID": "6fe6063ed3fd4b448d8ea53e507a895e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "689", "MemoryAccounting": "yes", "MemoryCurrent": "22937600", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:51 UTC", "StateChangeTimestampMonotonic": "19722395", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:39:51 UTC", "WatchdogTimestampMonotonic": "19722392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:13:13 +0000 (0:00:00.336) 0:01:47.742 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114308", "end": "2023-12-07 09:13:13.830949", "rc": 0, "start": "2023-12-07 09:13:13.716641" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:13:13 +0000 (0:00:00.307) 0:01:48.049 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:13:13 +0000 (0:00:00.022) 0:01:48.071 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:13:13 +0000 (0:00:00.021) 0:01:48.093 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:13:13 +0000 (0:00:00.021) 0:01:48.115 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:13:14 +0000 (0:00:00.240) 0:01:48.355 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:13:15 +0000 (0:00:01.212) 0:01:49.567 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.021) 0:01:49.589 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.022) 0:01:49.611 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.021) 0:01:49.632 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.021) 0:01:49.654 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.028) 0:01:49.682 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.020) 0:01:49.703 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.019) 0:01:49.723 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.019) 0:01:49.742 ***** 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.004806", "end": "2023-12-07 09:13:15.724645", "rc": 0, "start": "2023-12-07 09:13:15.719839" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.197) 0:01:49.940 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:13:15 +0000 (0:00:00.021) 0:01:49.962 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:13:17 +0000 (0:00:01.251) 0:01:51.214 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.021) 0:01:51.235 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.047) 0:01:51.283 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.019) 0:01:51.303 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.019) 0:01:51.322 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.031) 0:01:51.354 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002906", "end": "2023-12-07 09:13:17.332407", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:13:17.329501" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.194) 0:01:51.549 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046730", "end": "2023-12-07 09:13:17.577260", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:17.530530" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.249) 0:01:51.798 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.817 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.835 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.019) 0:01:51.855 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.019) 0:01:51.874 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.893 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.019) 0:01:51.912 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.930 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.949 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.968 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.018) 0:01:51.986 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.047) 0:01:52.034 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.020) 0:01:52.055 ***** skipping: [sut] => (item=/tmp/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "/tmp/ansible.l6oc4gca", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "ansible._8juv7h1", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.024) 0:01:52.080 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:13:17 +0000 (0:00:00.036) 0:01:52.117 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002796", "end": "2023-12-07 09:13:18.098616", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:18.095820" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.l6oc4gca TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.199) 0:01:52.316 ***** 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 tlscert] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.027) 0:01:52.344 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.046263", "end": "2023-12-07 09:13:18.368881", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:18.322618" } 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 tlskey setting] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.245) 0:01:52.589 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.035) 0:01:52.624 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002875", "end": "2023-12-07 09:13:18.605029", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:18.602154" } STDOUT: tlskey = /etc/pki/tls/private/ansible._8juv7h1 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.198) 0:01:52.822 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.025) 0:01:52.848 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.046170", "end": "2023-12-07 09:13:18.873366", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:18.827196" } 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 tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.245) 0:01:53.093 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:13:18 +0000 (0:00:00.036) 0:01:53.129 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002920", "end": "2023-12-07 09:13:19.109738", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:19.106818" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.197) 0:01:53.327 ***** 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 tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.057) 0:01:53.384 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047379", "end": "2023-12-07 09:13:19.411268", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:19.363889" } 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 forceencryption setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.246) 0:01:53.630 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.037) 0:01:53.668 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002910", "end": "2023-12-07 09:13:19.647863", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:19.644953" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.197) 0:01:53.865 ***** 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 forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.026) 0:01:53.892 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046744", "end": "2023-12-07 09:13:19.919419", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:13:19.872675" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.247) 0:01:54.139 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.020) 0:01:54.159 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:13:19 +0000 (0:00:00.019) 0:01:54.179 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.199 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.022) 0:01:54.222 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.021) 0:01:54.244 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.263 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.282 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.301 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.319 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.017) 0:01:54.337 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.048) 0:01:54.385 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.406 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.424 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.443 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.463 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.017) 0:01:54.481 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.499 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.517 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.017) 0:01:54.535 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.554 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.575 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.595 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.615 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.636 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.655 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.675 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.054) 0:01:54.729 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.749 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.769 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.024) 0:01:54.793 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.813 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.832 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.852 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.871 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.892 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.912 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:54.932 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.952 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:54.972 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:54.991 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.018) 0:01:55.010 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.023) 0:01:55.034 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.019) 0:01:55.053 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.058) 0:01:55.111 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.020) 0:01:55.132 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.030) 0:01:55.162 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:13:20 +0000 (0:00:00.025) 0:01:55.187 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:13:21 +0000 (0:00:00.032) 0:01:55.220 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:13:21 +0000 (0:00:00.033) 0:01:55.253 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:13:21 +0000 (0:00:00.024) 0:01:55.278 ***** changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:13:21 +0000 (0:00:00.256) 0:01:55.534 ***** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:13:21 +0000 (0:00:00.021) 0:01:55.555 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:12:40 UTC", "ActiveEnterTimestampMonotonic": "1988808436", "ActiveExitTimestamp": "Thu 2023-12-07 09:12:38 UTC", "ActiveExitTimestampMonotonic": "1986896434", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:12:40 UTC", "AssertTimestampMonotonic": "1988807016", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:12:40 UTC", "ConditionTimestampMonotonic": "1988807014", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "46152", "ExecMainStartTimestamp": "Thu 2023-12-07 09:12:40 UTC", "ExecMainStartTimestampMonotonic": "1988808382", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:12:40 UTC", "InactiveEnterTimestampMonotonic": "1988805737", "InactiveExitTimestamp": "Thu 2023-12-07 09:12:40 UTC", "InactiveExitTimestampMonotonic": "1988808436", "InvocationID": "f46d0aca67ec481798c3ac74cff70d8a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46152", "MemoryAccounting": "yes", "MemoryCurrent": "637194240", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:12:40 UTC", "StateChangeTimestampMonotonic": "1988808436", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "140", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:12:40 UTC", "WatchdogTimestampMonotonic": "1988808434", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.742) 0:01:56.298 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.018) 0:01:56.316 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:92 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.029) 0:01:56.345 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.105) 0:01:56.451 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.019) 0:01:56.471 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.019) 0:01:56.490 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.019) 0:01:56.510 ***** skipping: [sut] => { "changed": false, "false_condition": "item.value is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.018) 0:01:56.529 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.019) 0:01:56.548 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.019) 0:01:56.567 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.018) 0:01:56.586 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.019) 0:01:56.605 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.036) 0:01:56.641 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:13:22 UTC", "ActiveEnterTimestampMonotonic": "2030091775", "ActiveExitTimestamp": "Thu 2023-12-07 09:13:21 UTC", "ActiveExitTimestampMonotonic": "2029690172", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:13:22 UTC", "AssertTimestampMonotonic": "2030090659", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:13:22 UTC", "ConditionTimestampMonotonic": "2030090657", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47142", "ExecMainStartTimestamp": "Thu 2023-12-07 09:13:22 UTC", "ExecMainStartTimestampMonotonic": "2030091709", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:13:22 UTC] ; stop_time=[n/a] ; pid=47142 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:13:22 UTC", "InactiveEnterTimestampMonotonic": "2030089591", "InactiveExitTimestamp": "Thu 2023-12-07 09:13:22 UTC", "InactiveExitTimestampMonotonic": "2030091775", "InvocationID": "28b88c1593e7421ea7c868b8da8bfdb1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47142", "MemoryAccounting": "yes", "MemoryCurrent": "116797440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:13:22 UTC", "StateChangeTimestampMonotonic": "2030091775", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "36", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:13:22 UTC", "WatchdogTimestampMonotonic": "2030091766", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:13:22 +0000 (0:00:00.364) 0:01:57.005 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003122", "end": "2023-12-07 09:13:23.018978", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:13:23.015856" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:13:23 +0000 (0:00:00.229) 0:01:57.235 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004086", "end": "2023-12-07 09:13:23.239749", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:13:23.235663" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:13:23 +0000 (0:00:00.226) 0:01:57.461 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 09:13:23 +0000 (0:00:00.038) 0:01:57.500 ***** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 6279, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 09:13:41 +0000 (0:00:18.225) 0:02:15.725 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030438", "end": "2023-12-07 09:13:41.730968", "rc": 0, "start": "2023-12-07 09:13:41.700530" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.254) 0:02:15.979 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.022) 0:02:16.002 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_fts_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.019) 0:02:16.021 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_powershell_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.019) 0:02:16.040 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.019) 0:02:16.059 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.018) 0:02:16.078 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.019) 0:02:16.098 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.020) 0:02:16.118 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.018) 0:02:16.137 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:41 +0000 (0:00:00.032) 0:02:16.170 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004232", "end": "2023-12-07 09:13:42.150640", "rc": 0, "start": "2023-12-07 09:13:42.146408" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.197) 0:02:16.367 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.028) 0:02:16.396 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.023) 0:02:16.419 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.018) 0:02:16.438 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.062) 0:02:16.501 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004129", "end": "2023-12-07 09:13:42.482992", "rc": 0, "start": "2023-12-07 09:13:42.478863" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.197) 0:02:16.699 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.028) 0:02:16.728 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.024) 0:02:16.752 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.019) 0:02:16.771 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.035) 0:02:16.807 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004222", "end": "2023-12-07 09:13:42.787008", "rc": 0, "start": "2023-12-07 09:13:42.782786" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.196) 0:02:17.003 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.026) 0:02:17.030 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.023) 0:02:17.054 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.019) 0:02:17.073 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:13:42 +0000 (0:00:00.036) 0:02:17.109 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004249", "end": "2023-12-07 09:13:43.089239", "rc": 0, "start": "2023-12-07 09:13:43.084990" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.197) 0:02:17.306 ***** 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 forceencryption] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.020) 0:02:17.327 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.025) 0:02:17.353 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.019) 0:02:17.372 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.049) 0:02:17.422 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.020) 0:02:17.442 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:99 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.018) 0:02:17.461 ***** changed: [sut] => (item=/etc/pki/tls/certs/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.l6oc4gca", "path": "/etc/pki/tls/certs/ansible.l6oc4gca", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible._8juv7h1", "path": "/etc/pki/tls/private/ansible._8juv7h1", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:107 Thursday 07 December 2023 09:13:43 +0000 (0:00:00.376) 0:02:17.838 ***** ok: [sut] => (item=/tmp/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": false, "checksum": "1e25ca71c2496976938ee43a514fbf174435f32b", "dest": "/tmp/ansible.l6oc4gca", "gid": 0, "group": "root", "item": "/tmp/ansible.l6oc4gca", "mode": "0600", "owner": "root", "path": "/tmp/ansible.l6oc4gca", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1123, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": false, "checksum": "13229792adda67437bc76e67b94bd07db95b569b", "dest": "/tmp/ansible._8juv7h1", "gid": 0, "group": "root", "item": "/tmp/ansible._8juv7h1", "mode": "0600", "owner": "root", "path": "/tmp/ansible._8juv7h1", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1708, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:116 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.880) 0:02:18.718 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.l6oc4gca", "mssql_tls_private_key": "ansible._8juv7h1" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:121 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.021) 0:02:18.740 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.187) 0:02:18.927 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.031) 0:02:18.958 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.024) 0:02:18.983 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.035) 0:02:19.018 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.054) 0:02:19.072 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.020) 0:02:19.092 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.020) 0:02:19.113 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.019) 0:02:19.132 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.018) 0:02:19.151 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:13:44 +0000 (0:00:00.019) 0:02:19.171 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.019) 0:02:19.191 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.022) 0:02:19.213 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.019) 0:02:19.232 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.020) 0:02:19.253 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.019) 0:02:19.272 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.020) 0:02:19.293 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:13:45 +0000 (0:00:00.021) 0:02:19.314 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:13:46 +0000 (0:00:01.249) 0:02:20.563 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:13:46 +0000 (0:00:00.129) 0:02:20.693 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:13:46 +0000 (0:00:00.020) 0:02:20.713 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:13:46 +0000 (0:00:00.024) 0:02:20.737 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:13:46 +0000 (0:00:00.037) 0:02:20.775 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:13:46 +0000 (0:00:00.401) 0:02:21.176 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.021) 0:02:21.197 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.021) 0:02:21.219 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.020) 0:02:21.240 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.023) 0:02:21.263 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.019) 0:02:21.282 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.018) 0:02:21.301 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.018) 0:02:21.319 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.020) 0:02:21.340 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:13:47 +0000 (0:00:00.019) 0:02:21.359 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:13:48 +0000 (0:00:01.207) 0:02:22.567 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:13:48 +0000 (0:00:00.019) 0:02:22.586 ***** 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.005371", "end": "2023-12-07 09:13:48.568102", "rc": 0, "start": "2023-12-07 09:13:48.562731" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:13:48 +0000 (0:00:00.197) 0:02:22.784 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:14:05 +0000 (0:00:16.635) 0:02:39.419 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:14:05 +0000 (0:00:00.029) 0:02:39.448 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:14:05 +0000 (0:00:00.019) 0:02:39.468 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:14:05 +0000 (0:00:00.018) 0:02:39.486 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:14:05 +0000 (0:00:00.023) 0:02:39.510 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:14:05 +0000 (0:00:00.019) 0:02:39.529 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:14:06 +0000 (0:00:01.243) 0:02:40.772 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:51 UTC", "ActiveEnterTimestampMonotonic": "19722395", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice network.target polkit.service dbus.socket systemd-sysctl.service basic.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:50 UTC", "AssertTimestampMonotonic": "18331182", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ConditionTimestampMonotonic": "18331180", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service auto-cpufreq.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "689", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ExecMainStartTimestampMonotonic": "18332254", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:50 UTC", "InactiveExitTimestampMonotonic": "18332309", "InvocationID": "6fe6063ed3fd4b448d8ea53e507a895e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "689", "MemoryAccounting": "yes", "MemoryCurrent": "22925312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:51 UTC", "StateChangeTimestampMonotonic": "19722395", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:39:51 UTC", "WatchdogTimestampMonotonic": "19722392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:14:06 +0000 (0:00:00.343) 0:02:41.116 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115416", "end": "2023-12-07 09:14:07.209011", "rc": 0, "start": "2023-12-07 09:14:07.093595" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:14:07 +0000 (0:00:00.311) 0:02:41.427 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:14:07 +0000 (0:00:00.019) 0:02:41.446 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:14:07 +0000 (0:00:00.018) 0:02:41.465 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:14:07 +0000 (0:00:00.018) 0:02:41.483 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:14:07 +0000 (0:00:00.201) 0:02:41.685 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:14:08 +0000 (0:00:01.241) 0:02:42.926 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.020) 0:02:42.946 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.019) 0:02:42.966 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.054) 0:02:43.021 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.021) 0:02:43.042 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.019) 0:02:43.062 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.020) 0:02:43.083 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.018) 0:02:43.101 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:14:08 +0000 (0:00:00.018) 0:02:43.120 ***** 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.004909", "end": "2023-12-07 09:14:09.105246", "rc": 0, "start": "2023-12-07 09:14:09.100337" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:14:09 +0000 (0:00:00.204) 0:02:43.324 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:14:09 +0000 (0:00:00.021) 0:02:43.346 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:14:10 +0000 (0:00:01.266) 0:02:44.613 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:14:10 +0000 (0:00:00.023) 0:02:44.636 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:14:10 +0000 (0:00:00.020) 0:02:44.656 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:14:10 +0000 (0:00:00.020) 0:02:44.677 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:14:10 +0000 (0:00:00.020) 0:02:44.697 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:14:10 +0000 (0:00:00.067) 0:02:44.765 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003180", "end": "2023-12-07 09:14:10.748338", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:10.745158" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:14:10 +0000 (0:00:00.201) 0:02:44.966 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048708", "end": "2023-12-07 09:14:11.000702", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:14:10.951994" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.255) 0:02:45.222 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.020) 0:02:45.242 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.019) 0:02:45.261 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.020) 0:02:45.281 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.020) 0:02:45.302 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.019) 0:02:45.322 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.018) 0:02:45.341 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.019) 0:02:45.361 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.019) 0:02:45.380 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.018) 0:02:45.399 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.019) 0:02:45.419 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.022) 0:02:45.441 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.021) 0:02:45.462 ***** changed: [sut] => (item=/tmp/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e25ca71c2496976938ee43a514fbf174435f32b", "dest": "/etc/pki/tls/certs/ansible.l6oc4gca", "gid": 988, "group": "mssql", "item": "/tmp/ansible.l6oc4gca", "md5sum": "fbab98fd79d61f2e1e8bfdd5feb1e517", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1123, "src": "/tmp/ansible.l6oc4gca", "state": "file", "uid": 990 } changed: [sut] => (item=/tmp/ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": true, "checksum": "13229792adda67437bc76e67b94bd07db95b569b", "dest": "/etc/pki/tls/private/ansible._8juv7h1", "gid": 988, "group": "mssql", "item": "/tmp/ansible._8juv7h1", "md5sum": "bcdc17f530e08bda764720acf9c87d94", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/tmp/ansible._8juv7h1", "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.553) 0:02:46.016 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:14:11 +0000 (0:00:00.069) 0:02:46.085 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003038", "end": "2023-12-07 09:14:12.068768", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:12.065730" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.201) 0:02:46.286 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.l6oc4gca" ], "delta": "0:00:00.047291", "end": "2023-12-07 09:14:12.319185", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:14:12.271894" } 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 tlscert] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.253) 0:02:46.540 ***** 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 tlskey setting] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.022) 0:02:46.562 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.036) 0:02:46.599 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003110", "end": "2023-12-07 09:14:12.582601", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:12.579491" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.200) 0:02:46.799 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible._8juv7h1" ], "delta": "0:00:00.047200", "end": "2023-12-07 09:14:12.833041", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:14:12.785841" } 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 tlskey] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.255) 0:02:47.055 ***** 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 tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.023) 0:02:47.078 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:14:12 +0000 (0:00:00.038) 0:02:47.116 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002925", "end": "2023-12-07 09:14:13.100526", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:13.097601" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.201) 0:02:47.318 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.047310", "end": "2023-12-07 09:14:13.350265", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:14:13.302955" } 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 tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.252) 0:02:47.570 ***** 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 forceencryption setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.021) 0:02:47.591 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.040) 0:02:47.632 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003111", "end": "2023-12-07 09:14:13.615503", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:13.612392" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.239) 0:02:47.872 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.049655", "end": "2023-12-07 09:14:13.908799", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:14:13.859144" } 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 forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.258) 0:02:48.130 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.021) 0:02:48.152 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:14:13 +0000 (0:00:00.021) 0:02:48.173 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.194 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.213 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:48.236 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:48.259 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.279 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.021) 0:02:48.300 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.321 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.340 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.361 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.381 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.401 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.025) 0:02:48.426 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.062) 0:02:48.488 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.508 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:48.531 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.021) 0:02:48.552 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.573 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.593 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.614 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.633 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.653 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.672 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.692 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.711 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:48.731 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.021) 0:02:48.753 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.018) 0:02:48.772 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.021) 0:02:48.793 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.023) 0:02:48.817 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.066) 0:02:48.883 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:48.906 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:48.928 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:48.951 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.971 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:48.992 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.022) 0:02:49.014 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:49.034 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:49.054 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:49.075 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.019) 0:02:49.095 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.024) 0:02:49.119 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:49.140 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:49.160 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:14:14 +0000 (0:00:00.020) 0:02:49.181 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.022) 0:02:49.203 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.026) 0:02:49.229 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.086) 0:02:49.316 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.022) 0:02:49.338 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.020) 0:02:49.359 ***** changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.238) 0:02:49.597 ***** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:14:15 +0000 (0:00:00.022) 0:02:49.620 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:13:22 UTC", "ActiveEnterTimestampMonotonic": "2030091775", "ActiveExitTimestamp": "Thu 2023-12-07 09:13:21 UTC", "ActiveExitTimestampMonotonic": "2029690172", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:13:22 UTC", "AssertTimestampMonotonic": "2030090659", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:13:22 UTC", "ConditionTimestampMonotonic": "2030090657", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47142", "ExecMainStartTimestamp": "Thu 2023-12-07 09:13:22 UTC", "ExecMainStartTimestampMonotonic": "2030091709", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:13:22 UTC] ; stop_time=[n/a] ; pid=47142 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:13:22 UTC", "InactiveEnterTimestampMonotonic": "2030089591", "InactiveExitTimestamp": "Thu 2023-12-07 09:13:22 UTC", "InactiveExitTimestampMonotonic": "2030091775", "InvocationID": "28b88c1593e7421ea7c868b8da8bfdb1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47142", "MemoryAccounting": "yes", "MemoryCurrent": "642408448", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:13:22 UTC", "StateChangeTimestampMonotonic": "2030091775", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "138", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:13:22 UTC", "WatchdogTimestampMonotonic": "2030091766", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.579) 0:02:50.200 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.022) 0:02:50.223 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:131 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.034) 0:02:50.257 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.123) 0:02:50.380 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.020) 0:02:50.401 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.019) 0:02:50.420 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.019) 0:02:50.440 ***** skipping: [sut] => { "changed": false, "false_condition": "item.value is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.053) 0:02:50.494 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.020) 0:02:50.515 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.018) 0:02:50.533 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.019) 0:02:50.553 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.021) 0:02:50.575 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.037) 0:02:50.612 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ActiveEnterTimestampMonotonic": "2083984929", "ActiveExitTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ActiveExitTimestampMonotonic": "2083763538", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:14:15 UTC", "AssertTimestampMonotonic": "2083983678", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ConditionTimestampMonotonic": "2083983676", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "48378", "ExecMainStartTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ExecMainStartTimestampMonotonic": "2083984859", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:14:15 UTC] ; stop_time=[n/a] ; pid=48378 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:14:15 UTC", "InactiveEnterTimestampMonotonic": "2083982680", "InactiveExitTimestamp": "Thu 2023-12-07 09:14:15 UTC", "InactiveExitTimestampMonotonic": "2083984929", "InvocationID": "7f56fe5af41847b09e246f108c6fd562", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "48378", "MemoryAccounting": "yes", "MemoryCurrent": "134856704", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:14:15 UTC", "StateChangeTimestampMonotonic": "2083984929", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "41", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:14:15 UTC", "WatchdogTimestampMonotonic": "2083984921", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.361) 0:02:50.974 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003807", "end": "2023-12-07 09:14:16.964803", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:16.960996" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:14:16 +0000 (0:00:00.210) 0:02:51.185 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003372", "end": "2023-12-07 09:14:17.206131", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:14:17.202759" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:14:17 +0000 (0:00:00.239) 0:02:51.424 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 09:14:17 +0000 (0:00:00.041) 0:02:51.465 ***** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 6373, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 09:14:35 +0000 (0:00:18.220) 0:03:09.685 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029119", "end": "2023-12-07 09:14:35.694003", "rc": 0, "start": "2023-12-07 09:14:35.664884" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.225) 0:03:09.911 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.022) 0:03:09.934 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_fts_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.019) 0:03:09.953 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_powershell_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.057) 0:03:10.010 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.021) 0:03:10.032 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.019) 0:03:10.052 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.021) 0:03:10.073 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.021) 0:03:10.095 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.020) 0:03:10.115 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:14:35 +0000 (0:00:00.033) 0:03:10.149 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004321", "end": "2023-12-07 09:14:36.132874", "rc": 0, "start": "2023-12-07 09:14:36.128553" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.l6oc4gca TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.200) 0:03:10.350 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.029) 0:03:10.380 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.l6oc4gca] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.024) 0:03:10.404 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.019) 0:03:10.424 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.034) 0:03:10.458 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004405", "end": "2023-12-07 09:14:36.439122", "rc": 0, "start": "2023-12-07 09:14:36.434717" } STDOUT: tlskey = /etc/pki/tls/private/ansible._8juv7h1 TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.198) 0:03:10.656 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.029) 0:03:10.685 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible._8juv7h1] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.060) 0:03:10.746 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.020) 0:03:10.767 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.036) 0:03:10.803 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004362", "end": "2023-12-07 09:14:36.786811", "rc": 0, "start": "2023-12-07 09:14:36.782449" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.201) 0:03:11.004 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.027) 0:03:11.031 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.023) 0:03:11.055 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.019) 0:03:11.074 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:14:36 +0000 (0:00:00.036) 0:03:11.111 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004280", "end": "2023-12-07 09:14:37.094578", "rc": 0, "start": "2023-12-07 09:14:37.090298" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.201) 0:03:11.312 ***** 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 forceencryption] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.021) 0:03:11.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.026) 0:03:11.360 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.019) 0:03:11.380 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.020) 0:03:11.400 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.020) 0:03:11.421 ***** 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-selinux7v0a56uc/tests/tasks/tests_tls.yml:137 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.018) 0:03:11.439 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/check_header.yml:4 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.152) 0:03:11.591 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003000", "end": "2023-12-07 09:14:37.606364", "rc": 0, "start": "2023-12-07 09:14:37.603364" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tlscert = /etc/pki/tls/certs/ansible.l6oc4gca tlskey = /etc/pki/tls/private/ansible._8juv7h1 tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:141 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.232) 0:03:11.824 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.266) 0:03:12.090 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.032) 0:03:12.123 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:14:37 +0000 (0:00:00.030) 0:03:12.154 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.036) 0:03:12.191 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.022) 0:03:12.213 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.076) 0:03:12.290 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.022) 0:03:12.312 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.022) 0:03:12.334 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.021) 0:03:12.356 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.019) 0:03:12.376 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.020) 0:03:12.396 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.023) 0:03:12.419 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.020) 0:03:12.439 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.022) 0:03:12.462 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.021) 0:03:12.483 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.021) 0:03:12.504 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:14:38 +0000 (0:00:00.022) 0:03:12.527 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:14:39 +0000 (0:00:01.262) 0:03:13.790 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:14:39 +0000 (0:00:00.056) 0:03:13.846 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:14:39 +0000 (0:00:00.078) 0:03:13.925 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:14:39 +0000 (0:00:00.025) 0:03:13.951 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:14:39 +0000 (0:00:00.040) 0:03:13.991 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.434) 0:03:14.426 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.021) 0:03:14.447 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.024) 0:03:14.471 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.023) 0:03:14.495 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.024) 0:03:14.519 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.020) 0:03:14.540 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.020) 0:03:14.560 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.019) 0:03:14.579 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.020) 0:03:14.600 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:14:40 +0000 (0:00:00.020) 0:03:14.621 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:14:41 +0000 (0:00:01.230) 0:03:15.851 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:14:41 +0000 (0:00:00.019) 0:03:15.871 ***** 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.005512", "end": "2023-12-07 09:14:41.855105", "rc": 0, "start": "2023-12-07 09:14:41.849593" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:14:41 +0000 (0:00:00.204) 0:03:16.075 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:15:05 +0000 (0:00:23.646) 0:03:39.721 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:15:05 +0000 (0:00:00.028) 0:03:39.750 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:15:05 +0000 (0:00:00.019) 0:03:39.769 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:15:05 +0000 (0:00:00.019) 0:03:39.788 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:15:05 +0000 (0:00:00.023) 0:03:39.812 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:15:05 +0000 (0:00:00.019) 0:03:39.832 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:15:06 +0000 (0:00:01.215) 0:03:41.047 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:51 UTC", "ActiveEnterTimestampMonotonic": "19722395", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice network.target polkit.service dbus.socket systemd-sysctl.service basic.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:50 UTC", "AssertTimestampMonotonic": "18331182", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ConditionTimestampMonotonic": "18331180", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service auto-cpufreq.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "689", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ExecMainStartTimestampMonotonic": "18332254", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:50 UTC", "InactiveExitTimestampMonotonic": "18332309", "InvocationID": "6fe6063ed3fd4b448d8ea53e507a895e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "689", "MemoryAccounting": "yes", "MemoryCurrent": "22663168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:51 UTC", "StateChangeTimestampMonotonic": "19722395", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:39:51 UTC", "WatchdogTimestampMonotonic": "19722392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:15:07 +0000 (0:00:00.341) 0:03:41.389 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113512", "end": "2023-12-07 09:15:07.477228", "rc": 0, "start": "2023-12-07 09:15:07.363716" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:15:07 +0000 (0:00:00.306) 0:03:41.695 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:15:07 +0000 (0:00:00.020) 0:03:41.715 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:15:07 +0000 (0:00:00.018) 0:03:41.734 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:15:07 +0000 (0:00:00.019) 0:03:41.753 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:15:07 +0000 (0:00:00.199) 0:03:41.952 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:15:08 +0000 (0:00:01.215) 0:03:43.168 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.021) 0:03:43.190 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.021) 0:03:43.212 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.020) 0:03:43.232 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.082) 0:03:43.315 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.022) 0:03:43.337 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.020) 0:03:43.358 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.019) 0:03:43.378 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.020) 0:03:43.398 ***** 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.004869", "end": "2023-12-07 09:15:09.381097", "rc": 0, "start": "2023-12-07 09:15:09.376228" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.199) 0:03:43.598 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:15:09 +0000 (0:00:00.022) 0:03:43.621 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:15:10 +0000 (0:00:01.260) 0:03:44.881 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:15:10 +0000 (0:00:00.022) 0:03:44.903 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:15:10 +0000 (0:00:00.020) 0:03:44.923 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:15:10 +0000 (0:00:00.019) 0:03:44.942 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:15:10 +0000 (0:00:00.019) 0:03:44.962 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:15:10 +0000 (0:00:00.032) 0:03:44.995 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003073", "end": "2023-12-07 09:15:10.975795", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:15:10.972722" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.244) 0:03:45.239 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046974", "end": "2023-12-07 09:15:11.269432", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:11.222458" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.250) 0:03:45.490 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.510 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.530 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.020) 0:03:45.550 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.570 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.590 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.020) 0:03:45.610 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.629 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.649 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.669 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.019) 0:03:45.689 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.021) 0:03:45.710 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.021) 0:03:45.732 ***** skipping: [sut] => (item=/tmp/ansible.l6oc4gca) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "/tmp/ansible.l6oc4gca", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible._8juv7h1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "ansible._8juv7h1", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.024) 0:03:45.756 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.083) 0:03:45.840 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003034", "end": "2023-12-07 09:15:11.821887", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:11.818853" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.l6oc4gca TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.199) 0:03:46.039 ***** 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 tlscert] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:15:11 +0000 (0:00:00.028) 0:03:46.068 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.046178", "end": "2023-12-07 09:15:12.093928", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:12.047750" } 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 tlskey setting] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.246) 0:03:46.314 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.036) 0:03:46.351 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002627", "end": "2023-12-07 09:15:12.331814", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:12.329187" } STDOUT: tlskey = /etc/pki/tls/private/ansible._8juv7h1 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.198) 0:03:46.550 ***** 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 tlskey] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.026) 0:03:46.577 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.046579", "end": "2023-12-07 09:15:12.602551", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:12.555972" } 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 tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.250) 0:03:46.827 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.039) 0:03:46.867 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002688", "end": "2023-12-07 09:15:12.847828", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:12.845140" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.215) 0:03:47.082 ***** 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 tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:15:12 +0000 (0:00:00.048) 0:03:47.130 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.046517", "end": "2023-12-07 09:15:13.186852", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:13.140335" } 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 forceencryption setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.277) 0:03:47.408 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.040) 0:03:47.448 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003040", "end": "2023-12-07 09:15:13.430005", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:13.426965" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.198) 0:03:47.647 ***** 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 forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.090) 0:03:47.738 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046403", "end": "2023-12-07 09:15:13.778596", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:13.732193" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.264) 0:03:48.002 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.025) 0:03:48.028 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.024) 0:03:48.053 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.023) 0:03:48.076 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.026) 0:03:48.103 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.034) 0:03:48.137 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.022) 0:03:48.160 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:15:13 +0000 (0:00:00.024) 0:03:48.184 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.205 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.022) 0:03:48.228 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.024) 0:03:48.253 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.020) 0:03:48.273 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.020) 0:03:48.294 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.019) 0:03:48.313 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.019) 0:03:48.333 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.078) 0:03:48.412 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.022) 0:03:48.435 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.456 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.024) 0:03:48.481 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.020) 0:03:48.502 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.022) 0:03:48.524 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.028) 0:03:48.552 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.574 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.596 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.617 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.023) 0:03:48.640 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.022) 0:03:48.663 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.026) 0:03:48.689 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.023) 0:03:48.713 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.734 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.026) 0:03:48.761 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.026) 0:03:48.788 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.087) 0:03:48.876 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.023) 0:03:48.899 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.022) 0:03:48.921 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:48.943 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.024) 0:03:48.967 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.024) 0:03:48.992 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.024) 0:03:49.016 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.026) 0:03:49.042 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:49.064 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.021) 0:03:49.085 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.025) 0:03:49.110 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.020) 0:03:49.131 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.022) 0:03:49.154 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:15:14 +0000 (0:00:00.019) 0:03:49.173 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.018) 0:03:49.192 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.023) 0:03:49.216 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.018) 0:03:49.234 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.063) 0:03:49.298 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.021) 0:03:49.319 ***** changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.239) 0:03:49.558 ***** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.022) 0:03:49.581 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ActiveEnterTimestampMonotonic": "2083984929", "ActiveExitTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ActiveExitTimestampMonotonic": "2083763538", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:14:15 UTC", "AssertTimestampMonotonic": "2083983678", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ConditionTimestampMonotonic": "2083983676", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "48378", "ExecMainStartTimestamp": "Thu 2023-12-07 09:14:15 UTC", "ExecMainStartTimestampMonotonic": "2083984859", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:14:15 UTC] ; stop_time=[n/a] ; pid=48378 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:14:15 UTC", "InactiveEnterTimestampMonotonic": "2083982680", "InactiveExitTimestamp": "Thu 2023-12-07 09:14:15 UTC", "InactiveExitTimestampMonotonic": "2083984929", "InvocationID": "7f56fe5af41847b09e246f108c6fd562", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "48378", "MemoryAccounting": "yes", "MemoryCurrent": "633593856", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:14:15 UTC", "StateChangeTimestampMonotonic": "2083984929", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "137", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:14:15 UTC", "WatchdogTimestampMonotonic": "2083984921", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.552) 0:03:50.133 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.020) 0:03:50.154 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:147 Thursday 07 December 2023 09:15:15 +0000 (0:00:00.031) 0:03:50.186 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.157) 0:03:50.343 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.021) 0:03:50.364 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.022) 0:03:50.387 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.024) 0:03:50.411 ***** skipping: [sut] => { "changed": false, "false_condition": "item.value is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.094) 0:03:50.506 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.021) 0:03:50.528 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.021) 0:03:50.549 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.021) 0:03:50.570 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.021) 0:03:50.591 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.041) 0:03:50.633 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ActiveEnterTimestampMonotonic": "2143928612", "ActiveExitTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ActiveExitTimestampMonotonic": "2143720342", "ActiveState": "active", "After": "network.target auditd.service system.slice sysinit.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:15:15 UTC", "AssertTimestampMonotonic": "2143927500", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ConditionTimestampMonotonic": "2143927498", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "49281", "ExecMainStartTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ExecMainStartTimestampMonotonic": "2143928559", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:15:15 UTC] ; stop_time=[n/a] ; pid=49281 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:15:15 UTC", "InactiveEnterTimestampMonotonic": "2143926487", "InactiveExitTimestamp": "Thu 2023-12-07 09:15:15 UTC", "InactiveExitTimestampMonotonic": "2143928612", "InvocationID": "3c50039604604e8499fc8b4f826c0116", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "49281", "MemoryAccounting": "yes", "MemoryCurrent": "143040512", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:15:15 UTC", "StateChangeTimestampMonotonic": "2143928612", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "44", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:15:15 UTC", "WatchdogTimestampMonotonic": "2143928607", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:15:16 +0000 (0:00:00.404) 0:03:51.038 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004308", "end": "2023-12-07 09:15:17.048229", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:15:17.043921" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:15:17 +0000 (0:00:00.229) 0:03:51.267 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002946", "end": "2023-12-07 09:15:17.313742", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:15:17.310796" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:15:17 +0000 (0:00:00.264) 0:03:51.532 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 09:15:17 +0000 (0:00:00.039) 0:03:51.572 ***** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 6279, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 09:15:35 +0000 (0:00:18.251) 0:04:09.824 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029695", "end": "2023-12-07 09:15:35.829224", "rc": 0, "start": "2023-12-07 09:15:35.799529" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 09:15:35 +0000 (0:00:00.222) 0:04:10.047 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 09:15:35 +0000 (0:00:00.022) 0:04:10.070 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_fts_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 09:15:35 +0000 (0:00:00.021) 0:04:10.091 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_powershell_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 09:15:35 +0000 (0:00:00.079) 0:04:10.171 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.021) 0:04:10.192 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.021) 0:04:10.214 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.021) 0:04:10.235 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.021) 0:04:10.256 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.021) 0:04:10.278 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.043) 0:04:10.322 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004282", "end": "2023-12-07 09:15:36.304894", "rc": 0, "start": "2023-12-07 09:15:36.300612" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.200) 0:04:10.522 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.029) 0:04:10.552 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.024) 0:04:10.577 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.021) 0:04:10.598 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.036) 0:04:10.635 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004079", "end": "2023-12-07 09:15:36.615488", "rc": 0, "start": "2023-12-07 09:15:36.611409" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.198) 0:04:10.833 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.030) 0:04:10.863 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.023) 0:04:10.887 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.076) 0:04:10.963 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:15:36 +0000 (0:00:00.037) 0:04:11.001 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004312", "end": "2023-12-07 09:15:36.982347", "rc": 0, "start": "2023-12-07 09:15:36.978035" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.199) 0:04:11.200 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.029) 0:04:11.230 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.024) 0:04:11.254 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.020) 0:04:11.275 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.036) 0:04:11.312 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004249", "end": "2023-12-07 09:15:37.293990", "rc": 0, "start": "2023-12-07 09:15:37.289741" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.198) 0:04:11.511 ***** 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 forceencryption] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.022) 0:04:11.534 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.033) 0:04:11.568 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.022) 0:04:11.590 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.023) 0:04:11.613 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.020) 0:04:11.633 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:154 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.019) 0:04:11.653 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.390) 0:04:12.044 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.032) 0:04:12.076 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.025) 0:04:12.102 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.036) 0:04:12.138 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.020) 0:04:12.159 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:15:37 +0000 (0:00:00.020) 0:04:12.179 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.020) 0:04:12.199 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.021) 0:04:12.220 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.026) 0:04:12.247 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.096) 0:04:12.343 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.022) 0:04:12.366 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.027) 0:04:12.393 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.021) 0:04:12.414 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.021) 0:04:12.435 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.019) 0:04:12.455 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.022) 0:04:12.477 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:15:38 +0000 (0:00:00.023) 0:04:12.501 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:15:39 +0000 (0:00:01.258) 0:04:13.759 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:15:39 +0000 (0:00:00.061) 0:04:13.821 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:15:39 +0000 (0:00:00.020) 0:04:13.841 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:15:39 +0000 (0:00:00.025) 0:04:13.866 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:15:39 +0000 (0:00:00.039) 0:04:13.906 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.413) 0:04:14.319 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.074) 0:04:14.393 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.022) 0:04:14.416 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.021) 0:04:14.437 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.024) 0:04:14.462 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.020) 0:04:14.482 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.019) 0:04:14.502 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.020) 0:04:14.522 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.020) 0:04:14.542 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:15:40 +0000 (0:00:00.018) 0:04:14.561 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:15:41 +0000 (0:00:01.229) 0:04:15.790 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:15:41 +0000 (0:00:00.020) 0:04:15.811 ***** 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.005359", "end": "2023-12-07 09:15:41.791055", "rc": 0, "start": "2023-12-07 09:15:41.785696" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:15:41 +0000 (0:00:00.196) 0:04:16.007 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:15:52 +0000 (0:00:10.542) 0:04:26.550 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:15:52 +0000 (0:00:00.029) 0:04:26.579 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:15:52 +0000 (0:00:00.020) 0:04:26.599 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:15:52 +0000 (0:00:00.019) 0:04:26.619 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:15:52 +0000 (0:00:00.089) 0:04:26.709 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:15:52 +0000 (0:00:00.021) 0:04:26.730 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:15:53 +0000 (0:00:01.210) 0:04:27.941 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:51 UTC", "ActiveEnterTimestampMonotonic": "19722395", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice network.target polkit.service dbus.socket systemd-sysctl.service basic.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:50 UTC", "AssertTimestampMonotonic": "18331182", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ConditionTimestampMonotonic": "18331180", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service auto-cpufreq.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "689", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ExecMainStartTimestampMonotonic": "18332254", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:50 UTC", "InactiveExitTimestampMonotonic": "18332309", "InvocationID": "6fe6063ed3fd4b448d8ea53e507a895e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "689", "MemoryAccounting": "yes", "MemoryCurrent": "22917120", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:51 UTC", "StateChangeTimestampMonotonic": "19722395", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:39:51 UTC", "WatchdogTimestampMonotonic": "19722392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:15:54 +0000 (0:00:00.339) 0:04:28.280 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112772", "end": "2023-12-07 09:15:54.368326", "rc": 0, "start": "2023-12-07 09:15:54.255554" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:15:54 +0000 (0:00:00.307) 0:04:28.588 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:15:54 +0000 (0:00:00.020) 0:04:28.608 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:15:54 +0000 (0:00:00.020) 0:04:28.629 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:15:54 +0000 (0:00:00.020) 0:04:28.650 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:15:54 +0000 (0:00:00.198) 0:04:28.849 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:15:55 +0000 (0:00:01.215) 0:04:30.065 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:15:55 +0000 (0:00:00.022) 0:04:30.087 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:15:55 +0000 (0:00:00.021) 0:04:30.108 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:15:55 +0000 (0:00:00.021) 0:04:30.130 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:15:55 +0000 (0:00:00.021) 0:04:30.151 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:15:55 +0000 (0:00:00.020) 0:04:30.172 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:15:56 +0000 (0:00:00.021) 0:04:30.193 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:15:56 +0000 (0:00:00.093) 0:04:30.286 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:15:56 +0000 (0:00:00.023) 0:04:30.309 ***** 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.004789", "end": "2023-12-07 09:15:56.294748", "rc": 0, "start": "2023-12-07 09:15:56.289959" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:15:56 +0000 (0:00:00.202) 0:04:30.512 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:15:56 +0000 (0:00:00.022) 0:04:30.534 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:15:57 +0000 (0:00:01.252) 0:04:31.787 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:15:57 +0000 (0:00:00.022) 0:04:31.809 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:15:57 +0000 (0:00:00.020) 0:04:31.830 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:15:57 +0000 (0:00:00.020) 0:04:31.850 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:15:57 +0000 (0:00:00.020) 0:04:31.871 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:15:57 +0000 (0:00:00.032) 0:04:31.903 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002841", "end": "2023-12-07 09:15:57.885272", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:15:57.882431" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:15:57 +0000 (0:00:00.199) 0:04:32.103 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046634", "end": "2023-12-07 09:15:58.130010", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:15:58.083376" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.250) 0:04:32.353 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.020) 0:04:32.374 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.076) 0:04:32.450 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.021) 0:04:32.472 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.021) 0:04:32.494 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.020) 0:04:32.514 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.019) 0:04:32.534 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.020) 0:04:32.554 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.020) 0:04:32.575 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.019) 0:04:32.594 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.020) 0:04:32.615 ***** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.048) 0:04:32.664 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.038) 0:04:32.702 ***** skipping: [sut] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.029) 0:04:32.731 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.196) 0:04:32.928 ***** ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.027) 0:04:32.955 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 07 December 2023 09:15:58 +0000 (0:00:00.113) 0:04:33.069 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.3.7-6.el8.noarch" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 07 December 2023 09:16:00 +0000 (0:00:02.074) 0:04:35.144 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: xmlrpc-c-client-1.51.0-8.el8.x86_64", "Installed: certmonger-0.79.17-2.el8.x86_64", "Installed: xmlrpc-c-1.51.0-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 07 December 2023 09:16:03 +0000 (0:00:02.757) 0:04:37.901 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 07 December 2023 09:16:03 +0000 (0:00:00.222) 0:04:38.124 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 07 December 2023 09:16:04 +0000 (0:00:00.217) 0:04:38.342 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket syslog.target network.target sysinit.target basic.target systemd-journald.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; 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/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 07 December 2023 09:16:04 +0000 (0:00:00.512) 0:04:38.854 ***** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.14.223', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.14.223", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 07 December 2023 09:16:06 +0000 (0:00:01.740) 0:04:40.594 ***** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.14.223', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.14.223", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mssql_2019_cert', 'common_name': '10.31.14.223', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "common_name": "10.31.14.223", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mssql_2019_cert', 'common_name': '10.31.14.223', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.14.223", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.039) 0:04:40.634 ***** skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.024) 0:04:40.658 ***** skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.025) 0:04:40.684 ***** skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.038) 0:04:40.722 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.027) 0:04:40.750 ***** skipping: [sut] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_certificates | length == 0", "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_certificates | length == 0", "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.027) 0:04:40.778 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.035) 0:04:40.813 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003103", "end": "2023-12-07 09:16:06.794785", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:06.791682" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:06 +0000 (0:00:00.198) 0:04:41.011 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.046593", "end": "2023-12-07 09:16:07.042898", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:06.996305" } 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 tlscert] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.306) 0:04:41.318 ***** 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 tlskey setting] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.023) 0:04:41.341 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.036) 0:04:41.378 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002968", "end": "2023-12-07 09:16:07.359855", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:07.356887" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.199) 0:04:41.577 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.046601", "end": "2023-12-07 09:16:07.607272", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:07.560671" } 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 tlskey] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.249) 0:04:41.827 ***** 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 tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.022) 0:04:41.850 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.037) 0:04:41.887 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002825", "end": "2023-12-07 09:16:07.869172", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:07.866347" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:07 +0000 (0:00:00.199) 0:04:42.086 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.047660", "end": "2023-12-07 09:16:08.116571", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:08.068911" } 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 tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.251) 0:04:42.337 ***** 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 forceencryption setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.021) 0:04:42.359 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.038) 0:04:42.397 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003006", "end": "2023-12-07 09:16:08.378894", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:08.375888" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.198) 0:04:42.595 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046504", "end": "2023-12-07 09:16:08.625240", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:08.578736" } 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 forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.249) 0:04:42.845 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.077) 0:04:42.922 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.020) 0:04:42.943 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.020) 0:04:42.963 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.020) 0:04:42.984 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.022) 0:04:43.006 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.022) 0:04:43.029 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.020) 0:04:43.049 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.019) 0:04:43.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.019) 0:04:43.088 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.020) 0:04:43.108 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.018) 0:04:43.127 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.019) 0:04:43.146 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.019) 0:04:43.166 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:16:08 +0000 (0:00:00.018) 0:04:43.184 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.018) 0:04:43.203 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.222 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.018) 0:04:43.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-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.073) 0:04:43.314 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.021) 0:04:43.335 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.355 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.375 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.395 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.415 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.435 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.455 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.474 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.493 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.022) 0:04:43.516 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.018) 0:04:43.535 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.554 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.023) 0:04:43.578 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.018) 0:04:43.597 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.616 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.074) 0:04:43.691 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.712 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.732 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.753 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.773 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.793 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.813 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.833 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.853 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.024) 0:04:43.877 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.897 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.020) 0:04:43.917 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.937 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.018) 0:04:43.956 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.023) 0:04:43.980 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:43.999 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.019) 0:04:44.019 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:16:09 +0000 (0:00:00.078) 0:04:44.097 ***** changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:16:10 +0000 (0:00:00.237) 0:04:44.334 ***** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:16:10 +0000 (0:00:00.021) 0:04:44.356 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ActiveEnterTimestampMonotonic": "2143928612", "ActiveExitTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ActiveExitTimestampMonotonic": "2143720342", "ActiveState": "active", "After": "auditd.service basic.target -.mount systemd-journald.socket sysinit.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:15:15 UTC", "AssertTimestampMonotonic": "2143927500", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ConditionTimestampMonotonic": "2143927498", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "49281", "ExecMainStartTimestamp": "Thu 2023-12-07 09:15:15 UTC", "ExecMainStartTimestampMonotonic": "2143928559", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:15:15 UTC", "InactiveEnterTimestampMonotonic": "2143926487", "InactiveExitTimestamp": "Thu 2023-12-07 09:15:15 UTC", "InactiveExitTimestampMonotonic": "2143928612", "InvocationID": "3c50039604604e8499fc8b4f826c0116", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "49281", "MemoryAccounting": "yes", "MemoryCurrent": "640499712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:15:15 UTC", "StateChangeTimestampMonotonic": "2143928612", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "136", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:15:15 UTC", "WatchdogTimestampMonotonic": "2143928607", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:16:11 +0000 (0:00:01.320) 0:04:45.676 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.019) 0:04:45.696 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:165 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.031) 0:04:45.727 ***** META: triggered running handlers for sut TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:168 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.021) 0:04:45.748 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.195) 0:04:45.943 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.020) 0:04:45.964 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.018) 0:04:45.983 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_edition is defined", "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.077) 0:04:46.061 ***** skipping: [sut] => { "changed": false, "false_condition": "item.value is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.022) 0:04:46.083 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.019) 0:04:46.102 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_datadir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.019) 0:04:46.122 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.019) 0:04:46.142 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_logdir_mode is defined", "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 09:16:11 +0000 (0:00:00.019) 0:04:46.161 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 09:16:12 +0000 (0:00:00.037) 0:04:46.199 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:16:11 UTC", "ActiveEnterTimestampMonotonic": "2199469890", "ActiveExitTimestamp": "Thu 2023-12-07 09:16:10 UTC", "ActiveExitTimestampMonotonic": "2198492611", "ActiveState": "active", "After": "auditd.service basic.target -.mount systemd-journald.socket sysinit.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:16:11 UTC", "AssertTimestampMonotonic": "2199468772", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:16:11 UTC", "ConditionTimestampMonotonic": "2199468770", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "50879", "ExecMainStartTimestamp": "Thu 2023-12-07 09:16:11 UTC", "ExecMainStartTimestampMonotonic": "2199469838", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:16:11 UTC] ; stop_time=[n/a] ; pid=50879 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:16:11 UTC", "InactiveEnterTimestampMonotonic": "2199467799", "InactiveExitTimestamp": "Thu 2023-12-07 09:16:11 UTC", "InactiveExitTimestampMonotonic": "2199469890", "InvocationID": "283d62423491436ea000a5992dd2dd98", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "50879", "MemoryAccounting": "yes", "MemoryCurrent": "141774848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:16:11 UTC", "StateChangeTimestampMonotonic": "2199469890", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "44", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:16:11 UTC", "WatchdogTimestampMonotonic": "2199469887", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 09:16:12 +0000 (0:00:00.359) 0:04:46.558 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003245", "end": "2023-12-07 09:16:12.571615", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:12.568370" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 09:16:12 +0000 (0:00:00.233) 0:04:46.792 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2023-12-07 09:16:12.826075", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:12.822796" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 09:16:12 +0000 (0:00:00.256) 0:04:47.048 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 09:16:12 +0000 (0:00:00.039) 0:04:47.087 ***** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 6379, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 09:16:31 +0000 (0:00:18.264) 0:05:05.352 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030465", "end": "2023-12-07 09:16:31.361399", "rc": 0, "start": "2023-12-07 09:16:31.330934" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.227) 0:05:05.579 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.021) 0:05:05.601 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_fts_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.080) 0:05:05.681 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_powershell_is_installed is defined", "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.021) 0:05:05.703 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.019) 0:05:05.722 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.019) 0:05:05.742 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.019) 0:05:05.762 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.019) 0:05:05.781 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_tuned_for_fua is defined", "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.019) 0:05:05.801 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.033) 0:05:05.834 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004464", "end": "2023-12-07 09:16:31.817009", "rc": 0, "start": "2023-12-07 09:16:31.812545" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.204) 0:05:06.039 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.031) 0:05:06.071 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.026) 0:05:06.097 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.022) 0:05:06.119 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:16:31 +0000 (0:00:00.036) 0:05:06.156 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004372", "end": "2023-12-07 09:16:32.138985", "rc": 0, "start": "2023-12-07 09:16:32.134613" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.200) 0:05:06.357 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.030) 0:05:06.387 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.099) 0:05:06.487 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.022) 0:05:06.509 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.036) 0:05:06.545 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004206", "end": "2023-12-07 09:16:32.526402", "rc": 0, "start": "2023-12-07 09:16:32.522196" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.199) 0:05:06.744 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.028) 0:05:06.773 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_value | type_debug == 'bool'", "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.023) 0:05:06.797 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.022) 0:05:06.819 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.038) 0:05:06.857 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004363", "end": "2023-12-07 09:16:32.839483", "rc": 0, "start": "2023-12-07 09:16:32.835120" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.200) 0:05:07.057 ***** 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 forceencryption] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.022) 0:05:07.080 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.026) 0:05:07.107 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting == \"tcpport\"", "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.020) 0:05:07.128 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.020) 0:05:07.148 ***** 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-selinux7v0a56uc/tests/tasks/verify_settings.yml:210 Thursday 07 December 2023 09:16:32 +0000 (0:00:00.019) 0:05:07.167 ***** skipping: [sut] => { "changed": false, "false_condition": "__verify_mssql_is_confined is defined", "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/tests_tls.yml:175 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.081) 0:05:07.248 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.420) 0:05:07.669 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.033) 0:05:07.703 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.027) 0:05:07.731 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.036) 0:05:07.767 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.022) 0:05:07.789 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.022) 0:05:07.812 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.021) 0:05:07.833 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.094) 0:05:07.928 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.022) 0:05:07.951 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.021) 0:05:07.972 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.021) 0:05:07.993 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.024) 0:05:08.018 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.019) 0:05:08.038 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.020) 0:05:08.058 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.020) 0:05:08.078 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.020) 0:05:08.099 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Thursday 07 December 2023 09:16:33 +0000 (0:00:00.021) 0:05:08.120 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Thursday 07 December 2023 09:16:35 +0000 (0:00:01.257) 0:05:09.377 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.056) 0:05:09.434 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.020) 0:05:09.455 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.024) 0:05:09.480 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.191) 0:05:09.671 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.424) 0:05:10.096 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.020) 0:05:10.117 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.021) 0:05:10.139 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.022) 0:05:10.161 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Thursday 07 December 2023 09:16:35 +0000 (0:00:00.025) 0:05:10.186 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current mode of SELinux] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Thursday 07 December 2023 09:16:36 +0000 (0:00:00.021) 0:05:10.208 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Thursday 07 December 2023 09:16:36 +0000 (0:00:00.021) 0:05:10.229 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Thursday 07 December 2023 09:16:36 +0000 (0:00:00.019) 0:05:10.249 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-selinux] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Thursday 07 December 2023 09:16:36 +0000 (0:00:00.021) 0:05:10.270 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Thursday 07 December 2023 09:16:36 +0000 (0:00:00.021) 0:05:10.291 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Thursday 07 December 2023 09:16:37 +0000 (0:00:01.245) 0:05:11.537 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Thursday 07 December 2023 09:16:37 +0000 (0:00:00.020) 0:05:11.557 ***** 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.005835", "end": "2023-12-07 09:16:37.540456", "rc": 0, "start": "2023-12-07 09:16:37.534621" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Thursday 07 December 2023 09:16:37 +0000 (0:00:00.200) 0:05:11.758 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Thursday 07 December 2023 09:16:47 +0000 (0:00:09.557) 0:05:21.315 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Thursday 07 December 2023 09:16:47 +0000 (0:00:00.028) 0:05:21.344 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Thursday 07 December 2023 09:16:47 +0000 (0:00:00.086) 0:05:21.430 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Thursday 07 December 2023 09:16:47 +0000 (0:00:00.020) 0:05:21.451 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Thursday 07 December 2023 09:16:47 +0000 (0:00:00.024) 0:05:21.476 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Thursday 07 December 2023 09:16:47 +0000 (0:00:00.020) 0:05:21.496 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Thursday 07 December 2023 09:16:48 +0000 (0:00:01.220) 0:05:22.716 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:51 UTC", "ActiveEnterTimestampMonotonic": "19722395", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket systemd-journald.socket systemd-sysctl.service polkit.service system.slice sysinit.target network.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:50 UTC", "AssertTimestampMonotonic": "18331182", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ConditionTimestampMonotonic": "18331180", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "689", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:50 UTC", "ExecMainStartTimestampMonotonic": "18332254", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:39:50 UTC", "InactiveExitTimestampMonotonic": "18332309", "InvocationID": "6fe6063ed3fd4b448d8ea53e507a895e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "689", "MemoryAccounting": "yes", "MemoryCurrent": "22941696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:51 UTC", "StateChangeTimestampMonotonic": "19722395", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:39:51 UTC", "WatchdogTimestampMonotonic": "19722392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Thursday 07 December 2023 09:16:49 +0000 (0:00:01.343) 0:05:24.060 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115022", "end": "2023-12-07 09:16:50.150447", "rc": 0, "start": "2023-12-07 09:16:50.035425" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Thursday 07 December 2023 09:16:50 +0000 (0:00:00.309) 0:05:24.369 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Thursday 07 December 2023 09:16:50 +0000 (0:00:00.019) 0:05:24.389 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Thursday 07 December 2023 09:16:50 +0000 (0:00:00.019) 0:05:24.408 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Thursday 07 December 2023 09:16:50 +0000 (0:00:00.019) 0:05:24.427 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Thursday 07 December 2023 09:16:50 +0000 (0:00:00.200) 0:05:24.628 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Thursday 07 December 2023 09:16:51 +0000 (0:00:01.218) 0:05:25.846 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.020) 0:05:25.867 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.021) 0:05:25.889 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.021) 0:05:25.910 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.020) 0:05:25.930 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.088) 0:05:26.019 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.023) 0:05:26.042 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.019) 0:05:26.062 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Thursday 07 December 2023 09:16:51 +0000 (0:00:00.020) 0:05:26.082 ***** 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.005119", "end": "2023-12-07 09:16:52.066460", "rc": 0, "start": "2023-12-07 09:16:52.061341" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Thursday 07 December 2023 09:16:52 +0000 (0:00:00.202) 0:05:26.284 ***** skipping: [sut] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Thursday 07 December 2023 09:16:52 +0000 (0:00:00.021) 0:05:26.306 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Thursday 07 December 2023 09:16:53 +0000 (0:00:01.261) 0:05:27.568 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Thursday 07 December 2023 09:16:53 +0000 (0:00:00.022) 0:05:27.590 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Thursday 07 December 2023 09:16:53 +0000 (0:00:00.020) 0:05:27.611 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Thursday 07 December 2023 09:16:53 +0000 (0:00:00.020) 0:05:27.632 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Thursday 07 December 2023 09:16:53 +0000 (0:00:00.020) 0:05:27.652 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:53 +0000 (0:00:00.033) 0:05:27.686 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002906", "end": "2023-12-07 09:16:53.666896", "failed_when_result": false, "rc": 1, "start": "2023-12-07 09:16:53.663990" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:53 +0000 (0:00:00.197) 0:05:27.884 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046730", "end": "2023-12-07 09:16:53.912039", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:53.865309" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.317) 0:05:28.201 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.021) 0:05:28.223 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.019) 0:05:28.243 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.021) 0:05:28.264 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.021) 0:05:28.286 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.019) 0:05:28.305 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.020) 0:05:28.326 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.020) 0:05:28.346 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.019) 0:05:28.366 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.021) 0:05:28.387 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.020) 0:05:28.407 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.020) 0:05:28.428 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_tls_enable | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.021) 0:05:28.449 ***** skipping: [sut] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.025) 0:05:28.475 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.034) 0:05:28.509 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002917", "end": "2023-12-07 09:16:54.490942", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:54.488025" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.199) 0:05:28.709 ***** 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 tlscert] ***** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.097) 0:05:28.806 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.046558", "end": "2023-12-07 09:16:54.835026", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:54.788468" } 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 tlskey setting] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.251) 0:05:29.057 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:54 +0000 (0:00:00.038) 0:05:29.095 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003050", "end": "2023-12-07 09:16:55.078407", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:55.075357" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.201) 0:05:29.297 ***** 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 tlskey] ****** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.027) 0:05:29.325 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.046434", "end": "2023-12-07 09:16:55.351371", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:55.304937" } 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 tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.246) 0:05:29.572 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.038) 0:05:29.610 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002927", "end": "2023-12-07 09:16:55.591109", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:55.588182" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.198) 0:05:29.809 ***** 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 tlsprotocols] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.026) 0:05:29.835 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.046725", "end": "2023-12-07 09:16:55.861979", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:55.815254" } 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 forceencryption setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.247) 0:05:30.083 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for sut TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 09:16:55 +0000 (0:00:00.038) 0:05:30.121 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002960", "end": "2023-12-07 09:16:56.102996", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:56.100036" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.199) 0:05:30.321 ***** 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 forceencryption] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.025) 0:05:30.347 ***** Notification for handler Restart the mssql-server service has been saved. changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046859", "end": "2023-12-07 09:16:56.373789", "failed_when_result": false, "rc": 0, "start": "2023-12-07 09:16:56.326930" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.316) 0:05:30.663 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.022) 0:05:30.685 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.705 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:30.725 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.023) 0:05:30.748 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.022) 0:05:30.770 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.021) 0:05:30.792 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:30.812 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.832 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.852 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.871 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.891 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:30.911 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.931 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.018) 0:05:30.949 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.019) 0:05:30.969 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.091) 0:05:31.061 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:31.082 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:31.102 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:31.122 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:31.143 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.020) 0:05:31.163 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Thursday 07 December 2023 09:16:56 +0000 (0:00:00.021) 0:05:31.184 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.204 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.224 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.245 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.264 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.023) 0:05:31.288 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.308 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.328 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.023) 0:05:31.351 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.372 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.018) 0:05:31.390 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.090) 0:05:31.480 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.501 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.521 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.542 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.562 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.582 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.603 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.623 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.643 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.025) 0:05:31.668 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.689 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.709 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.730 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.749 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": "key", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.024) 0:05:31.774 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.020) 0:05:31.794 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.019) 0:05:31.814 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.092) 0:05:31.907 ***** changed: [sut] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.236) 0:05:32.144 ***** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Thursday 07 December 2023 09:16:57 +0000 (0:00:00.022) 0:05:32.166 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 09:16:11 UTC", "ActiveEnterTimestampMonotonic": "2199469890", "ActiveExitTimestamp": "Thu 2023-12-07 09:16:10 UTC", "ActiveExitTimestampMonotonic": "2198492611", "ActiveState": "active", "After": "auditd.service basic.target -.mount systemd-journald.socket sysinit.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 09:16:11 UTC", "AssertTimestampMonotonic": "2199468772", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 09:16:11 UTC", "ConditionTimestampMonotonic": "2199468770", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "50879", "ExecMainStartTimestamp": "Thu 2023-12-07 09:16:11 UTC", "ExecMainStartTimestampMonotonic": "2199469838", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 09:16:11 UTC] ; stop_time=[n/a] ; pid=50879 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 09:16:11 UTC", "InactiveEnterTimestampMonotonic": "2199467799", "InactiveExitTimestamp": "Thu 2023-12-07 09:16:11 UTC", "InactiveExitTimestampMonotonic": "2199469890", "InvocationID": "283d62423491436ea000a5992dd2dd98", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "50879", "MemoryAccounting": "yes", "MemoryCurrent": "638287872", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 09:16:11 UTC", "StateChangeTimestampMonotonic": "2199469890", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 09:16:11 UTC", "WatchdogTimestampMonotonic": "2199469887", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Thursday 07 December 2023 09:16:58 +0000 (0:00:00.776) 0:05:32.943 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Thursday 07 December 2023 09:16:58 +0000 (0:00:00.020) 0:05:32.963 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tests_tls_2017.yml:25 Thursday 07 December 2023 09:16:58 +0000 (0:00:00.031) 0:05:32.995 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 09:16:58 +0000 (0:00:00.036) 0:05:33.031 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 09:17:00 +0000 (0:00:01.437) 0:05:34.469 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages.pcs is defined", "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.025) 0:05:34.494 ***** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.026) 0:05:34.521 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.149) 0:05:34.670 ***** included: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.034) 0:05:34.705 ***** skipping: [sut] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.026) 0:05:34.731 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.244) 0:05:34.976 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 09:17:00 +0000 (0:00:00.024) 0:05:35.000 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 09:17:02 +0000 (0:00:01.560) 0:05:36.561 ***** skipping: [sut] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 09:17:02 +0000 (0:00:00.020) 0:05:36.582 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 09:17:02 +0000 (0:00:00.024) 0:05:36.606 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:49:06 UTC", "ActiveEnterTimestampMonotonic": "574695398", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service sysinit.target system.slice polkit.service basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:49:06 UTC", "AssertTimestampMonotonic": "574151095", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:49:06 UTC", "ConditionTimestampMonotonic": "574151094", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service ip6tables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10485", "ExecMainStartTimestamp": "Thu 2023-12-07 08:49:06 UTC", "ExecMainStartTimestampMonotonic": "574195902", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:49:06 UTC", "InactiveExitTimestampMonotonic": "574195963", "InvocationID": "f2f7bc398ce74854867db1869764e215", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10485", "MemoryAccounting": "yes", "MemoryCurrent": "43184128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:49:06 UTC", "StateChangeTimestampMonotonic": "574695398", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:49:06 UTC", "WatchdogTimestampMonotonic": "574695395", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 09:17:02 +0000 (0:00:00.343) 0:05:36.949 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:49:06 UTC", "ActiveEnterTimestampMonotonic": "574695398", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service sysinit.target system.slice polkit.service basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:49:06 UTC", "AssertTimestampMonotonic": "574151095", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:49:06 UTC", "ConditionTimestampMonotonic": "574151094", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service ip6tables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10485", "ExecMainStartTimestamp": "Thu 2023-12-07 08:49:06 UTC", "ExecMainStartTimestampMonotonic": "574195902", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:49:06 UTC", "InactiveExitTimestampMonotonic": "574195963", "InvocationID": "f2f7bc398ce74854867db1869764e215", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10485", "MemoryAccounting": "yes", "MemoryCurrent": "43184128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:49:06 UTC", "StateChangeTimestampMonotonic": "574695398", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:49:06 UTC", "WatchdogTimestampMonotonic": "574695395", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 09:17:04 +0000 (0:00:01.343) 0:05:38.292 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.028) 0:05:38.321 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.223 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.247) 0:05:38.568 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.023) 0:05:38.592 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.022) 0:05:38.614 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.103) 0:05:38.718 ***** skipping: [sut] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.024) 0:05:38.742 ***** skipping: [sut] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.022) 0:05:38.765 ***** skipping: [sut] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.021) 0:05:38.787 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.223 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.242) 0:05:39.029 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.026) 0:05:39.055 ***** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.033) 0:05:39.088 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages.realmd is defined", "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.025) 0:05:39.114 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages[\"krb5-workstation\"] is defined", "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 09:17:04 +0000 (0:00:00.024) 0:05:39.139 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 09:17:05 +0000 (0:00:00.333) 0:05:39.473 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: mssql-server-14.0.3465.1-1.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 09:17:14 +0000 (0:00:08.804) 0:05:48.278 ***** 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.010083", "end": "2023-12-07 09:17:14.264389", "rc": 0, "start": "2023-12-07 09:17:14.254306" } STDOUT: removed '/var/opt/mssql/mssql.conf' removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/18877888-21be-46e1-b9aa-2928495189ae' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1963952369-455540211-928706834-500/42e7704ae40b0d75de00736cc66b813a_5865f54a-e680-40e6-8a5f-07bf6a1b816a' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1963952369-455540211-928706834-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-1963952369-455540211-928706834-500/ddffcb16-e98d-46b1-b6ad-078b96fbd6c0' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1963952369-455540211-928706834-500/Preferred' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1963952369-455540211-928706834-500' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464139457180000.xel' removed '/var/opt/mssql/log/system_health_0_133464139462630000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464139497390000.xel' removed '/var/opt/mssql/log/system_health_0_133464139500440000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464139632930000.xel' removed '/var/opt/mssql/log/system_health_0_133464139635990000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464140044420000.xel' removed '/var/opt/mssql/log/system_health_0_133464140046770000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464140583640000.xel' removed '/var/opt/mssql/log/system_health_0_133464140586080000.xel' removed '/var/opt/mssql/log/log_4.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464141183410000.xel' removed '/var/opt/mssql/log/system_health_0_133464141185690000.xel' removed '/var/opt/mssql/log/log_5.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464141738230000.xel' removed '/var/opt/mssql/log/system_health_0_133464141740420000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/errorlog.8' removed '/var/opt/mssql/log/errorlog.7' removed '/var/opt/mssql/log/errorlog.6' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464142212060000.xel' removed '/var/opt/mssql/log/system_health_0_133464142215420000.xel' removed '/var/opt/mssql/log/log_7.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed directory '/var/opt/mssql' 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' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 09:17:14 +0000 (0:00:00.206) 0:05:48.484 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010410", "end": "2023-12-07 09:17:14.469529", "rc": 0, "start": "2023-12-07 09:17:14.459119" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. PLAY RECAP ********************************************************************* sut : ok=368 changed=60 unreachable=0 failed=0 skipped=824 rescued=0 ignored=0 Thursday 07 December 2023 09:17:14 +0000 (0:00:00.236) 0:05:48.721 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 34.61s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Gather system services facts --------- 23.65s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wait for mssql-server to prepare for client connections ---------------- 18.37s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.26s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.25s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.23s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.22s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Gather system services facts --------- 16.64s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 14.66s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts --------- 10.54s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 9.56s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Remove related packages ------------------------------------------------- 8.80s /WORKDIR/git-storage-selinux7v0a56uc/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.72s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Gather system services facts ---------- 4.53s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.76s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 2.37s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 2.27s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.07s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.74s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.56s /WORKDIR/git-storage-selinux7v0a56uc/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---