# 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/tests/tests_tls_2017.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_tls_2017.yml:4 Wednesday 06 December 2023 14:46:21 +0000 (0:00:00.019) 0:00:00.019 **** 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-selinuxw7itwrrh/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_tls_2017.yml:9 Wednesday 06 December 2023 14:46:21 +0000 (0:00:00.011) 0:00:00.031 **** ok: [sut] TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tests_tls_2017.yml:22 Wednesday 06 December 2023 14:46:22 +0000 (0:00:00.765) 0:00:00.796 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:2 Wednesday 06 December 2023 14:46:22 +0000 (0:00:00.016) 0:00:00.813 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 14:46:22 +0000 (0:00:00.010) 0:00:00.823 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 14:46:22 +0000 (0:00:00.326) 0:00:01.150 **** 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-selinuxw7itwrrh/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 14:46:22 +0000 (0:00:00.018) 0:00:01.169 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:5 Wednesday 06 December 2023 14:46:22 +0000 (0:00:00.017) 0:00:01.186 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:11 Wednesday 06 December 2023 14:46:24 +0000 (0:00:01.290) 0:00:02.476 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.pxmkk4og", "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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:17 Wednesday 06 December 2023 14:46:24 +0000 (0:00:00.228) 0:00:02.704 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.rktqdjsy", "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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:23 Wednesday 06 December 2023 14:46:24 +0000 (0:00:00.172) 0:00:02.877 **** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.12.201", "-out", "/tmp/ansible.pxmkk4og", "-keyout", "/tmp/ansible.rktqdjsy", "-days", "365" ], "delta": "0:00:00.058248", "end": "2023-12-06 14:46:24.798209", "rc": 0, "start": "2023-12-06 14:46:24.739961" } STDERR: Generating a RSA private key ................................+++++ ......+++++ writing new private key to '/tmp/ansible.rktqdjsy' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:32 Wednesday 06 December 2023 14:46:24 +0000 (0:00:00.290) 0:00:03.168 **** changed: [sut] => (item=/tmp/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": true, "checksum": "59fcc6e8a3f55c2d6821937f96f58b646d2a7f3f", "dest": "/tmp/ansible.pxmkk4og", "item": "/tmp/ansible.pxmkk4og", "md5sum": "a46da322be65bb985c39ab60ae84f5d7", "remote_checksum": "59fcc6e8a3f55c2d6821937f96f58b646d2a7f3f", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddd530d77739e9e8c001b1c9c4d84723e5c754d9", "dest": "/tmp/ansible.rktqdjsy", "item": "/tmp/ansible.rktqdjsy", "md5sum": "e9d0a795712458a533e3017b94be6810", "remote_checksum": "ddd530d77739e9e8c001b1c9c4d84723e5c754d9", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:44 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.488) 0:00:03.656 **** changed: [sut -> localhost] => { "changed": true, "checksum": "ddd530d77739e9e8c001b1c9c4d84723e5c754d9", "dest": "./ansible.rktqdjsy", "gid": 1001, "group": "jenkins", "md5sum": "e9d0a795712458a533e3017b94be6810", "mode": "0600", "owner": "jenkins", "size": 1708, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701873985.3211768-32545-220764139444378/source", "state": "file", "uid": 1000090000 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:52 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.303) 0:00:03.960 **** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.pxmkk4og", "mssql_tls_private_key": "ansible.rktqdjsy" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:59 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.017) 0:00:03.978 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.078) 0:00:04.057 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.011) 0:00:04.068 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.017) 0:00:04.086 **** 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.026) 0:00:04.112 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.009) 0:00:04.121 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.011) 0:00:04.132 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.009) 0:00:04.142 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.010) 0:00:04.152 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.009) 0:00:04.162 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.009) 0:00:04.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.009) 0:00:04.181 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.017) 0:00:04.198 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.013) 0:00:04.212 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.013) 0:00:04.226 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.014) 0:00:04.240 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.014) 0:00:04.255 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:46:25 +0000 (0:00:00.015) 0:00:04.270 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:46:27 +0000 (0:00:01.400) 0:00:05.670 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:46:27 +0000 (0:00:00.034) 0:00:05.705 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:46:27 +0000 (0:00:00.017) 0:00:05.722 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:46:27 +0000 (0:00:00.027) 0:00:05.750 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:46:27 +0000 (0:00:00.034) 0:00:05.785 **** changed: [sut] => { "attempts": 1, "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.649) 0:00:06.435 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.018) 0:00:06.453 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.033) 0:00:06.486 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.019) 0:00:06.506 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.261) 0:00:06.767 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.023) 0:00:06.791 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.021) 0:00:06.813 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.022) 0:00:06.835 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.022) 0:00:06.858 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:46:28 +0000 (0:00:00.022) 0:00:06.881 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: libipt-1.6.1-8.el8.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: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "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-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: guile-5:2.0.14-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:47:14 +0000 (0:00:45.492) 0:00:52.373 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:47:14 +0000 (0:00:00.016) 0:00:52.389 **** 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.005925", "end": "2023-12-06 14:47:14.210188", "rc": 0, "start": "2023-12-06 14:47:14.204263" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:47:14 +0000 (0:00:00.199) 0:00:52.589 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:47:21 +0000 (0:00:07.631) 0:01:00.220 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:47:21 +0000 (0:00:00.032) 0:01:00.252 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:47:21 +0000 (0:00:00.024) 0:01:00.277 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:47:27 +0000 (0:00:05.233) 0:01:05.510 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:47:27 +0000 (0:00:00.023) 0:01:05.534 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:47:27 +0000 (0:00:00.024) 0:01:05.559 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.21.0-1.el8_9.noarch" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:47:29 +0000 (0:00:02.154) 0:01:07.713 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:40:26 UTC", "ActiveEnterTimestampMonotonic": "12687040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice network.target dbus.service sysinit.target basic.target systemd-journald.socket polkit.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:40:25 UTC", "AssertTimestampMonotonic": "11836298", "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": "Wed 2023-12-06 14:40:25 UTC", "ConditionTimestampMonotonic": "11836297", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target auto-cpufreq.service cpupower.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "682", "ExecMainStartTimestamp": "Wed 2023-12-06 14:40:25 UTC", "ExecMainStartTimestampMonotonic": "11837750", "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": "Wed 2023-12-06 14:40:25 UTC", "InactiveExitTimestampMonotonic": "11837802", "InvocationID": "f9e735f46a3a434880f3210c37517d33", "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": "682", "MemoryAccounting": "yes", "MemoryCurrent": "19472384", "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 dbus.service dbus.socket 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": "Wed 2023-12-06 14:40:26 UTC", "StateChangeTimestampMonotonic": "12687040", "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": "Wed 2023-12-06 14:40:26 UTC", "WatchdogTimestampMonotonic": "12687036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:47:29 +0000 (0:00:00.558) 0:01:08.272 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.147987", "end": "2023-12-06 14:47:30.314416", "rc": 0, "start": "2023-12-06 14:47:30.166429" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:47:30 +0000 (0:00:00.427) 0:01:08.700 **** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.189872", "end": "2023-12-06 14:47:32.736235", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:47:30.546363" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:47:32 +0000 (0:00:02.418) 0:01:11.119 **** skipping: [sut] => { "changed": false, "false_condition": "\"Cannot find profile 'throughput-performance'\" in __mssql_tuned_adm_profile.stderr", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:47:32 +0000 (0:00:00.018) 0:01:11.138 **** skipping: [sut] => { "changed": false, "false_condition": "\"Cannot find profile 'throughput-performance'\" in __mssql_tuned_adm_profile.stderr", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:47:32 +0000 (0:00:00.018) 0:01:11.156 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:47:33 +0000 (0:00:00.199) 0:01:11.356 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:47:39 +0000 (0:00:06.240) 0:01:17.596 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.020) 0:01:17.616 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.019) 0:01:17.636 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.019) 0:01:17.655 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.019) 0:01:17.675 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.018) 0:01:17.693 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.019) 0:01:17.713 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.017) 0:01:17.730 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.016) 0:01:17.746 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.019) 0:01:17.766 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.040) 0:01:17.807 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.020) 0:01:17.827 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.019) 0:01:17.847 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.020) 0:01:17.867 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.025) 0:01:17.892 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.025) 0:01:17.918 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.031) 0:01:17.949 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002868", "end": "2023-12-06 14:47:39.772347", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:39.769479" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:47:39 +0000 (0:00:00.202) 0:01:18.152 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047655", "end": "2023-12-06 14:47:40.022115", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:47:39.974460" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.256) 0:01:18.408 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.017) 0:01:18.425 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.025) 0:01:18.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.021) 0:01:18.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.019) 0:01:18.492 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.020) 0:01:18.512 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.020) 0:01:18.532 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.020) 0:01:18.552 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.044) 0:01:18.596 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.021) 0:01:18.618 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.020) 0:01:18.638 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.029) 0:01:18.668 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:47:40 +0000 (0:00:00.029) 0:01:18.697 **** changed: [sut] => (item=/tmp/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": true, "checksum": "59fcc6e8a3f55c2d6821937f96f58b646d2a7f3f", "dest": "/etc/pki/tls/certs/ansible.pxmkk4og", "gid": 988, "group": "mssql", "item": "/tmp/ansible.pxmkk4og", "md5sum": "a46da322be65bb985c39ab60ae84f5d7", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1123, "src": "/root/.ansible/tmp/ansible-tmp-1701874060.3910894-32967-254768189740665/source", "state": "file", "uid": 990 } changed: [sut] => (item=ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddd530d77739e9e8c001b1c9c4d84723e5c754d9", "dest": "/etc/pki/tls/private/ansible.rktqdjsy", "gid": 988, "group": "mssql", "item": "ansible.rktqdjsy", "md5sum": "e9d0a795712458a533e3017b94be6810", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/root/.ansible/tmp/ansible-tmp-1701874060.8782265-32967-211162158070341/source", "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:47:41 +0000 (0:00:01.004) 0:01:19.702 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:47:41 +0000 (0:00:00.035) 0:01:19.737 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002908", "end": "2023-12-06 14:47:41.561996", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:41.559088" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:47:41 +0000 (0:00:00.203) 0:01:19.941 **** 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.pxmkk4og" ], "delta": "0:00:00.046715", "end": "2023-12-06 14:47:41.816461", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:47:41.769746" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:47:41 +0000 (0:00:00.258) 0:01:20.199 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:47:41 +0000 (0:00:00.029) 0:01:20.229 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:47:41 +0000 (0:00:00.035) 0:01:20.265 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002947", "end": "2023-12-06 14:47:42.091318", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:42.088371" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.206) 0:01:20.471 **** 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.rktqdjsy" ], "delta": "0:00:00.046751", "end": "2023-12-06 14:47:42.345913", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:47:42.299162" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.256) 0:01:20.728 **** skipping: [sut] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.029) 0:01:20.757 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.058) 0:01:20.816 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002853", "end": "2023-12-06 14:47:42.641812", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:42.638959" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.205) 0:01:21.021 **** 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.047383", "end": "2023-12-06 14:47:42.895103", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:47:42.847720" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.256) 0:01:21.277 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.022) 0:01:21.300 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:47:42 +0000 (0:00:00.038) 0:01:21.338 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002819", "end": "2023-12-06 14:47:43.163820", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:43.161001" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.204) 0:01:21.543 **** 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.047241", "end": "2023-12-06 14:47:43.416119", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:47:43.368878" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.256) 0:01:21.799 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.021) 0:01:21.821 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.025) 0:01:21.846 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.024) 0:01:21.871 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.024) 0:01:21.895 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.035) 0:01:21.930 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.020) 0:01:21.951 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:21.968 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:21.986 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.041) 0:01:22.028 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.018) 0:01:22.047 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.064 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.082 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.016) 0:01:22.098 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.116 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.133 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.016) 0:01:22.150 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.167 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.184 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.016) 0:01:22.201 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.218 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.236 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.016) 0:01:22.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 package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.270 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.017) 0:01:22.287 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.016) 0:01:22.304 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:47:43 +0000 (0:00:00.040) 0:01:22.344 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.018) 0:01:22.363 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.020) 0:01:22.383 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.401 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.418 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.021) 0:01:22.439 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.457 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.474 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.016) 0:01:22.491 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.508 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.525 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.016) 0:01:22.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.560 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.577 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.016) 0:01:22.594 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.611 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.041) 0:01:22.652 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.022) 0:01:22.675 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.692 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.710 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.727 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.744 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.021) 0:01:22.765 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.782 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.800 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.017) 0:01:22.818 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.311) 0:01:23.129 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:47:44 +0000 (0:00:00.020) 0:01:23.150 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:47:26 UTC", "ActiveEnterTimestampMonotonic": "433451486", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target system.slice auditd.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:47:26 UTC", "AssertTimestampMonotonic": "433450344", "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": "Wed 2023-12-06 14:47:26 UTC", "ConditionTimestampMonotonic": "433450343", "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": "7052", "ExecMainStartTimestamp": "Wed 2023-12-06 14:47:26 UTC", "ExecMainStartTimestampMonotonic": "433451426", "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": "Wed 2023-12-06 14:47:26 UTC", "InactiveExitTimestampMonotonic": "433451486", "InvocationID": "e71a30779f8d4464a29d8acdae96ec33", "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": "7052", "MemoryAccounting": "yes", "MemoryCurrent": "629743616", "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": "Wed 2023-12-06 14:47:26 UTC", "StateChangeTimestampMonotonic": "433451486", "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": "Wed 2023-12-06 14:47:26 UTC", "WatchdogTimestampMonotonic": "433451484", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:47:46 +0000 (0:00:01.264) 0:01:24.414 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:47:46 +0000 (0:00:00.017) 0:01:24.432 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:68 Wednesday 06 December 2023 14:47:46 +0000 (0:00:00.026) 0:01:24.459 **** changed: [sut -> localhost] => { "changed": true, "path": "ansible.rktqdjsy", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:75 Wednesday 06 December 2023 14:47:46 +0000 (0:00:00.236) 0:01:24.696 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 06 December 2023 14:47:46 +0000 (0:00:00.030) 0:01:24.726 **** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 06 December 2023 14:47:46 +0000 (0:00:00.269) 0:01:24.996 **** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 06 December 2023 14:47:46 +0000 (0:00:00.213) 0:01:25.209 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:78 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.532) 0:01:25.742 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.038) 0:01:25.781 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.018) 0:01:25.800 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.017) 0:01:25.817 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.018) 0:01:25.836 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.017) 0:01:25.854 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.018) 0:01:25.872 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.018) 0:01:25.890 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.016) 0:01:25.907 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.017) 0:01:25.924 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:47:47 +0000 (0:00:00.057) 0:01:25.982 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:47:46 UTC", "ActiveEnterTimestampMonotonic": "452505000", "ActiveExitTimestamp": "Wed 2023-12-06 14:47:45 UTC", "ActiveExitTimestampMonotonic": "451582248", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:47:46 UTC", "AssertTimestampMonotonic": "452503783", "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": "Wed 2023-12-06 14:47:46 UTC", "ConditionTimestampMonotonic": "452503781", "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": "8235", "ExecMainStartTimestamp": "Wed 2023-12-06 14:47:46 UTC", "ExecMainStartTimestampMonotonic": "452504937", "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": "Wed 2023-12-06 14:47:46 UTC", "InactiveEnterTimestampMonotonic": "452502834", "InactiveExitTimestamp": "Wed 2023-12-06 14:47:46 UTC", "InactiveExitTimestampMonotonic": "452505000", "InvocationID": "8666754e54a2428dbd9589ff59ab7478", "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": "8235", "MemoryAccounting": "yes", "MemoryCurrent": "460218368", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:47:46 UTC", "StateChangeTimestampMonotonic": "452505000", "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": "87", "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": "Wed 2023-12-06 14:47:46 UTC", "WatchdogTimestampMonotonic": "452504997", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:47:48 +0000 (0:00:00.450) 0:01:26.433 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004116", "end": "2023-12-06 14:47:48.265809", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:48.261693" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:47:48 +0000 (0:00:00.213) 0:01:26.646 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004141", "end": "2023-12-06 14:47:48.481697", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:47:48.477556" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:47:48 +0000 (0:00:00.221) 0:01:26.867 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:47:48 +0000 (0:00:00.037) 0:01:26.904 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:48:06 +0000 (0:00:18.320) 0:01:45.225 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.035579", "end": "2023-12-06 14:48:07.073897", "rc": 0, "start": "2023-12-06 14:48:07.038318" } 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.229) 0:01:45.454 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.022) 0:01:45.476 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.026) 0:01:45.503 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.021) 0:01:45.524 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.025) 0:01:45.549 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.018) 0:01:45.568 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.021) 0:01:45.590 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.019) 0:01:45.609 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.018) 0:01:45.627 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.060) 0:01:45.688 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004515", "end": "2023-12-06 14:48:07.506701", "rc": 0, "start": "2023-12-06 14:48:07.502186" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.pxmkk4og TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.199) 0:01:45.888 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.027) 0:01:45.915 **** 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.pxmkk4og] *************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.023) 0:01:45.939 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.018) 0:01:45.957 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.032) 0:01:45.990 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004575", "end": "2023-12-06 14:48:07.809880", "rc": 0, "start": "2023-12-06 14:48:07.805305" } STDOUT: tlskey = /etc/pki/tls/private/ansible.rktqdjsy TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.199) 0:01:46.190 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.027) 0:01:46.217 **** 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.rktqdjsy] ************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.023) 0:01:46.240 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.018) 0:01:46.258 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:07 +0000 (0:00:00.034) 0:01:46.292 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004579", "end": "2023-12-06 14:48:08.111245", "rc": 0, "start": "2023-12-06 14:48:08.106666" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.198) 0:01:46.491 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.026) 0:01:46.517 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.045) 0:01:46.563 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.018) 0:01:46.582 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.035) 0:01:46.617 **** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004400", "end": "2023-12-06 14:48:08.437229", "rc": 0, "start": "2023-12-06 14:48:08.432829" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.199) 0:01:46.817 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.020) 0:01:46.838 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.025) 0:01:46.863 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.018) 0:01:46.882 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.019) 0:01:46.901 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.018) 0:01:46.920 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:85 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.018) 0:01:46.938 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.108) 0:01:47.047 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.028) 0:01:47.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.085) 0:01:47.161 **** 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.036) 0:01:47.198 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.020) 0:01:47.218 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.019) 0:01:47.238 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.020) 0:01:47.258 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.019) 0:01:47.278 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.019) 0:01:47.297 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.019) 0:01:47.316 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:48:08 +0000 (0:00:00.018) 0:01:47.335 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:48:09 +0000 (0:00:00.021) 0:01:47.356 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:48:09 +0000 (0:00:00.018) 0:01:47.375 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:48:09 +0000 (0:00:00.017) 0:01:47.392 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:48:09 +0000 (0:00:00.017) 0:01:47.409 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:48:09 +0000 (0:00:00.018) 0:01:47.428 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:48:09 +0000 (0:00:00.019) 0:01:47.447 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:48:10 +0000 (0:00:01.324) 0:01:48.772 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:48:10 +0000 (0:00:00.056) 0:01:48.828 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:48:10 +0000 (0:00:00.019) 0:01:48.847 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:48:10 +0000 (0:00:00.023) 0:01:48.870 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:48:10 +0000 (0:00:00.035) 0:01:48.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:48:10 +0000 (0:00:00.417) 0:01:49.323 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:48:10 +0000 (0:00:00.020) 0:01:49.344 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.019) 0:01:49.364 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.020) 0:01:49.384 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.023) 0:01:49.407 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.017) 0:01:49.425 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.018) 0:01:49.444 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.018) 0:01:49.462 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.017) 0:01:49.480 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:48:11 +0000 (0:00:00.018) 0:01:49.498 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:48:12 +0000 (0:00:01.247) 0:01:50.746 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:48:12 +0000 (0:00:00.019) 0:01:50.765 **** 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.005198", "end": "2023-12-06 14:48:12.581975", "rc": 0, "start": "2023-12-06 14:48:12.576777" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:48:12 +0000 (0:00:00.196) 0:01:50.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 : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:48:19 +0000 (0:00:06.559) 0:01:57.522 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:48:19 +0000 (0:00:00.027) 0:01:57.549 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:48:19 +0000 (0:00:00.018) 0:01:57.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 : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:48:19 +0000 (0:00:00.020) 0:01:57.588 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:48:19 +0000 (0:00:00.023) 0:01:57.611 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:48:19 +0000 (0:00:00.018) 0:01:57.629 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:48:21 +0000 (0:00:02.218) 0:01:59.848 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:40:26 UTC", "ActiveEnterTimestampMonotonic": "12687040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target polkit.service systemd-sysctl.service dbus.service basic.target network.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:40:25 UTC", "AssertTimestampMonotonic": "11836298", "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": "Wed 2023-12-06 14:40:25 UTC", "ConditionTimestampMonotonic": "11836297", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service shutdown.target auto-cpufreq.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": "682", "ExecMainStartTimestamp": "Wed 2023-12-06 14:40:25 UTC", "ExecMainStartTimestampMonotonic": "11837750", "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": "Wed 2023-12-06 14:40:25 UTC", "InactiveExitTimestampMonotonic": "11837802", "InvocationID": "f9e735f46a3a434880f3210c37517d33", "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": "682", "MemoryAccounting": "yes", "MemoryCurrent": "20656128", "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 dbus.service sysinit.target 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": "Wed 2023-12-06 14:40:26 UTC", "StateChangeTimestampMonotonic": "12687040", "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": "Wed 2023-12-06 14:40:26 UTC", "WatchdogTimestampMonotonic": "12687036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:48:22 +0000 (0:00:01.339) 0:02:01.187 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115093", "end": "2023-12-06 14:48:23.112389", "rc": 0, "start": "2023-12-06 14:48:22.997296" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:48:23 +0000 (0:00:00.306) 0:02:01.494 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:48:23 +0000 (0:00:00.018) 0:02:01.512 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:48:23 +0000 (0:00:00.018) 0:02:01.531 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:48:23 +0000 (0:00:00.017) 0:02:01.548 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:48:23 +0000 (0:00:00.198) 0:02:01.747 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:48:24 +0000 (0:00:01.242) 0:02:02.989 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.020) 0:02:03.009 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.020) 0:02:03.030 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.020) 0:02:03.050 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.019) 0:02:03.070 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.019) 0:02:03.089 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.020) 0:02:03.109 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.017) 0:02:03.126 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:48:24 +0000 (0:00:00.017) 0:02:03.144 **** 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:01.006189", "end": "2023-12-06 14:48:25.964389", "rc": 0, "start": "2023-12-06 14:48:24.958200" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:48:25 +0000 (0:00:01.202) 0:02:04.346 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:48:26 +0000 (0:00:00.020) 0:02:04.367 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:48:27 +0000 (0:00:01.261) 0:02:05.628 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.021) 0:02:05.649 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.019) 0:02:05.669 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.047) 0:02:05.716 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.019) 0:02:05.736 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.032) 0:02:05.769 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002842", "end": "2023-12-06 14:48:27.583816", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:48:27.580974" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.194) 0:02:05.963 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046525", "end": "2023-12-06 14:48:27.826269", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:27.779744" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.247) 0:02:06.211 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.019) 0:02:06.231 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.018) 0:02:06.249 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.020) 0:02:06.269 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.019) 0:02:06.289 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.018) 0:02:06.308 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.019) 0:02:06.327 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:48:27 +0000 (0:00:00.019) 0:02:06.347 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.018) 0:02:06.365 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.018) 0:02:06.384 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.019) 0:02:06.403 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.018) 0:02:06.422 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.045) 0:02:06.468 **** skipping: [sut] => (item=/tmp/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "/tmp/ansible.pxmkk4og", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "ansible.rktqdjsy", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.024) 0:02:06.493 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.033) 0:02:06.527 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002811", "end": "2023-12-06 14:48:28.343692", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:28.340881" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.pxmkk4og TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.197) 0:02:06.724 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.025) 0:02:06.750 **** 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.046628", "end": "2023-12-06 14:48:28.610975", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:28.564347" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.244) 0:02:06.994 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.035) 0:02:07.030 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003102", "end": "2023-12-06 14:48:28.847436", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:28.844334" } STDOUT: tlskey = /etc/pki/tls/private/ansible.rktqdjsy TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.198) 0:02:07.229 **** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:48:28 +0000 (0:00:00.025) 0:02:07.254 **** 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.046592", "end": "2023-12-06 14:48:29.114497", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:29.067905" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.242) 0:02:07.497 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.037) 0:02:07.534 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002764", "end": "2023-12-06 14:48:29.349131", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:29.346367" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.195) 0:02:07.729 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.025) 0:02:07.755 **** 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.048113", "end": "2023-12-06 14:48:29.617199", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:29.569086" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.275) 0:02:08.030 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.037) 0:02:08.068 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002770", "end": "2023-12-06 14:48:29.884934", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:29.882164" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.197) 0:02:08.266 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:48:29 +0000 (0:00:00.025) 0:02:08.291 **** 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.047020", "end": "2023-12-06 14:48:30.151795", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:48:30.104775" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.244) 0:02:08.535 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.020) 0:02:08.556 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.574 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.592 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.021) 0:02:08.614 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.020) 0:02:08.634 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.653 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.672 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.690 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.709 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.726 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.744 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.046) 0:02:08.790 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.019) 0:02:08.809 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.827 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.845 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.863 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.881 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.899 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.917 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.935 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.953 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:08.971 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:08.989 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.007 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.025 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.043 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.021) 0:02:09.064 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.046) 0:02:09.110 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.019) 0:02:09.130 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.022) 0:02:09.152 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.171 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.188 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.206 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.225 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.242 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.260 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.279 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.297 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.315 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.018) 0:02:09.333 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:48:30 +0000 (0:00:00.017) 0:02:09.350 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.022) 0:02:09.373 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.018) 0:02:09.391 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.017) 0:02:09.408 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.046) 0:02:09.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 and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.018) 0:02:09.474 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.022) 0:02:09.497 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.018) 0:02:09.515 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.018) 0:02:09.533 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.018) 0:02:09.551 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.231) 0:02:09.783 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:48:31 +0000 (0:00:00.021) 0:02:09.804 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:47:46 UTC", "ActiveEnterTimestampMonotonic": "452505000", "ActiveExitTimestamp": "Wed 2023-12-06 14:47:45 UTC", "ActiveExitTimestampMonotonic": "451582248", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:47:46 UTC", "AssertTimestampMonotonic": "452503783", "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": "Wed 2023-12-06 14:47:46 UTC", "ConditionTimestampMonotonic": "452503781", "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": "8235", "ExecMainStartTimestamp": "Wed 2023-12-06 14:47:46 UTC", "ExecMainStartTimestampMonotonic": "452504937", "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": "Wed 2023-12-06 14:47:46 UTC", "InactiveEnterTimestampMonotonic": "452502834", "InactiveExitTimestamp": "Wed 2023-12-06 14:47:46 UTC", "InactiveExitTimestampMonotonic": "452505000", "InvocationID": "8666754e54a2428dbd9589ff59ab7478", "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": "8235", "MemoryAccounting": "yes", "MemoryCurrent": "633749504", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:47:46 UTC", "StateChangeTimestampMonotonic": "452505000", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "139", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 14:47:46 UTC", "WatchdogTimestampMonotonic": "452504997", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.596) 0:02:10.401 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.018) 0:02:10.420 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:92 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.028) 0:02:10.448 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.078) 0:02:10.527 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.048) 0:02:10.576 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.019) 0:02:10.595 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.019) 0:02:10.615 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.019) 0:02:10.634 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.018) 0:02:10.653 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.019) 0:02:10.672 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.018) 0:02:10.691 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.018) 0:02:10.709 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.037) 0:02:10.746 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:48:32 UTC", "ActiveEnterTimestampMonotonic": "498490624", "ActiveExitTimestamp": "Wed 2023-12-06 14:48:31 UTC", "ActiveExitTimestampMonotonic": "498234802", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:48:32 UTC", "AssertTimestampMonotonic": "498489028", "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": "Wed 2023-12-06 14:48:32 UTC", "ConditionTimestampMonotonic": "498489026", "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": "9199", "ExecMainStartTimestamp": "Wed 2023-12-06 14:48:32 UTC", "ExecMainStartTimestampMonotonic": "498490554", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:48:32 UTC] ; stop_time=[n/a] ; pid=9199 ; 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": "Wed 2023-12-06 14:48:32 UTC", "InactiveEnterTimestampMonotonic": "498487705", "InactiveExitTimestamp": "Wed 2023-12-06 14:48:32 UTC", "InactiveExitTimestampMonotonic": "498490624", "InvocationID": "30891a880cb4440284a4c364098a4386", "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": "9199", "MemoryAccounting": "yes", "MemoryCurrent": "107970560", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:48:32 UTC", "StateChangeTimestampMonotonic": "498490624", "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": "35", "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": "Wed 2023-12-06 14:48:32 UTC", "WatchdogTimestampMonotonic": "498490622", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.348) 0:02:11.095 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002930", "end": "2023-12-06 14:48:32.940919", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:48:32.937989" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:48:32 +0000 (0:00:00.225) 0:02:11.321 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004459", "end": "2023-12-06 14:48:33.178666", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:48:33.174207" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:48:33 +0000 (0:00:00.244) 0:02:11.565 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:48:33 +0000 (0:00:00.037) 0:02:11.603 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:48:51 +0000 (0:00:18.214) 0:02:29.817 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029287", "end": "2023-12-06 14:48:51.658265", "rc": 0, "start": "2023-12-06 14:48:51.628978" } 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.221) 0:02:30.039 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.051) 0:02:30.090 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.020) 0:02:30.111 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.019) 0:02:30.130 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.019) 0:02:30.149 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.019) 0:02:30.168 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.018) 0:02:30.187 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.020) 0:02:30.207 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.019) 0:02:30.227 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:51 +0000 (0:00:00.033) 0:02:30.260 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004131", "end": "2023-12-06 14:48:52.076766", "rc": 0, "start": "2023-12-06 14:48:52.072635" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.198) 0:02:30.458 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.028) 0:02:30.486 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.023) 0:02:30.510 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.019) 0:02:30.529 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.032) 0:02:30.562 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004212", "end": "2023-12-06 14:48:52.378641", "rc": 0, "start": "2023-12-06 14:48:52.374429" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.228) 0:02:30.790 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.028) 0:02:30.818 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.023) 0:02:30.842 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.019) 0:02:30.861 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.034) 0:02:30.896 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004074", "end": "2023-12-06 14:48:52.713108", "rc": 0, "start": "2023-12-06 14:48:52.709034" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.197) 0:02:31.094 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.025) 0:02:31.120 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.023) 0:02:31.143 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.020) 0:02:31.163 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:48:52 +0000 (0:00:00.035) 0:02:31.199 **** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004293", "end": "2023-12-06 14:48:53.015474", "rc": 0, "start": "2023-12-06 14:48:53.011181" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.196) 0:02:31.396 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.021) 0:02:31.417 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.026) 0:02:31.444 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.019) 0:02:31.464 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.019) 0:02:31.483 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.055) 0:02:31.539 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:99 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.020) 0:02:31.559 **** changed: [sut] => (item=/etc/pki/tls/certs/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.pxmkk4og", "path": "/etc/pki/tls/certs/ansible.pxmkk4og", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.rktqdjsy", "path": "/etc/pki/tls/private/ansible.rktqdjsy", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:107 Wednesday 06 December 2023 14:48:53 +0000 (0:00:00.374) 0:02:31.933 **** ok: [sut] => (item=/tmp/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": false, "checksum": "59fcc6e8a3f55c2d6821937f96f58b646d2a7f3f", "dest": "/tmp/ansible.pxmkk4og", "gid": 0, "group": "root", "item": "/tmp/ansible.pxmkk4og", "mode": "0600", "owner": "root", "path": "/tmp/ansible.pxmkk4og", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1123, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": false, "checksum": "ddd530d77739e9e8c001b1c9c4d84723e5c754d9", "dest": "/tmp/ansible.rktqdjsy", "gid": 0, "group": "root", "item": "/tmp/ansible.rktqdjsy", "mode": "0600", "owner": "root", "path": "/tmp/ansible.rktqdjsy", "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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:116 Wednesday 06 December 2023 14:48:56 +0000 (0:00:02.896) 0:02:34.830 **** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.pxmkk4og", "mssql_tls_private_key": "ansible.rktqdjsy" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:121 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.020) 0:02:34.851 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.189) 0:02:35.041 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.030) 0:02:35.071 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.024) 0:02:35.096 **** 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.033) 0:02:35.130 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.020) 0:02:35.150 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.019) 0:02:35.169 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.052) 0:02:35.222 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.020) 0:02:35.243 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.019) 0:02:35.262 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.019) 0:02:35.281 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.019) 0:02:35.300 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.022) 0:02:35.322 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:48:56 +0000 (0:00:00.018) 0:02:35.341 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:48:57 +0000 (0:00:00.018) 0:02:35.359 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:48:57 +0000 (0:00:00.017) 0:02:35.377 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:48:57 +0000 (0:00:00.019) 0:02:35.396 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:48:57 +0000 (0:00:00.020) 0:02:35.417 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:48:58 +0000 (0:00:01.257) 0:02:36.674 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:48:58 +0000 (0:00:00.055) 0:02:36.730 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:48:58 +0000 (0:00:00.019) 0:02:36.749 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:48:58 +0000 (0:00:00.058) 0:02:36.808 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:48:58 +0000 (0:00:00.037) 0:02:36.845 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:48:59 +0000 (0:00:01.409) 0:02:38.255 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:48:59 +0000 (0:00:00.020) 0:02:38.276 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:48:59 +0000 (0:00:00.020) 0:02:38.297 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:48:59 +0000 (0:00:00.020) 0:02:38.317 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:48:59 +0000 (0:00:00.024) 0:02:38.341 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:49:00 +0000 (0:00:00.018) 0:02:38.360 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:49:00 +0000 (0:00:00.018) 0:02:38.378 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:49:00 +0000 (0:00:00.018) 0:02:38.396 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:49:00 +0000 (0:00:00.019) 0:02:38.416 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:49:00 +0000 (0:00:00.018) 0:02:38.434 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:49:01 +0000 (0:00:01.235) 0:02:39.669 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:49:01 +0000 (0:00:00.018) 0:02:39.688 **** 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.005452", "end": "2023-12-06 14:49:01.508603", "rc": 0, "start": "2023-12-06 14:49:01.503151" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:49:01 +0000 (0:00:00.200) 0:02:39.889 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:49:11 +0000 (0:00:09.601) 0:02:49.491 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:49:11 +0000 (0:00:00.096) 0:02:49.587 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:49:11 +0000 (0:00:00.020) 0:02:49.608 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:49:11 +0000 (0:00:00.018) 0:02:49.626 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:49:11 +0000 (0:00:00.023) 0:02:49.650 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:49:11 +0000 (0:00:00.018) 0:02:49.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:49:12 +0000 (0:00:01.214) 0:02:50.883 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:40:26 UTC", "ActiveEnterTimestampMonotonic": "12687040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target polkit.service systemd-sysctl.service dbus.service basic.target network.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:40:25 UTC", "AssertTimestampMonotonic": "11836298", "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": "Wed 2023-12-06 14:40:25 UTC", "ConditionTimestampMonotonic": "11836297", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service shutdown.target auto-cpufreq.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": "682", "ExecMainStartTimestamp": "Wed 2023-12-06 14:40:25 UTC", "ExecMainStartTimestampMonotonic": "11837750", "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": "Wed 2023-12-06 14:40:25 UTC", "InactiveExitTimestampMonotonic": "11837802", "InvocationID": "f9e735f46a3a434880f3210c37517d33", "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": "682", "MemoryAccounting": "yes", "MemoryCurrent": "20688896", "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 dbus.service sysinit.target 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": "Wed 2023-12-06 14:40:26 UTC", "StateChangeTimestampMonotonic": "12687040", "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": "Wed 2023-12-06 14:40:26 UTC", "WatchdogTimestampMonotonic": "12687036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:49:12 +0000 (0:00:00.338) 0:02:51.222 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113432", "end": "2023-12-06 14:49:13.146393", "rc": 0, "start": "2023-12-06 14:49:13.032961" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:49:13 +0000 (0:00:00.306) 0:02:51.528 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:49:13 +0000 (0:00:00.020) 0:02:51.549 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:49:13 +0000 (0:00:00.018) 0:02:51.567 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:49:13 +0000 (0:00:00.018) 0:02:51.586 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:49:13 +0000 (0:00:00.198) 0:02:51.784 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:49:14 +0000 (0:00:01.207) 0:02:52.991 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.020) 0:02:53.012 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.019) 0:02:53.032 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.019) 0:02:53.051 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.053) 0:02:53.105 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.021) 0:02:53.126 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.019) 0:02:53.146 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.018) 0:02:53.165 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:49:14 +0000 (0:00:00.018) 0:02:53.184 **** 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:01.006119", "end": "2023-12-06 14:49:16.005334", "rc": 0, "start": "2023-12-06 14:49:14.999215" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:49:16 +0000 (0:00:01.203) 0:02:54.387 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:49:16 +0000 (0:00:00.022) 0:02:54.409 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:49:17 +0000 (0:00:01.253) 0:02:55.662 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.022) 0:02:55.684 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.021) 0:02:55.706 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.020) 0:02:55.726 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.021) 0:02:55.747 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.033) 0:02:55.781 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002776", "end": "2023-12-06 14:49:17.596447", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:17.593671" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.234) 0:02:56.015 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046704", "end": "2023-12-06 14:49:17.880625", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:49:17.833921" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.249) 0:02:56.265 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.020) 0:02:56.285 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.020) 0:02:56.306 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.020) 0:02:56.326 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:49:17 +0000 (0:00:00.020) 0:02:56.347 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.019) 0:02:56.367 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.019) 0:02:56.387 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.019) 0:02:56.406 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.019) 0:02:56.425 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.019) 0:02:56.445 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.018) 0:02:56.464 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.021) 0:02:56.485 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.021) 0:02:56.507 **** changed: [sut] => (item=/tmp/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": true, "checksum": "59fcc6e8a3f55c2d6821937f96f58b646d2a7f3f", "dest": "/etc/pki/tls/certs/ansible.pxmkk4og", "gid": 988, "group": "mssql", "item": "/tmp/ansible.pxmkk4og", "md5sum": "a46da322be65bb985c39ab60ae84f5d7", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1123, "src": "/tmp/ansible.pxmkk4og", "state": "file", "uid": 990 } changed: [sut] => (item=/tmp/ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddd530d77739e9e8c001b1c9c4d84723e5c754d9", "dest": "/etc/pki/tls/private/ansible.rktqdjsy", "gid": 988, "group": "mssql", "item": "/tmp/ansible.rktqdjsy", "md5sum": "e9d0a795712458a533e3017b94be6810", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/tmp/ansible.rktqdjsy", "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.553) 0:02:57.060 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.035) 0:02:57.096 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002697", "end": "2023-12-06 14:49:18.912426", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:18.909729" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:49:18 +0000 (0:00:00.234) 0:02:57.331 **** 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.pxmkk4og" ], "delta": "0:00:00.046811", "end": "2023-12-06 14:49:19.198256", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:49:19.151445" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.251) 0:02:57.582 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.021) 0:02:57.604 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.035) 0:02:57.640 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002772", "end": "2023-12-06 14:49:19.456177", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:19.453405" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.196) 0:02:57.836 **** 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.rktqdjsy" ], "delta": "0:00:00.046397", "end": "2023-12-06 14:49:19.701410", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:49:19.655013" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.249) 0:02:58.086 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.022) 0:02:58.108 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.037) 0:02:58.145 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002639", "end": "2023-12-06 14:49:19.962199", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:19.959560" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:49:19 +0000 (0:00:00.197) 0:02:58.342 **** 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.046903", "end": "2023-12-06 14:49:20.207453", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:49:20.160550" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.249) 0:02:58.592 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.020) 0:02:58.612 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.038) 0:02:58.651 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002725", "end": "2023-12-06 14:49:20.468535", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:20.465810" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.197) 0:02:58.848 **** 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.046397", "end": "2023-12-06 14:49:20.712264", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:49:20.665867" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.280) 0:02:59.129 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.022) 0:02:59.151 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.020) 0:02:59.172 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.019) 0:02:59.191 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.020) 0:02:59.212 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.022) 0:02:59.234 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.022) 0:02:59.257 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.021) 0:02:59.278 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.020) 0:02:59.298 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.020) 0:02:59.319 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:49:20 +0000 (0:00:00.020) 0:02:59.339 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.358 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.020) 0:02:59.379 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.399 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.417 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.437 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.456 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.058) 0:02:59.515 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.020) 0:02:59.535 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.554 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.573 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.593 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.611 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.630 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.648 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.666 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.684 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.703 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.021) 0:02:59.724 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.020) 0:02:59.744 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.020) 0:02:59.764 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.022) 0:02:59.787 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.806 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.054) 0:02:59.860 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.880 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.900 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.920 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.938 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.020) 0:02:59.958 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:02:59.977 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:02:59.996 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:03:00.015 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:03:00.035 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.022) 0:03:00.057 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:03:00.076 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.019) 0:03:00.096 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.017) 0:03:00.113 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.018) 0:03:00.132 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.023) 0:03:00.155 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.017) 0:03:00.173 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.053) 0:03:00.226 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:49:21 +0000 (0:00:00.020) 0:03:00.247 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:49:22 +0000 (0:00:00.231) 0:03:00.478 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:49:22 +0000 (0:00:00.022) 0:03:00.500 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:48:32 UTC", "ActiveEnterTimestampMonotonic": "498490624", "ActiveExitTimestamp": "Wed 2023-12-06 14:48:31 UTC", "ActiveExitTimestampMonotonic": "498234802", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:48:32 UTC", "AssertTimestampMonotonic": "498489028", "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": "Wed 2023-12-06 14:48:32 UTC", "ConditionTimestampMonotonic": "498489026", "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": "9199", "ExecMainStartTimestamp": "Wed 2023-12-06 14:48:32 UTC", "ExecMainStartTimestampMonotonic": "498490554", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:48:32 UTC] ; stop_time=[n/a] ; pid=9199 ; 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": "Wed 2023-12-06 14:48:32 UTC", "InactiveEnterTimestampMonotonic": "498487705", "InactiveExitTimestamp": "Wed 2023-12-06 14:48:32 UTC", "InactiveExitTimestampMonotonic": "498490624", "InvocationID": "30891a880cb4440284a4c364098a4386", "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": "9199", "MemoryAccounting": "yes", "MemoryCurrent": "634814464", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:48:32 UTC", "StateChangeTimestampMonotonic": "498490624", "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": "Wed 2023-12-06 14:48:32 UTC", "WatchdogTimestampMonotonic": "498490622", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:49:23 +0000 (0:00:01.484) 0:03:01.985 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.020) 0:03:02.005 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:131 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.035) 0:03:02.041 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.120) 0:03:02.162 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.019) 0:03:02.181 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.019) 0:03:02.200 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.019) 0:03:02.220 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.019) 0:03:02.239 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.054) 0:03:02.294 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.021) 0:03:02.315 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:49:23 +0000 (0:00:00.018) 0:03:02.334 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:49:24 +0000 (0:00:00.019) 0:03:02.354 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:49:24 +0000 (0:00:00.037) 0:03:02.391 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:49:23 UTC", "ActiveEnterTimestampMonotonic": "550075656", "ActiveExitTimestamp": "Wed 2023-12-06 14:49:22 UTC", "ActiveExitTimestampMonotonic": "548934799", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:49:23 UTC", "AssertTimestampMonotonic": "550074482", "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": "Wed 2023-12-06 14:49:23 UTC", "ConditionTimestampMonotonic": "550074480", "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": "10441", "ExecMainStartTimestamp": "Wed 2023-12-06 14:49:23 UTC", "ExecMainStartTimestampMonotonic": "550075590", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:49:23 UTC] ; stop_time=[n/a] ; pid=10441 ; 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": "Wed 2023-12-06 14:49:23 UTC", "InactiveEnterTimestampMonotonic": "550073453", "InactiveExitTimestamp": "Wed 2023-12-06 14:49:23 UTC", "InactiveExitTimestampMonotonic": "550075656", "InvocationID": "c23896373c104f2e97a0dd65b1964a0e", "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": "10441", "MemoryAccounting": "yes", "MemoryCurrent": "137740288", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:49:23 UTC", "StateChangeTimestampMonotonic": "550075656", "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": "Wed 2023-12-06 14:49:23 UTC", "WatchdogTimestampMonotonic": "550075654", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:49:24 +0000 (0:00:00.361) 0:03:02.753 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003292", "end": "2023-12-06 14:49:24.576856", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:24.573564" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:49:24 +0000 (0:00:00.205) 0:03:02.959 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005148", "end": "2023-12-06 14:49:24.852634", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:49:24.847486" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:49:24 +0000 (0:00:00.280) 0:03:03.240 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:49:24 +0000 (0:00:00.037) 0:03:03.277 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:49:43 +0000 (0:00:18.220) 0:03:21.497 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030113", "end": "2023-12-06 14:49:43.338749", "rc": 0, "start": "2023-12-06 14:49:43.308636" } 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.221) 0:03:21.719 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.022) 0:03:21.741 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.019) 0:03:21.761 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.018) 0:03:21.779 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.055) 0:03:21.835 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.020) 0:03:21.855 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.019) 0:03:21.875 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.019) 0:03:21.894 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.018) 0:03:21.913 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.033) 0:03:21.946 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004305", "end": "2023-12-06 14:49:43.763558", "rc": 0, "start": "2023-12-06 14:49:43.759253" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.pxmkk4og TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.197) 0:03:22.144 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.028) 0:03:22.172 **** 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.pxmkk4og] *************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.024) 0:03:22.197 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.019) 0:03:22.216 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:49:43 +0000 (0:00:00.034) 0:03:22.251 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004367", "end": "2023-12-06 14:49:44.067950", "rc": 0, "start": "2023-12-06 14:49:44.063583" } STDOUT: tlskey = /etc/pki/tls/private/ansible.rktqdjsy TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.197) 0:03:22.448 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.029) 0:03:22.477 **** 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.rktqdjsy] ************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.024) 0:03:22.502 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.020) 0:03:22.522 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.070) 0:03:22.593 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004319", "end": "2023-12-06 14:49:44.411632", "rc": 0, "start": "2023-12-06 14:49:44.407313" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.199) 0:03:22.792 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.026) 0:03:22.819 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.023) 0:03:22.842 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.019) 0:03:22.862 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.036) 0:03:22.898 **** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004251", "end": "2023-12-06 14:49:44.714843", "rc": 0, "start": "2023-12-06 14:49:44.710592" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.197) 0:03:23.095 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.021) 0:03:23.117 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.027) 0:03:23.145 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.021) 0:03:23.166 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.020) 0:03:23.187 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.020) 0:03:23.208 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:137 Wednesday 06 December 2023 14:49:44 +0000 (0:00:00.019) 0:03:23.228 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.154) 0:03:23.382 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002892", "end": "2023-12-06 14:49:45.230524", "rc": 0, "start": "2023-12-06 14:49:45.227632" } 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.pxmkk4og tlskey = /etc/pki/tls/private/ansible.rktqdjsy tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:141 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.227) 0:03:23.610 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.269) 0:03:23.880 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.030) 0:03:23.910 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.025) 0:03:23.935 **** 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.034) 0:03:23.969 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.020) 0:03:23.990 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.019) 0:03:24.009 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.018) 0:03:24.028 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.063) 0:03:24.091 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.021) 0:03:24.113 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.020) 0:03:24.133 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.022) 0:03:24.155 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.026) 0:03:24.182 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.020) 0:03:24.202 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.021) 0:03:24.223 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.020) 0:03:24.244 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.021) 0:03:24.265 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:49:45 +0000 (0:00:00.021) 0:03:24.287 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:49:47 +0000 (0:00:01.255) 0:03:25.542 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:49:47 +0000 (0:00:00.055) 0:03:25.597 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:49:47 +0000 (0:00:00.019) 0:03:25.617 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:49:47 +0000 (0:00:00.023) 0:03:25.640 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:49:47 +0000 (0:00:00.140) 0:03:25.781 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:49:48 +0000 (0:00:01.428) 0:03:27.210 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:49:48 +0000 (0:00:00.022) 0:03:27.232 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:49:48 +0000 (0:00:00.022) 0:03:27.255 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:49:48 +0000 (0:00:00.022) 0:03:27.278 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:49:48 +0000 (0:00:00.024) 0:03:27.302 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:49:48 +0000 (0:00:00.020) 0:03:27.323 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:49:48 +0000 (0:00:00.020) 0:03:27.343 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:49:49 +0000 (0:00:00.019) 0:03:27.363 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:49:49 +0000 (0:00:00.020) 0:03:27.383 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:49:49 +0000 (0:00:00.020) 0:03:27.404 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:49:51 +0000 (0:00:02.230) 0:03:29.635 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:49:51 +0000 (0:00:00.020) 0:03:29.656 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005436", "end": "2023-12-06 14:49:51.476024", "rc": 0, "start": "2023-12-06 14:49:51.470588" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:49:51 +0000 (0:00:00.201) 0:03:29.857 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:49:56 +0000 (0:00:04.554) 0:03:34.412 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:49:56 +0000 (0:00:00.027) 0:03:34.440 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:49:56 +0000 (0:00:00.061) 0:03:34.501 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:49:56 +0000 (0:00:00.020) 0:03:34.522 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:49:56 +0000 (0:00:00.023) 0:03:34.545 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:49:56 +0000 (0:00:00.019) 0:03:34.564 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:49:57 +0000 (0:00:01.214) 0:03:35.779 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:40:26 UTC", "ActiveEnterTimestampMonotonic": "12687040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target polkit.service systemd-sysctl.service dbus.service basic.target network.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:40:25 UTC", "AssertTimestampMonotonic": "11836298", "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": "Wed 2023-12-06 14:40:25 UTC", "ConditionTimestampMonotonic": "11836297", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service shutdown.target auto-cpufreq.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": "682", "ExecMainStartTimestamp": "Wed 2023-12-06 14:40:25 UTC", "ExecMainStartTimestampMonotonic": "11837750", "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": "Wed 2023-12-06 14:40:25 UTC", "InactiveExitTimestampMonotonic": "11837802", "InvocationID": "f9e735f46a3a434880f3210c37517d33", "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": "682", "MemoryAccounting": "yes", "MemoryCurrent": "20729856", "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 dbus.service sysinit.target 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": "Wed 2023-12-06 14:40:26 UTC", "StateChangeTimestampMonotonic": "12687040", "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": "Wed 2023-12-06 14:40:26 UTC", "WatchdogTimestampMonotonic": "12687036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:49:57 +0000 (0:00:00.337) 0:03:36.117 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112992", "end": "2023-12-06 14:49:58.042323", "rc": 0, "start": "2023-12-06 14:49:57.929331" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:49:58 +0000 (0:00:00.306) 0:03:36.424 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:49:58 +0000 (0:00:00.020) 0:03:36.444 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:49:58 +0000 (0:00:00.018) 0:03:36.463 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:49:58 +0000 (0:00:00.018) 0:03:36.481 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:49:58 +0000 (0:00:00.202) 0:03:36.683 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:49:59 +0000 (0:00:01.220) 0:03:37.904 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.020) 0:03:37.924 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.020) 0:03:37.945 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.020) 0:03:37.965 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.018) 0:03:37.984 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.063) 0:03:38.048 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.021) 0:03:38.069 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.019) 0:03:38.088 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.020) 0:03:38.108 **** 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.005233", "end": "2023-12-06 14:49:59.930826", "rc": 0, "start": "2023-12-06 14:49:59.925593" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.203) 0:03:38.312 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:49:59 +0000 (0:00:00.021) 0:03:38.334 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:50:01 +0000 (0:00:01.263) 0:03:39.597 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.022) 0:03:39.619 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.020) 0:03:39.639 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.019) 0:03:39.659 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.019) 0:03:39.679 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.033) 0:03:39.712 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003337", "end": "2023-12-06 14:50:01.538665", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:01.535328" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.208) 0:03:39.920 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048493", "end": "2023-12-06 14:50:01.792386", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:01.743893" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.302) 0:03:40.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.020) 0:03:40.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.020) 0:03:40.263 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.020) 0:03:40.283 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.019) 0:03:40.303 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.019) 0:03:40.323 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:50:01 +0000 (0:00:00.019) 0:03:40.342 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.019) 0:03:40.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.019) 0:03:40.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.019) 0:03:40.400 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.018) 0:03:40.419 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.020) 0:03:40.439 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.019) 0:03:40.459 **** skipping: [sut] => (item=/tmp/ansible.pxmkk4og) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "/tmp/ansible.pxmkk4og", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.rktqdjsy) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "ansible.rktqdjsy", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.023) 0:03:40.482 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.034) 0:03:40.517 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003034", "end": "2023-12-06 14:50:02.338594", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:02.335560" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.pxmkk4og TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.204) 0:03:40.721 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.067) 0:03:40.788 **** 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.048774", "end": "2023-12-06 14:50:02.660033", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:02.611259" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.256) 0:03:41.045 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.036) 0:03:41.081 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003273", "end": "2023-12-06 14:50:02.902220", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:02.898947" } STDOUT: tlskey = /etc/pki/tls/private/ansible.rktqdjsy TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.203) 0:03:41.285 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:02 +0000 (0:00:00.025) 0:03:41.310 **** 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.047903", "end": "2023-12-06 14:50:03.177614", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:03.129711" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.251) 0:03:41.562 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.037) 0:03:41.600 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003099", "end": "2023-12-06 14:50:03.422087", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:03.418988" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.204) 0:03:41.804 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.026) 0:03:41.830 **** 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.047009", "end": "2023-12-06 14:50:03.694607", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:03.647598" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.247) 0:03:42.078 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.038) 0:03:42.116 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003151", "end": "2023-12-06 14:50:03.934605", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:03.931454" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.199) 0:03:42.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 forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:03 +0000 (0:00:00.024) 0:03:42.341 **** 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.047127", "end": "2023-12-06 14:50:04.204984", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:04.157857" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.291) 0:03:42.632 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.020) 0:03:42.653 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.672 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:42.691 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.021) 0:03:42.713 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.021) 0:03:42.734 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:42.754 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.773 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:42.792 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:42.812 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.830 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.849 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.868 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.886 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.905 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:42.924 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.017) 0:03:42.941 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.061) 0:03:43.003 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.020) 0:03:43.023 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.042 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:43.061 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:43.081 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.100 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.019) 0:03:43.119 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.138 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.156 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.175 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.022) 0:03:43.197 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.215 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.233 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.023) 0:03:43.257 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.275 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:50:04 +0000 (0:00:00.018) 0:03:43.293 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.062) 0:03:43.356 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.019) 0:03:43.376 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.019) 0:03:43.395 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.019) 0:03:43.414 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.433 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.452 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.470 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.489 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.508 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.023) 0:03:43.531 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.549 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.568 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.586 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.604 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.023) 0:03:43.628 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.019) 0:03:43.648 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.018) 0:03:43.666 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.067) 0:03:43.734 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.233) 0:03:43.968 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:50:05 +0000 (0:00:00.021) 0:03:43.990 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:49:23 UTC", "ActiveEnterTimestampMonotonic": "550075656", "ActiveExitTimestamp": "Wed 2023-12-06 14:49:22 UTC", "ActiveExitTimestampMonotonic": "548934799", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:49:23 UTC", "AssertTimestampMonotonic": "550074482", "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": "Wed 2023-12-06 14:49:23 UTC", "ConditionTimestampMonotonic": "550074480", "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": "10441", "ExecMainStartTimestamp": "Wed 2023-12-06 14:49:23 UTC", "ExecMainStartTimestampMonotonic": "550075590", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:49:23 UTC] ; stop_time=[n/a] ; pid=10441 ; 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": "Wed 2023-12-06 14:49:23 UTC", "InactiveEnterTimestampMonotonic": "550073453", "InactiveExitTimestamp": "Wed 2023-12-06 14:49:23 UTC", "InactiveExitTimestampMonotonic": "550075656", "InvocationID": "c23896373c104f2e97a0dd65b1964a0e", "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": "10441", "MemoryAccounting": "yes", "MemoryCurrent": "639860736", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:49:23 UTC", "StateChangeTimestampMonotonic": "550075656", "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": "Wed 2023-12-06 14:49:23 UTC", "WatchdogTimestampMonotonic": "550075654", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:50:06 +0000 (0:00:01.328) 0:03:45.319 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:50:06 +0000 (0:00:00.019) 0:03:45.338 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:147 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.030) 0:03:45.368 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.158) 0:03:45.526 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.020) 0:03:45.547 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.019) 0:03:45.566 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.018) 0:03:45.585 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.019) 0:03:45.604 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.064) 0:03:45.668 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.020) 0:03:45.689 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.019) 0:03:45.708 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.019) 0:03:45.728 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:50:07 +0000 (0:00:00.036) 0:03:45.764 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:50:06 UTC", "ActiveEnterTimestampMonotonic": "593408625", "ActiveExitTimestamp": "Wed 2023-12-06 14:50:05 UTC", "ActiveExitTimestampMonotonic": "592422876", "ActiveState": "active", "After": "sysinit.target network.target auditd.service system.slice systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:50:06 UTC", "AssertTimestampMonotonic": "593407466", "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": "Wed 2023-12-06 14:50:06 UTC", "ConditionTimestampMonotonic": "593407464", "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": "11348", "ExecMainStartTimestamp": "Wed 2023-12-06 14:50:06 UTC", "ExecMainStartTimestampMonotonic": "593408565", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:50:06 UTC] ; stop_time=[n/a] ; pid=11348 ; 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": "Wed 2023-12-06 14:50:06 UTC", "InactiveEnterTimestampMonotonic": "593406462", "InactiveExitTimestamp": "Wed 2023-12-06 14:50:06 UTC", "InactiveExitTimestampMonotonic": "593408625", "InvocationID": "e02a46da2c0a4cf4b7ca57281af9bd90", "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": "11348", "MemoryAccounting": "yes", "MemoryCurrent": "149053440", "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 system.slice sysinit.target", "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": "Wed 2023-12-06 14:50:06 UTC", "StateChangeTimestampMonotonic": "593408625", "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": "Wed 2023-12-06 14:50:06 UTC", "WatchdogTimestampMonotonic": "593408622", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:50:08 +0000 (0:00:01.372) 0:03:47.137 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003211", "end": "2023-12-06 14:50:08.983370", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:08.980159" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:50:09 +0000 (0:00:00.232) 0:03:47.369 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003395", "end": "2023-12-06 14:50:09.209614", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:09.206219" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:50:09 +0000 (0:00:00.221) 0:03:47.590 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:50:09 +0000 (0:00:00.038) 0:03:47.629 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:50:27 +0000 (0:00:18.234) 0:04:05.864 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032995", "end": "2023-12-06 14:50:27.708310", "rc": 0, "start": "2023-12-06 14:50:27.675315" } 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.225) 0:04:06.089 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.022) 0:04:06.111 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.019) 0:04:06.130 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.019) 0:04:06.149 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.067) 0:04:06.217 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.019) 0:04:06.237 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.019) 0:04:06.256 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.019) 0:04:06.276 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.018) 0:04:06.294 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:50:27 +0000 (0:00:00.033) 0:04:06.327 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004173", "end": "2023-12-06 14:50:28.144084", "rc": 0, "start": "2023-12-06 14:50:28.139911" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.197) 0:04:06.524 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.028) 0:04:06.553 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.024) 0:04:06.578 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.019) 0:04:06.597 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.034) 0:04:06.632 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004220", "end": "2023-12-06 14:50:28.446735", "rc": 0, "start": "2023-12-06 14:50:28.442515" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.194) 0:04:06.826 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.028) 0:04:06.855 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.024) 0:04:06.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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.019) 0:04:06.899 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.081) 0:04:06.980 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004174", "end": "2023-12-06 14:50:28.797728", "rc": 0, "start": "2023-12-06 14:50:28.793554" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.198) 0:04:07.178 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.027) 0:04:07.206 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.023) 0:04:07.229 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.019) 0:04:07.249 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:50:28 +0000 (0:00:00.037) 0:04:07.286 **** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004223", "end": "2023-12-06 14:50:29.103408", "rc": 0, "start": "2023-12-06 14:50:29.099185" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.197) 0:04:07.484 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.021) 0:04:07.506 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.026) 0:04:07.532 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.019) 0:04:07.551 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.020) 0:04:07.571 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.020) 0:04:07.592 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:154 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.018) 0:04:07.611 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.392) 0:04:08.003 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.031) 0:04:08.035 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.025) 0:04:08.060 **** 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.034) 0:04:08.095 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.020) 0:04:08.116 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.019) 0:04:08.135 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.018) 0:04:08.154 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.019) 0:04:08.174 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.019) 0:04:08.193 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.018) 0:04:08.212 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.071) 0:04:08.283 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.024) 0:04:08.308 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.019) 0:04:08.327 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:50:29 +0000 (0:00:00.019) 0:04:08.347 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:50:30 +0000 (0:00:00.019) 0:04:08.367 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:50:30 +0000 (0:00:00.020) 0:04:08.388 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:50:30 +0000 (0:00:00.020) 0:04:08.408 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:50:31 +0000 (0:00:01.249) 0:04:09.658 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:50:31 +0000 (0:00:00.056) 0:04:09.715 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:50:31 +0000 (0:00:00.019) 0:04:09.735 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:50:31 +0000 (0:00:00.023) 0:04:09.759 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:50:31 +0000 (0:00:00.037) 0:04:09.797 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:50:32 +0000 (0:00:01.411) 0:04:11.208 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:50:32 +0000 (0:00:00.020) 0:04:11.229 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:50:32 +0000 (0:00:00.075) 0:04:11.304 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:50:32 +0000 (0:00:00.021) 0:04:11.326 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:50:32 +0000 (0:00:00.024) 0:04:11.350 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:50:33 +0000 (0:00:00.019) 0:04:11.370 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:50:33 +0000 (0:00:00.019) 0:04:11.390 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:50:33 +0000 (0:00:00.018) 0:04:11.409 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:50:33 +0000 (0:00:00.019) 0:04:11.428 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:50:33 +0000 (0:00:00.019) 0:04:11.447 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:50:34 +0000 (0:00:01.212) 0:04:12.660 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:50:34 +0000 (0:00:00.019) 0:04:12.680 **** 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.005365", "end": "2023-12-06 14:50:34.497348", "rc": 0, "start": "2023-12-06 14:50:34.491983" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:50:34 +0000 (0:00:00.197) 0:04:12.877 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:50:41 +0000 (0:00:06.563) 0:04:19.441 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:50:41 +0000 (0:00:00.028) 0:04:19.469 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:50:41 +0000 (0:00:00.019) 0:04:19.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 the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:50:41 +0000 (0:00:00.018) 0:04:19.507 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:50:41 +0000 (0:00:00.023) 0:04:19.531 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:50:41 +0000 (0:00:00.093) 0:04:19.625 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:50:42 +0000 (0:00:01.238) 0:04:20.864 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:40:26 UTC", "ActiveEnterTimestampMonotonic": "12687040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target polkit.service systemd-sysctl.service dbus.service basic.target network.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:40:25 UTC", "AssertTimestampMonotonic": "11836298", "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": "Wed 2023-12-06 14:40:25 UTC", "ConditionTimestampMonotonic": "11836297", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service shutdown.target auto-cpufreq.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": "682", "ExecMainStartTimestamp": "Wed 2023-12-06 14:40:25 UTC", "ExecMainStartTimestampMonotonic": "11837750", "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": "Wed 2023-12-06 14:40:25 UTC", "InactiveExitTimestampMonotonic": "11837802", "InvocationID": "f9e735f46a3a434880f3210c37517d33", "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": "682", "MemoryAccounting": "yes", "MemoryCurrent": "20742144", "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 dbus.service sysinit.target 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": "Wed 2023-12-06 14:40:26 UTC", "StateChangeTimestampMonotonic": "12687040", "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": "Wed 2023-12-06 14:40:26 UTC", "WatchdogTimestampMonotonic": "12687036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:50:43 +0000 (0:00:01.343) 0:04:22.207 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113278", "end": "2023-12-06 14:50:44.132697", "rc": 0, "start": "2023-12-06 14:50:44.019419" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:50:44 +0000 (0:00:00.307) 0:04:22.515 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:50:44 +0000 (0:00:00.020) 0:04:22.535 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:50:44 +0000 (0:00:00.019) 0:04:22.554 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:50:44 +0000 (0:00:00.019) 0:04:22.574 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:50:44 +0000 (0:00:00.201) 0:04:22.775 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:50:45 +0000 (0:00:01.216) 0:04:23.992 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.020) 0:04:24.013 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.020) 0:04:24.033 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.020) 0:04:24.053 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.019) 0:04:24.073 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.020) 0:04:24.094 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.020) 0:04:24.114 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.018) 0:04:24.133 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:50:45 +0000 (0:00:00.093) 0:04:24.227 **** 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.005013", "end": "2023-12-06 14:50:46.047051", "rc": 0, "start": "2023-12-06 14:50:46.042038" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:50:46 +0000 (0:00:00.200) 0:04:24.427 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:50:46 +0000 (0:00:00.022) 0:04:24.450 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:50:47 +0000 (0:00:01.260) 0:04:25.710 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.022) 0:04:25.733 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.020) 0:04:25.753 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.019) 0:04:25.773 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.020) 0:04:25.794 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.033) 0:04:25.827 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003085", "end": "2023-12-06 14:50:47.644145", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:47.641060" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.198) 0:04:26.025 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047355", "end": "2023-12-06 14:50:47.889940", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:47.842585" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.249) 0:04:26.275 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.019) 0:04:26.294 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:50:47 +0000 (0:00:00.019) 0:04:26.313 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.076) 0:04:26.390 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.021) 0:04:26.412 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.020) 0:04:26.432 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.020) 0:04:26.452 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.019) 0:04:26.472 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.020) 0:04:26.492 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.019) 0:04:26.512 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.019) 0:04:26.531 **** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.045) 0:04:26.577 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.038) 0:04:26.616 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.028) 0:04:26.644 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.197) 0:04:26.842 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.026) 0:04:26.869 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 06 December 2023 14:50:48 +0000 (0:00:00.058) 0:04:26.928 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Wednesday 06 December 2023 14:50:50 +0000 (0:00:02.186) 0:04:29.114 **** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.17-2.el8.x86_64", "Installed: xmlrpc-c-1.51.0-8.el8.x86_64", "Installed: xmlrpc-c-client-1.51.0-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Wednesday 06 December 2023 14:50:54 +0000 (0:00:03.978) 0:04:33.093 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Wednesday 06 December 2023 14:50:54 +0000 (0:00:00.220) 0:04:33.313 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Wednesday 06 December 2023 14:50:55 +0000 (0:00:00.220) 0:04:33.534 **** 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": "systemd-journald.socket dbus.service network.target sysinit.target dbus.socket basic.target system.slice syslog.target", "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 dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Wednesday 06 December 2023 14:50:55 +0000 (0:00:00.523) 0:04:34.057 **** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.12.201', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.12.201", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.735) 0:04:34.793 **** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.12.201', '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.12.201", "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.12.201', '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.12.201", "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.12.201', '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.12.201", "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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.040) 0:04:34.833 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.023) 0:04:34.856 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.024) 0:04:34.881 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.038) 0:04:34.920 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.026) 0:04:34.947 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.028) 0:04:34.975 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.034) 0:04:35.010 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002907", "end": "2023-12-06 14:50:56.827012", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:56.824105" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:56 +0000 (0:00:00.197) 0:04:35.207 **** 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.046544", "end": "2023-12-06 14:50:57.073719", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:57.027175" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.249) 0:04:35.457 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.077) 0:04:35.535 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.037) 0:04:35.572 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2023-12-06 14:50:57.390160", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:57.387182" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.198) 0:04:35.771 **** 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.047078", "end": "2023-12-06 14:50:57.637253", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:57.590175" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.251) 0:04:36.022 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.026) 0:04:36.049 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.039) 0:04:36.089 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002838", "end": "2023-12-06 14:50:57.906111", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:57.903273" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:57 +0000 (0:00:00.197) 0:04:36.286 **** 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.047868", "end": "2023-12-06 14:50:58.153079", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:58.105211" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.251) 0:04:36.538 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.021) 0:04:36.559 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.038) 0:04:36.597 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002872", "end": "2023-12-06 14:50:58.415715", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:50:58.412843" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.198) 0:04:36.796 **** 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.046724", "end": "2023-12-06 14:50:58.662779", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:50:58.616055" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.252) 0:04:37.049 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.023) 0:04:37.073 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.087) 0:04:37.161 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.020) 0:04:37.181 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.020) 0:04:37.201 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.023) 0:04:37.225 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.023) 0:04:37.248 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.020) 0:04:37.269 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.020) 0:04:37.289 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.019) 0:04:37.309 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:50:58 +0000 (0:00:00.024) 0:04:37.334 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.354 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.021) 0:04:37.375 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.395 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.414 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.434 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.454 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.474 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.018) 0:04:37.492 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.073) 0:04:37.566 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.586 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.606 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.625 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.645 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.018) 0:04:37.664 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.685 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.705 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.725 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.022) 0:04:37.748 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.769 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.789 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.025) 0:04:37.815 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:37.835 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.855 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.875 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.078) 0:04:37.954 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04: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 hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:37.993 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:38.013 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:38.032 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.021) 0:04:38.053 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.022) 0:04:38.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:38.096 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.023) 0:04:38.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:38.139 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.019) 0:04:38.158 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:38.179 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:38.200 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.024) 0:04:38.224 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:38.245 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:38.266 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:50:59 +0000 (0:00:00.020) 0:04:38.286 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:51:00 +0000 (0:00:00.397) 0:04:38.683 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:51:00 +0000 (0:00:00.022) 0:04:38.705 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:50:06 UTC", "ActiveEnterTimestampMonotonic": "593408625", "ActiveExitTimestamp": "Wed 2023-12-06 14:50:05 UTC", "ActiveExitTimestampMonotonic": "592422876", "ActiveState": "active", "After": "sysinit.target network.target -.mount system.slice basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:50:06 UTC", "AssertTimestampMonotonic": "593407466", "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": "Wed 2023-12-06 14:50:06 UTC", "ConditionTimestampMonotonic": "593407464", "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": "11348", "ExecMainStartTimestamp": "Wed 2023-12-06 14:50:06 UTC", "ExecMainStartTimestampMonotonic": "593408565", "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": "Wed 2023-12-06 14:50:06 UTC", "InactiveEnterTimestampMonotonic": "593406462", "InactiveExitTimestamp": "Wed 2023-12-06 14:50:06 UTC", "InactiveExitTimestampMonotonic": "593408625", "InvocationID": "e02a46da2c0a4cf4b7ca57281af9bd90", "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": "11348", "MemoryAccounting": "yes", "MemoryCurrent": "647651328", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:50:06 UTC", "StateChangeTimestampMonotonic": "593408625", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "139", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 14:50:06 UTC", "WatchdogTimestampMonotonic": "593408622", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:51:00 +0000 (0:00:00.586) 0:04:39.292 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:51:00 +0000 (0:00:00.021) 0:04:39.313 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:165 Wednesday 06 December 2023 14:51:00 +0000 (0:00:00.032) 0:04:39.346 **** META: triggered running handlers for sut TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:168 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.023) 0:04:39.369 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.201) 0:04:39.571 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.021) 0:04:39.593 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.021) 0:04:39.614 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.023) 0:04:39.637 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.093) 0:04:39.731 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.022) 0:04:39.754 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.023) 0:04:39.777 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.022) 0:04:39.800 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.021) 0:04:39.821 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.039) 0:04:39.861 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:51:00 UTC", "ActiveEnterTimestampMonotonic": "647375025", "ActiveExitTimestamp": "Wed 2023-12-06 14:51:00 UTC", "ActiveExitTimestampMonotonic": "647145585", "ActiveState": "active", "After": "sysinit.target network.target -.mount system.slice basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:51:00 UTC", "AssertTimestampMonotonic": "647373832", "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": "Wed 2023-12-06 14:51:00 UTC", "ConditionTimestampMonotonic": "647373831", "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": "12951", "ExecMainStartTimestamp": "Wed 2023-12-06 14:51:00 UTC", "ExecMainStartTimestampMonotonic": "647374959", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:51:00 UTC] ; stop_time=[n/a] ; pid=12951 ; 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": "Wed 2023-12-06 14:51:00 UTC", "InactiveEnterTimestampMonotonic": "647372903", "InactiveExitTimestamp": "Wed 2023-12-06 14:51:00 UTC", "InactiveExitTimestampMonotonic": "647375025", "InvocationID": "27cbb036c952438da509e7d750b76280", "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": "12951", "MemoryAccounting": "yes", "MemoryCurrent": "144334848", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:51:00 UTC", "StateChangeTimestampMonotonic": "647375025", "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": "Wed 2023-12-06 14:51:00 UTC", "WatchdogTimestampMonotonic": "647375022", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 14:51:01 +0000 (0:00:00.385) 0:04:40.246 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003593", "end": "2023-12-06 14:51:02.110131", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:51:02.106538" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 14:51:02 +0000 (0:00:00.246) 0:04:40.493 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003347", "end": "2023-12-06 14:51:02.325218", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:51:02.321871" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 14:51:02 +0000 (0:00:00.212) 0:04:40.706 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 14:51:02 +0000 (0:00:00.039) 0:04:40.745 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 14:51:20 +0000 (0:00:18.278) 0:04:59.024 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.033419", "end": "2023-12-06 14:51:20.870873", "rc": 0, "start": "2023-12-06 14:51:20.837454" } 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 14:51:20 +0000 (0:00:00.228) 0:04:59.252 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 14:51:20 +0000 (0:00:00.022) 0:04:59.274 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 14:51:20 +0000 (0:00:00.019) 0:04:59.294 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.079) 0:04:59.373 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.021) 0:04:59.394 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.019) 0:04:59.414 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.019) 0:04:59.433 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.019) 0:04:59.453 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.019) 0:04:59.472 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.034) 0:04:59.506 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004402", "end": "2023-12-06 14:51:21.324668", "rc": 0, "start": "2023-12-06 14:51:21.320266" } 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.199) 0:04:59.705 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.029) 0:04:59.735 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.024) 0:04:59.759 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.019) 0:04:59.779 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.034) 0:04:59.813 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004249", "end": "2023-12-06 14:51:21.630363", "rc": 0, "start": "2023-12-06 14:51:21.626114" } 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.197) 0:05:00.011 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.028) 0:05:00.040 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.023) 0:05:00.064 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.076) 0:05:00.140 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:51:21 +0000 (0:00:00.038) 0:05:00.179 **** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004390", "end": "2023-12-06 14:51:21.997402", "rc": 0, "start": "2023-12-06 14:51:21.993012" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.199) 0:05:00.378 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.027) 0:05:00.406 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.024) 0:05:00.430 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.019) 0:05:00.449 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.037) 0:05:00.487 **** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004214", "end": "2023-12-06 14:51:22.302920", "rc": 0, "start": "2023-12-06 14:51:22.298706" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.196) 0:05:00.684 **** 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-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.022) 0:05:00.706 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.026) 0:05:00.732 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.019) 0:05:00.751 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.020) 0:05:00.772 **** 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-selinuxw7itwrrh/tests/tasks/verify_settings.yml:210 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.020) 0:05:00.792 **** 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-selinuxw7itwrrh/tests/tasks/tests_tls.yml:175 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.018) 0:05:00.810 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.479) 0:05:01.290 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.032) 0:05:01.322 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 06 December 2023 14:51:22 +0000 (0:00:00.026) 0:05:01.349 **** 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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.035) 0:05:01.384 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.020) 0:05:01.405 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.019) 0:05:01.424 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.019) 0:05:01.443 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.019) 0:05:01.463 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.086) 0:05:01.549 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.022) 0:05:01.572 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.019) 0:05:01.591 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.023) 0:05:01.615 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.020) 0:05:01.636 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.019) 0:05:01.655 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.019) 0:05:01.674 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.021) 0:05:01.695 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Wednesday 06 December 2023 14:51:23 +0000 (0:00:00.020) 0:05:01.715 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Wednesday 06 December 2023 14:51:24 +0000 (0:00:01.255) 0:05:02.971 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 06 December 2023 14:51:24 +0000 (0:00:00.058) 0:05:03.029 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Wednesday 06 December 2023 14:51:24 +0000 (0:00:00.020) 0:05:03.050 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Wednesday 06 December 2023 14:51:24 +0000 (0:00:00.025) 0:05:03.075 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 06 December 2023 14:51:24 +0000 (0:00:00.038) 0:05:03.113 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.484) 0:05:03.598 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.022) 0:05:03.620 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.021) 0:05:03.642 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.022) 0:05:03.665 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.025) 0:05:03.690 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.019) 0:05:03.710 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.020) 0:05:03.731 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.020) 0:05:03.751 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.019) 0:05:03.771 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 06 December 2023 14:51:25 +0000 (0:00:00.019) 0:05:03.790 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 06 December 2023 14:51:26 +0000 (0:00:01.219) 0:05:05.010 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Wednesday 06 December 2023 14:51:26 +0000 (0:00:00.019) 0:05:05.029 **** 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.005224", "end": "2023-12-06 14:51:26.845167", "rc": 0, "start": "2023-12-06 14:51:26.839943" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 06 December 2023 14:51:26 +0000 (0:00:00.196) 0:05:05.226 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Wednesday 06 December 2023 14:51:34 +0000 (0:00:07.576) 0:05:12.802 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 06 December 2023 14:51:34 +0000 (0:00:00.028) 0:05:12.830 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Wednesday 06 December 2023 14:51:34 +0000 (0:00:00.019) 0:05:12.850 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Wednesday 06 December 2023 14:51:34 +0000 (0:00:00.093) 0:05:12.944 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Wednesday 06 December 2023 14:51:34 +0000 (0:00:00.025) 0:05:12.970 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Wednesday 06 December 2023 14:51:34 +0000 (0:00:00.020) 0:05:12.990 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 06 December 2023 14:51:35 +0000 (0:00:01.206) 0:05:14.197 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:40:26 UTC", "ActiveEnterTimestampMonotonic": "12687040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target network.target systemd-sysctl.service dbus.service dbus.socket basic.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:40:25 UTC", "AssertTimestampMonotonic": "11836298", "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": "Wed 2023-12-06 14:40:25 UTC", "ConditionTimestampMonotonic": "11836297", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service shutdown.target auto-cpufreq.service cpupower.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": "682", "ExecMainStartTimestamp": "Wed 2023-12-06 14:40:25 UTC", "ExecMainStartTimestampMonotonic": "11837750", "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": "Wed 2023-12-06 14:40:25 UTC", "InactiveExitTimestampMonotonic": "11837802", "InvocationID": "f9e735f46a3a434880f3210c37517d33", "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": "682", "MemoryAccounting": "yes", "MemoryCurrent": "20766720", "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.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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": "Wed 2023-12-06 14:40:26 UTC", "StateChangeTimestampMonotonic": "12687040", "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": "Wed 2023-12-06 14:40:26 UTC", "WatchdogTimestampMonotonic": "12687036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Wednesday 06 December 2023 14:51:36 +0000 (0:00:00.337) 0:05:14.535 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114773", "end": "2023-12-06 14:51:36.462645", "rc": 0, "start": "2023-12-06 14:51:36.347872" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Wednesday 06 December 2023 14:51:36 +0000 (0:00:00.310) 0:05:14.845 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Wednesday 06 December 2023 14:51:36 +0000 (0:00:00.019) 0:05:14.865 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Wednesday 06 December 2023 14:51:36 +0000 (0:00:00.020) 0:05:14.885 **** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Wednesday 06 December 2023 14:51:36 +0000 (0:00:00.019) 0:05:14.905 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Wednesday 06 December 2023 14:51:36 +0000 (0:00:00.199) 0:05:15.105 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Wednesday 06 December 2023 14:51:37 +0000 (0:00:01.208) 0:05:16.313 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 06 December 2023 14:51:37 +0000 (0:00:00.021) 0:05:16.334 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.020) 0:05:16.355 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.021) 0:05:16.376 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.020) 0:05:16.397 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:451 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.020) 0:05:16.418 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.088) 0:05:16.506 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:479 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.020) 0:05:16.526 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.018) 0:05:16.545 **** 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.005001", "end": "2023-12-06 14:51:38.365746", "rc": 0, "start": "2023-12-06 14:51:38.360745" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:503 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.201) 0:05:16.746 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:510 Wednesday 06 December 2023 14:51:38 +0000 (0:00:00.022) 0:05:16.769 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Wednesday 06 December 2023 14:51:39 +0000 (0:00:01.251) 0:05:18.020 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Wednesday 06 December 2023 14:51:39 +0000 (0:00:00.022) 0:05:18.043 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:542 Wednesday 06 December 2023 14:51:39 +0000 (0:00:00.020) 0:05:18.063 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:549 Wednesday 06 December 2023 14:51:39 +0000 (0:00:00.020) 0:05:18.083 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 06 December 2023 14:51:39 +0000 (0:00:00.022) 0:05:18.105 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:51:39 +0000 (0:00:00.033) 0:05:18.139 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002782", "end": "2023-12-06 14:51:39.954239", "failed_when_result": false, "rc": 1, "start": "2023-12-06 14:51:39.951457" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:51:39 +0000 (0:00:00.196) 0:05:18.335 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047275", "end": "2023-12-06 14:51:40.200050", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:40.152775" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.249) 0:05:18.584 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:567 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.089) 0:05:18.674 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.021) 0:05:18.695 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:594 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.020) 0:05:18.715 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:601 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.021) 0:05:18.736 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.020) 0:05:18.757 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.019) 0:05:18.776 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.020) 0:05:18.797 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.020) 0:05:18.817 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:637 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.019) 0:05:18.837 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.020) 0:05:18.857 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.021) 0:05:18.878 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.020) 0:05:18.898 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:692 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.025) 0:05:18.924 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.035) 0:05:18.959 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002796", "end": "2023-12-06 14:51:40.777231", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:40.774435" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.199) 0:05:19.159 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:51:40 +0000 (0:00:00.027) 0:05:19.186 **** 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.046434", "end": "2023-12-06 14:51:41.050398", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:41.003964" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:701 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.317) 0:05:19.503 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.038) 0:05:19.542 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003210", "end": "2023-12-06 14:51:41.360875", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:41.357665" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.200) 0:05:19.743 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.026) 0:05:19.770 **** 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.047387", "end": "2023-12-06 14:51:41.634746", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:41.587359" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.249) 0:05:20.020 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.038) 0:05:20.058 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002967", "end": "2023-12-06 14:51:41.876691", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:41.873724" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.201) 0:05:20.259 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:51:41 +0000 (0:00:00.025) 0:05:20.285 **** 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.047143", "end": "2023-12-06 14:51:42.149044", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:42.101901" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.248) 0:05:20.534 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.039) 0:05:20.573 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003253", "end": "2023-12-06 14:51:42.392396", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:42.389143" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.201) 0:05:20.774 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.026) 0:05:20.800 **** 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.047042", "end": "2023-12-06 14:51:42.666068", "failed_when_result": false, "rc": 0, "start": "2023-12-06 14:51:42.619026" } 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:726 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.253) 0:05:21.054 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:734 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.104) 0:05:21.158 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.021) 0:05:21.180 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.020) 0:05:21.200 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.022) 0:05:21.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:765 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.022) 0:05:21.245 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.020) 0:05:21.265 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:787 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.021) 0:05:21.286 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:799 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.020) 0:05:21.307 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.020) 0:05:21.327 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Wednesday 06 December 2023 14:51:42 +0000 (0:00:00.021) 0:05:21.349 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.369 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.388 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.408 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:863 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.429 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:884 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.448 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.468 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:902 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.088) 0:05:21.556 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.577 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.597 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:936 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.618 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:956 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.637 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1010 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.657 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1017 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.677 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.697 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1034 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.717 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.737 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1048 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.021) 0:05:21.758 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1057 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.778 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.798 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1080 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.022) 0:05:21.821 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1087 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.841 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1112 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:21.860 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.018) 0:05:21.879 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.099) 0:05:21.978 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1141 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:21.999 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.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 package mssql-server-ha] **** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:22.039 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1170 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.059 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.079 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:22.099 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1192 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.119 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.023) 0:05:22.143 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.163 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.018) 0:05:22.181 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1226 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.201 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.220 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.023) 0:05:22.243 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1259 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.262 **** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.020) 0:05:22.283 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 06 December 2023 14:51:43 +0000 (0:00:00.019) 0:05:22.303 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Wednesday 06 December 2023 14:51:44 +0000 (0:00:00.400) 0:05:22.703 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 06 December 2023 14:51:44 +0000 (0:00:00.022) 0:05:22.726 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 14:51:00 UTC", "ActiveEnterTimestampMonotonic": "647375025", "ActiveExitTimestamp": "Wed 2023-12-06 14:51:00 UTC", "ActiveExitTimestampMonotonic": "647145585", "ActiveState": "active", "After": "sysinit.target network.target -.mount system.slice basic.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 14:51:00 UTC", "AssertTimestampMonotonic": "647373832", "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": "Wed 2023-12-06 14:51:00 UTC", "ConditionTimestampMonotonic": "647373831", "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": "12951", "ExecMainStartTimestamp": "Wed 2023-12-06 14:51:00 UTC", "ExecMainStartTimestampMonotonic": "647374959", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 14:51:00 UTC] ; stop_time=[n/a] ; pid=12951 ; 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": "Wed 2023-12-06 14:51:00 UTC", "InactiveEnterTimestampMonotonic": "647372903", "InactiveExitTimestamp": "Wed 2023-12-06 14:51:00 UTC", "InactiveExitTimestampMonotonic": "647375025", "InvocationID": "27cbb036c952438da509e7d750b76280", "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": "12951", "MemoryAccounting": "yes", "MemoryCurrent": "642199552", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 14:51:00 UTC", "StateChangeTimestampMonotonic": "647375025", "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": "Wed 2023-12-06 14:51:00 UTC", "WatchdogTimestampMonotonic": "647375022", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1287 Wednesday 06 December 2023 14:51:44 +0000 (0:00:00.598) 0:05:23.324 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Wednesday 06 December 2023 14:51:44 +0000 (0:00:00.020) 0:05:23.344 **** 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-selinuxw7itwrrh/tests/tests_tls_2017.yml:25 Wednesday 06 December 2023 14:51:45 +0000 (0:00:00.031) 0:05:23.375 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 14:51:45 +0000 (0:00:00.036) 0:05:23.412 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 14:51:46 +0000 (0:00:01.446) 0:05:24.859 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 14:51:46 +0000 (0:00:00.025) 0:05:24.884 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 14:51:46 +0000 (0:00:00.020) 0:05:24.904 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 14:51:46 +0000 (0:00:00.137) 0:05:25.042 **** included: /WORKDIR/git-storage-selinuxw7itwrrh/.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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 14:51:46 +0000 (0:00:00.035) 0:05:25.077 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 14:51:46 +0000 (0:00:00.026) 0:05:25.104 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 14:51:46 +0000 (0:00:00.236) 0:05:25.340 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 14:51:47 +0000 (0:00:00.024) 0:05:25.365 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 14:51:48 +0000 (0:00:01.517) 0:05:26.883 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 14:51:48 +0000 (0:00:00.020) 0:05:26.904 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 14:51:48 +0000 (0:00:00.022) 0:05:26.926 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket basic.target system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service nftables.service ip6tables.service shutdown.target ipset.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "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", "InactiveExitTimestampMonotonic": "0", "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": "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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]", "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": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 14:51:49 +0000 (0:00:01.354) 0:05:28.281 **** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service polkit.service sysinit.target system.slice basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ipset.service ebtables.service iptables.service ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "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", "InactiveExitTimestampMonotonic": "0", "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": "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "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": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 14:51:51 +0000 (0:00:01.216) 0:05:29.497 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 14:51:51 +0000 (0:00:00.027) 0:05:29.525 **** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.12.201 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 14:51:52 +0000 (0:00:01.594) 0:05:31.119 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 14:51:52 +0000 (0:00:00.023) 0:05:31.143 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 14:51:52 +0000 (0:00:00.022) 0:05:31.165 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 14:51:52 +0000 (0:00:00.022) 0:05:31.187 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 14:51:52 +0000 (0:00:00.088) 0:05:31.276 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 14:51:52 +0000 (0:00:00.021) 0:05:31.298 **** 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-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 14:51:52 +0000 (0:00:00.021) 0:05:31.319 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.201 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 14:51:53 +0000 (0:00:00.249) 0:05:31.569 **** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 14:51:53 +0000 (0:00:00.026) 0:05:31.595 **** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 14:51:53 +0000 (0:00:00.035) 0:05:31.630 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 14:51:53 +0000 (0:00:00.024) 0:05:31.654 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 14:51:53 +0000 (0:00:00.025) 0:05:31.680 **** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 14:51:53 +0000 (0:00:00.337) 0:05:32.017 **** 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-selinuxw7itwrrh/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 14:52:00 +0000 (0:00:06.863) 0:05:38.881 **** fatal: [sut]: FAILED! => { "changed": false, "changed_when_result": "The conditional check ''removed' in __mssql_cleanup_remove.stdout' failed. The error was: error while evaluating conditional ('removed' in __mssql_cleanup_remove.stdout): 'dict object' has no attribute 'stdout'. 'dict object' has no attribute 'stdout'" } MSG: Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, expand_argument_vars, removes, stdin, stdin_add_newline, strip_empty_ends. to retry, use: --limit @/tmp/tests_tls_2017.retry PLAY RECAP ********************************************************************* sut : ok=367 changed=65 unreachable=0 failed=1 skipped=823 rescued=0 ignored=0 Wednesday 06 December 2023 14:52:00 +0000 (0:00:00.179) 0:05:39.060 **** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 45.49s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wait for mssql-server to prepare for client connections ---------------- 18.32s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.28s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.23s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.22s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.21s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Gather system services facts ---------- 9.60s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 7.63s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 7.58s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Remove related packages ------------------------------------------------- 6.86s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.mssql : Gather system services facts ---------- 6.56s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Gather system services facts ---------- 6.56s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 6.24s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.23s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Gather system services facts ---------- 4.55s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.98s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Copy certificates to hosts ---------------------------------------------- 2.90s /WORKDIR/git-storage-selinuxw7itwrrh/tests/tasks/tests_tls.yml:107 ------------ fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 2.42s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 fedora.linux_system_roles.mssql : Ensure the package mssql-server ------- 2.23s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.22s /WORKDIR/git-storage-selinuxw7itwrrh/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---