# 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-selinux4fa7ltoe/.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_2019.yml *************************************************** 2 plays in /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tls_2019.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tls_2019.yml:4 Saturday 09 December 2023 14:34:33 +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-selinux4fa7ltoe/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tls_2019.yml:9 Saturday 09 December 2023 14:34:33 +0000 (0:00:00.012) 0:00:00.031 ***** ok: [sut] TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tls_2019.yml:23 Saturday 09 December 2023 14:34:34 +0000 (0:00:00.673) 0:00:00.705 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:2 Saturday 09 December 2023 14:34:34 +0000 (0:00:00.016) 0:00:00.722 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Saturday 09 December 2023 14:34:34 +0000 (0:00:00.010) 0:00:00.732 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Saturday 09 December 2023 14:34:34 +0000 (0:00:00.219) 0:00:00.951 ***** 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-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Saturday 09 December 2023 14:34:34 +0000 (0:00:00.018) 0:00:00.970 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:5 Saturday 09 December 2023 14:34:34 +0000 (0:00:00.018) 0:00:00.988 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:11 Saturday 09 December 2023 14:34:35 +0000 (0:00:00.410) 0:00:01.399 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.K4_YOn", "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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:17 Saturday 09 December 2023 14:34:35 +0000 (0:00:00.174) 0:00:01.573 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.dorcNe", "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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:23 Saturday 09 December 2023 14:34:35 +0000 (0:00:00.118) 0:00:01.691 ***** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.9.22", "-out", "/tmp/ansible.K4_YOn", "-keyout", "/tmp/ansible.dorcNe", "-days", "365" ], "delta": "0:00:00.131702", "end": "2023-12-09 14:34:35.932355", "rc": 0, "start": "2023-12-09 14:34:35.800653" } STDERR: Generating a 2048 bit RSA private key .....................+++ ..........................+++ writing new private key to '/tmp/ansible.dorcNe' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:32 Saturday 09 December 2023 14:34:35 +0000 (0:00:00.311) 0:00:02.003 ***** changed: [sut] => (item=/tmp/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": true, "checksum": "03b6a8cc6acfda8f579c25623d8c19ef324d5c62", "dest": "/tmp/ansible.K4_YOn", "item": "/tmp/ansible.K4_YOn", "md5sum": "1b122413b956083fad503f6efb7dc46f", "remote_checksum": "03b6a8cc6acfda8f579c25623d8c19ef324d5c62", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.dorcNe) => { "ansible_loop_var": "item", "changed": true, "checksum": "6883953aaccaf0653c11f88b6d6f35adba928bd9", "dest": "/tmp/ansible.dorcNe", "item": "/tmp/ansible.dorcNe", "md5sum": "8e3a813175331746f238a615148e0cc3", "remote_checksum": "6883953aaccaf0653c11f88b6d6f35adba928bd9", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:44 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.390) 0:00:02.394 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "6883953aaccaf0653c11f88b6d6f35adba928bd9", "dest": "./ansible.dorcNe", "gid": 1001, "group": "jenkins", "md5sum": "8e3a813175331746f238a615148e0cc3", "mode": "0600", "owner": "jenkins", "size": 1704, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1702132476.3527439-13006-7130725172057/source", "state": "file", "uid": 1000090000 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:52 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.299) 0:00:02.693 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.K4_YOn", "mssql_tls_private_key": "ansible.dorcNe" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:59 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.017) 0:00:02.710 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.079) 0:00:02.790 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.011) 0:00:02.801 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.017) 0:00:02.819 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.022) 0:00:02.841 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.009) 0:00:02.851 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.013) 0:00:02.864 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.013) 0:00:02.878 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.010) 0:00:02.888 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.011) 0:00:02.900 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.011) 0:00:02.911 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.011) 0:00:02.922 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.019) 0:00:02.942 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.015) 0:00:02.957 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.015) 0:00:02.972 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.015) 0:00:02.988 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.016) 0:00:03.004 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:34:36 +0000 (0:00:00.016) 0:00:03.020 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:34:38 +0000 (0:00:01.127) 0:00:04.148 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.031) 0:00:04.180 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.017) 0:00:04.197 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.026) 0:00:04.223 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.035) 0:00:04.258 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.424) 0:00:04.683 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.018) 0:00:04.702 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.018) 0:00:04.720 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.033) 0:00:04.754 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.206) 0:00:04.960 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.024) 0:00:04.985 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.023) 0:00:05.009 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.024) 0:00:05.033 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Saturday 09 December 2023 14:34:38 +0000 (0:00:00.023) 0:00:05.057 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Saturday 09 December 2023 14:34:39 +0000 (0:00:00.023) 0:00:05.081 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4335.1-6 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4335.1-6.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4335.1-6.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4335.1-6 packages-microsoft-com-mssql-server-2019\n 228 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 5/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Installing : gdb-7.6.1-120.el7.x86_64 8/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/12 \n Installing : lsof-4.87-6.el7.x86_64 10/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 11/12 \n Installing : mssql-server-15.0.4335.1-6.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/12 \n Verifying : lsof-4.87-6.el7.x86_64 3/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 6/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 7/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 8/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 9/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 10/12 \n Verifying : mssql-server-15.0.4335.1-6.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4335.1-6 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Saturday 09 December 2023 14:35:17 +0000 (0:00:38.346) 0:00:43.427 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Saturday 09 December 2023 14:35:17 +0000 (0:00:00.016) 0:00:43.444 ***** 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.005745", "end": "2023-12-09 14:35:17.505427", "rc": 0, "start": "2023-12-09 14:35:17.499682" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Saturday 09 December 2023 14:35:17 +0000 (0:00:00.139) 0:00:43.583 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Saturday 09 December 2023 14:35:18 +0000 (0:00:00.856) 0:00:44.440 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Saturday 09 December 2023 14:35:18 +0000 (0:00:00.033) 0:00:44.473 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Saturday 09 December 2023 14:35:18 +0000 (0:00:00.023) 0:00:44.497 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Saturday 09 December 2023 14:35:24 +0000 (0:00:05.833) 0:00:50.331 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Saturday 09 December 2023 14:35:24 +0000 (0:00:00.023) 0:00:50.355 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Saturday 09 December 2023 14:35:24 +0000 (0:00:00.024) 0:00:50.379 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Saturday 09 December 2023 14:35:24 +0000 (0:00:00.334) 0:00:50.713 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:04:22 UTC", "ActiveEnterTimestampMonotonic": "15259716", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target basic.target systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:04:21 UTC", "AssertTimestampMonotonic": "14170259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ConditionTimestampMonotonic": "14170257", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ExecMainStartTimestampMonotonic": "14170908", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:04:21 UTC", "InactiveExitTimestampMonotonic": "14170951", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:04:22 UTC", "WatchdogTimestampMonotonic": "15259652", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Saturday 09 December 2023 14:35:25 +0000 (0:00:00.457) 0:00:51.171 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.119282", "end": "2023-12-09 14:35:25.387787", "rc": 0, "start": "2023-12-09 14:35:25.268505" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Saturday 09 December 2023 14:35:25 +0000 (0:00:00.299) 0:00:51.470 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Saturday 09 December 2023 14:35:25 +0000 (0:00:00.016) 0:00:51.487 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Saturday 09 December 2023 14:35:25 +0000 (0:00:00.040) 0:00:51.527 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Saturday 09 December 2023 14:35:25 +0000 (0:00:00.017) 0:00:51.545 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Saturday 09 December 2023 14:35:25 +0000 (0:00:00.149) 0:00:51.695 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Saturday 09 December 2023 14:35:30 +0000 (0:00:05.139) 0:00:56.834 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.020) 0:00:56.855 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.024) 0:00:56.879 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.019) 0:00:56.899 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.019) 0:00:56.919 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.027) 0:00:56.947 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.020) 0:00:56.967 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.018) 0:00:56.986 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.018) 0:00:57.004 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.021) 0:00:57.026 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Saturday 09 December 2023 14:35:30 +0000 (0:00:00.020) 0:00:57.046 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.033) 0:00:57.079 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.020) 0:00:57.099 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.025) 0:00:57.124 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.026) 0:00:57.151 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.025) 0:00:57.177 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.051) 0:00:57.229 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004341", "end": "2023-12-09 14:35:31.294901", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:31.290560" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.145) 0:00:57.374 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.128421", "end": "2023-12-09 14:35:31.568673", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:31.440252" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.286) 0:00:57.661 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.022) 0:00:57.684 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.031) 0:00:57.715 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.025) 0:00:57.741 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.024) 0:00:57.766 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.020) 0:00:57.786 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.021) 0:00:57.808 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.020) 0:00:57.829 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.019) 0:00:57.848 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.020) 0:00:57.869 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.021) 0:00:57.891 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.030) 0:00:57.922 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Saturday 09 December 2023 14:35:31 +0000 (0:00:00.037) 0:00:57.959 ***** changed: [sut] => (item=/tmp/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": true, "checksum": "03b6a8cc6acfda8f579c25623d8c19ef324d5c62", "dest": "/etc/pki/tls/certs/ansible.K4_YOn", "gid": 994, "group": "mssql", "item": "/tmp/ansible.K4_YOn", "md5sum": "1b122413b956083fad503f6efb7dc46f", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1702132531.9474444-13326-110536979611262/source", "state": "file", "uid": 996 } changed: [sut] => (item=ansible.dorcNe) => { "ansible_loop_var": "item", "changed": true, "checksum": "6883953aaccaf0653c11f88b6d6f35adba928bd9", "dest": "/etc/pki/tls/private/ansible.dorcNe", "gid": 994, "group": "mssql", "item": "ansible.dorcNe", "md5sum": "8e3a813175331746f238a615148e0cc3", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1702132532.3245707-13326-7773306560110/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Saturday 09 December 2023 14:35:32 +0000 (0:00:00.767) 0:00:58.726 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:32 +0000 (0:00:00.035) 0:00:58.762 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003177", "end": "2023-12-09 14:35:32.837443", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:32.834266" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:32 +0000 (0:00:00.181) 0:00:58.943 ***** 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.K4_YOn" ], "delta": "0:00:00.128109", "end": "2023-12-09 14:35:33.148950", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:33.020841" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.288) 0:00:59.231 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.028) 0:00:59.260 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.035) 0:00:59.296 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003386", "end": "2023-12-09 14:35:33.363011", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:33.359625" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.147) 0:00:59.443 ***** 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.dorcNe" ], "delta": "0:00:00.125427", "end": "2023-12-09 14:35:33.638061", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:33.512634" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.276) 0:00:59.720 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.030) 0:00:59.751 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.035) 0:00:59.786 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003317", "end": "2023-12-09 14:35:33.854066", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:33.850749" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:33 +0000 (0:00:00.148) 0:00:59.934 ***** 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.126318", "end": "2023-12-09 14:35:34.130277", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:34.003959" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.278) 0:01:00.213 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.023) 0:01:00.237 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.036) 0:01:00.273 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003368", "end": "2023-12-09 14:35:34.341122", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:34.337754" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.146) 0:01:00.420 ***** 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.126739", "end": "2023-12-09 14:35:34.616854", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:34.490115" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.279) 0:01:00.700 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.021) 0:01:00.721 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.028) 0:01:00.750 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.053) 0:01:00.803 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.025) 0:01:00.829 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.036) 0:01:00.865 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.020) 0:01:00.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 : Check if AD user exists] *************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.019) 0:01:00.905 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.020) 0:01:00.925 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.018) 0:01:00.944 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.019) 0:01:00.963 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.018) 0:01:00.981 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.019) 0:01:01.000 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.023) 0:01:01.024 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Saturday 09 December 2023 14:35:34 +0000 (0:00:00.018) 0:01:01.042 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.019) 0:01:01.062 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.023) 0:01:01.086 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.019) 0:01:01.106 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.124 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.143 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.161 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.179 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.049) 0:01:01.229 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.247 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.266 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.283 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.301 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.320 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.020) 0:01:01.340 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.358 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.375 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.021) 0:01:01.397 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.021) 0:01:01.419 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.437 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.019) 0:01:01.456 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.492 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.510 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.528 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.545 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.016) 0:01:01.561 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.040) 0:01:01.601 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.619 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.022) 0:01:01.642 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.660 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.678 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.696 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.714 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.023) 0:01:01.738 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.017) 0:01:01.756 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.775 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Saturday 09 December 2023 14:35:35 +0000 (0:00:00.018) 0:01:01.793 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Saturday 09 December 2023 14:35:36 +0000 (0:00:00.270) 0:01:02.064 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Saturday 09 December 2023 14:35:36 +0000 (0:00:00.019) 0:01:02.083 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:35:24 UTC", "ActiveEnterTimestampMonotonic": "1877181386", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target -.mount system.slice auditd.service network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:35:24 UTC", "AssertTimestampMonotonic": "1877180448", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:35:24 UTC", "ConditionTimestampMonotonic": "1877180446", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25067", "ExecMainStartTimestamp": "Sat 2023-12-09 14:35:24 UTC", "ExecMainStartTimestampMonotonic": "1877181326", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:35:24 UTC", "InactiveExitTimestampMonotonic": "1877181386", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25067", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:35:24 UTC", "WatchdogTimestampMonotonic": "1877181365", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Saturday 09 December 2023 14:35:40 +0000 (0:00:04.306) 0:01:06.390 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Saturday 09 December 2023 14:35:40 +0000 (0:00:00.020) 0:01:06.410 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:68 Saturday 09 December 2023 14:35:40 +0000 (0:00:00.031) 0:01:06.442 ***** changed: [sut -> localhost] => { "changed": true, "path": "ansible.dorcNe", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:75 Saturday 09 December 2023 14:35:40 +0000 (0:00:00.221) 0:01:06.663 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql-sever-increase-start-limit.yml:3 Saturday 09 December 2023 14:35:40 +0000 (0:00:00.053) 0:01:06.717 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql-sever-increase-start-limit.yml:10 Saturday 09 December 2023 14:35:40 +0000 (0:00:00.198) 0:01:06.915 ***** changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql-sever-increase-start-limit.yml:17 Saturday 09 December 2023 14:35:40 +0000 (0:00:00.136) 0:01:07.052 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:78 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.275) 0:01:07.327 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:8 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.043) 0:01:07.371 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:23 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.017) 0:01:07.389 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:35 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.018) 0:01:07.408 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:39 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.019) 0:01:07.427 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:55 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.019) 0:01:07.447 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:60 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.026) 0:01:07.473 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:70 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.019) 0:01:07.493 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:75 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.021) 0:01:07.514 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:85 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.020) 0:01:07.535 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.037) 0:01:07.573 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:35:40 UTC", "ActiveEnterTimestampMonotonic": "1893314556", "ActiveExitTimestamp": "Sat 2023-12-09 14:35:36 UTC", "ActiveExitTimestampMonotonic": "1889232623", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:35:40 UTC", "AssertTimestampMonotonic": "1893313694", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:35:40 UTC", "ConditionTimestampMonotonic": "1893313692", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25617", "ExecMainStartTimestamp": "Sat 2023-12-09 14:35:40 UTC", "ExecMainStartTimestampMonotonic": "1893314493", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:35:40 UTC", "InactiveEnterTimestampMonotonic": "1893312470", "InactiveExitTimestamp": "Sat 2023-12-09 14:35:40 UTC", "InactiveExitTimestampMonotonic": "1893314556", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25617", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:35:40 UTC", "WatchdogTimestampMonotonic": "1893314534", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.229) 0:01:07.802 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004901", "end": "2023-12-09 14:35:41.865439", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:41.860538" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 14:35:41 +0000 (0:00:00.173) 0:01:07.975 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005229", "end": "2023-12-09 14:35:43.094124", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:42.088895" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 14:35:43 +0000 (0:00:01.203) 0:01:09.179 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 Saturday 09 December 2023 14:35:43 +0000 (0:00:00.051) 0:01:09.230 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6995, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:99 Saturday 09 December 2023 14:35:44 +0000 (0:00:01.258) 0:01:10.488 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030384", "end": "2023-12-09 14:35:44.572101", "rc": 0, "start": "2023-12-09 14:35:44.541717" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:113 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.171) 0:01:10.660 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:117 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.021) 0:01:10.681 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:124 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.019) 0:01:10.701 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:135 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.017) 0:01:10.718 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:140 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.017) 0:01:10.736 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:145 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.017) 0:01:10.753 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:151 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.017) 0:01:10.770 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:157 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.018) 0:01:10.789 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:167 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.017) 0:01:10.807 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.039) 0:01:10.847 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004587", "end": "2023-12-09 14:35:44.906717", "rc": 0, "start": "2023-12-09 14:35:44.902130" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.K4_YOn TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.141) 0:01:10.988 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.035) 0:01:11.023 ***** 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.K4_YOn] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:35:44 +0000 (0:00:00.022) 0:01:11.046 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:178 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.048) 0:01:11.095 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.032) 0:01:11.127 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004478", "end": "2023-12-09 14:35:45.186850", "rc": 0, "start": "2023-12-09 14:35:45.182372" } STDOUT: tlskey = /etc/pki/tls/private/ansible.dorcNe TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.139) 0:01:11.266 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.028) 0:01:11.295 ***** 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.dorcNe] *************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.024) 0:01:11.319 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:190 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.019) 0:01:11.338 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.032) 0:01:11.371 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004483", "end": "2023-12-09 14:35:45.429246", "rc": 0, "start": "2023-12-09 14:35:45.424763" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.139) 0:01:11.510 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.025) 0:01:11.536 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.022) 0:01:11.558 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:198 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.018) 0:01:11.577 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.034) 0:01:11.611 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004489", "end": "2023-12-09 14:35:45.676735", "rc": 0, "start": "2023-12-09 14:35:45.672246" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.145) 0:01:11.756 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.021) 0:01:11.778 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.025) 0:01:11.804 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:208 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.018) 0:01:11.823 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:213 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.048) 0:01:11.871 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:219 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.018) 0:01:11.890 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:85 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.019) 0:01:11.910 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.108) 0:01:12.018 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:35:45 +0000 (0:00:00.038) 0:01:12.056 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.024) 0:01:12.081 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.032) 0:01:12.114 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.020) 0:01:12.134 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.019) 0:01:12.154 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.019) 0:01:12.173 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.018) 0:01:12.192 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.018) 0:01:12.211 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.018) 0:01:12.229 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.018) 0:01:12.248 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.048) 0:01:12.296 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.017) 0:01:12.314 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.017) 0:01:12.332 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.017) 0:01:12.349 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.019) 0:01:12.368 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:35:46 +0000 (0:00:00.020) 0:01:12.389 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.960) 0:01:13.349 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.057) 0:01:13.407 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.019) 0:01:13.427 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.024) 0:01:13.451 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.037) 0:01:13.488 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.338) 0:01:13.827 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.020) 0:01:13.847 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.021) 0:01:13.868 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.021) 0:01:13.889 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.024) 0:01:13.914 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.019) 0:01:13.933 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.053) 0:01:13.986 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.020) 0:01:14.006 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.021) 0:01:14.027 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Saturday 09 December 2023 14:35:47 +0000 (0:00:00.020) 0:01:14.048 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Saturday 09 December 2023 14:35:48 +0000 (0:00:00.315) 0:01:14.363 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Saturday 09 December 2023 14:35:48 +0000 (0:00:00.018) 0:01:14.382 ***** 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.005250", "end": "2023-12-09 14:35:48.438473", "rc": 0, "start": "2023-12-09 14:35:48.433223" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Saturday 09 December 2023 14:35:48 +0000 (0:00:00.136) 0:01:14.518 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.739) 0:01:15.257 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.027) 0:01:15.285 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.018) 0:01:15.304 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.018) 0:01:15.322 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.027) 0:01:15.349 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.018) 0:01:15.367 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.310) 0:01:15.677 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:04:22 UTC", "ActiveEnterTimestampMonotonic": "15259716", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket basic.target network.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:04:21 UTC", "AssertTimestampMonotonic": "14170259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ConditionTimestampMonotonic": "14170257", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ExecMainStartTimestampMonotonic": "14170908", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:04:21 UTC", "InactiveExitTimestampMonotonic": "14170951", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:04:22 UTC", "WatchdogTimestampMonotonic": "15259652", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Saturday 09 December 2023 14:35:49 +0000 (0:00:00.214) 0:01:15.891 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092900", "end": "2023-12-09 14:35:50.036544", "rc": 0, "start": "2023-12-09 14:35:49.943644" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.236) 0:01:16.128 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.018) 0:01:16.147 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.018) 0:01:16.165 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.058) 0:01:16.224 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.145) 0:01:16.369 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.316) 0:01:16.686 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.022) 0:01:16.708 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.020) 0:01:16.728 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.020) 0:01:16.748 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.020) 0:01:16.768 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.023) 0:01:16.792 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.027) 0:01:16.819 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.019) 0:01:16.838 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.022) 0:01:16.861 ***** 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.005344", "end": "2023-12-09 14:35:50.923168", "rc": 0, "start": "2023-12-09 14:35:50.917824" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.143) 0:01:17.005 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Saturday 09 December 2023 14:35:50 +0000 (0:00:00.022) 0:01:17.027 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Saturday 09 December 2023 14:35:51 +0000 (0:00:00.969) 0:01:17.996 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Saturday 09 December 2023 14:35:51 +0000 (0:00:00.020) 0:01:18.017 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Saturday 09 December 2023 14:35:51 +0000 (0:00:00.017) 0:01:18.035 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.064) 0:01:18.099 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.020) 0:01:18.120 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.031) 0:01:18.151 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003268", "end": "2023-12-09 14:35:52.209507", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:52.206239" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.138) 0:01:18.290 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.127107", "end": "2023-12-09 14:35:52.474562", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:52.347455" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.269) 0:01:18.559 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.019) 0:01:18.579 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.021) 0:01:18.600 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.022) 0:01:18.623 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.022) 0:01:18.645 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.021) 0:01:18.666 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.022) 0:01:18.689 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.028) 0:01:18.717 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.020) 0:01:18.738 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.019) 0:01:18.758 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.018) 0:01:18.776 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.019) 0:01:18.796 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.019) 0:01:18.816 ***** skipping: [sut] => (item=/tmp/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "/tmp/ansible.K4_YOn", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.dorcNe) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "ansible.dorcNe", "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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.023) 0:01:18.839 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.062) 0:01:18.902 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003323", "end": "2023-12-09 14:35:52.962051", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:52.958728" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.K4_YOn TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:52 +0000 (0:00:00.141) 0:01:19.043 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.025) 0:01:19.069 ***** 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.127910", "end": "2023-12-09 14:35:53.254616", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:53.126706" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.268) 0:01:19.337 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.035) 0:01:19.373 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003326", "end": "2023-12-09 14:35:53.431395", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:53.428069" } STDOUT: tlskey = /etc/pki/tls/private/ansible.dorcNe TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.140) 0:01:19.513 ***** skipping: [sut] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.024) 0:01:19.538 ***** 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.124583", "end": "2023-12-09 14:35:53.720135", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:53.595552" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.265) 0:01:19.803 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.036) 0:01:19.840 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003382", "end": "2023-12-09 14:35:53.898695", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:53.895313" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.140) 0:01:19.980 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:53 +0000 (0:00:00.024) 0:01:20.005 ***** 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.126238", "end": "2023-12-09 14:35:54.188591", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:54.062353" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.267) 0:01:20.272 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.037) 0:01:20.310 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003367", "end": "2023-12-09 14:35:54.368663", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:54.365296" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.139) 0:01:20.450 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.024) 0:01:20.474 ***** 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.129272", "end": "2023-12-09 14:35:54.662455", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:35:54.533183" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.301) 0:01:20.775 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.018) 0:01:20.794 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.017) 0:01:20.812 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.018) 0:01:20.831 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.022) 0:01:20.853 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.022) 0:01:20.875 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.019) 0:01:20.894 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.019) 0:01:20.914 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.017) 0:01:20.932 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.018) 0:01:20.950 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.017) 0:01:20.968 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.016) 0:01:20.984 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.017) 0:01:21.002 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.016) 0:01:21.019 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.017) 0:01:21.036 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Saturday 09 December 2023 14:35:54 +0000 (0:00:00.016) 0:01:21.052 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.069 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.087 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.103 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.046) 0:01:21.150 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.168 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.187 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.204 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.221 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.238 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.255 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.272 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.019) 0:01:21.292 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.311 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.328 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.020) 0:01:21.349 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.366 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.383 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.017) 0:01:21.400 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.417 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.434 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.451 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.016) 0:01:21.467 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.045) 0:01:21.513 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.531 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.023) 0:01:21.555 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.019) 0:01:21.574 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.023) 0:01:21.598 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.019) 0:01:21.617 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.636 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.655 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.673 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.022) 0:01:21.695 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.019) 0:01:21.714 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.018) 0:01:21.733 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.025) 0:01:21.759 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.181) 0:01:21.941 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Saturday 09 December 2023 14:35:55 +0000 (0:00:00.020) 0:01:21.961 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:35:40 UTC", "ActiveEnterTimestampMonotonic": "1893314556", "ActiveExitTimestamp": "Sat 2023-12-09 14:35:36 UTC", "ActiveExitTimestampMonotonic": "1889232623", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:35:40 UTC", "AssertTimestampMonotonic": "1893313694", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:35:40 UTC", "ConditionTimestampMonotonic": "1893313692", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25617", "ExecMainStartTimestamp": "Sat 2023-12-09 14:35:40 UTC", "ExecMainStartTimestampMonotonic": "1893314493", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:35:40 UTC", "InactiveEnterTimestampMonotonic": "1893312470", "InactiveExitTimestamp": "Sat 2023-12-09 14:35:40 UTC", "InactiveExitTimestampMonotonic": "1893314556", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25617", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:35:40 UTC", "WatchdogTimestampMonotonic": "1893314534", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.484) 0:01:22.446 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.019) 0:01:22.466 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:92 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.080) 0:01:22.546 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:8 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.102) 0:01:22.649 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:23 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.018) 0:01:22.667 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:35 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.019) 0:01:22.687 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:39 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.021) 0:01:22.708 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:55 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.024) 0:01:22.733 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:60 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.020) 0:01:22.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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:70 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.020) 0:01:22.774 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:75 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.020) 0:01:22.795 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:85 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.019) 0:01:22.814 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 14:35:56 +0000 (0:00:00.039) 0:01:22.854 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ActiveEnterTimestampMonotonic": "1909372679", "ActiveExitTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ActiveExitTimestampMonotonic": "1909111004", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:35:56 UTC", "AssertTimestampMonotonic": "1909371928", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ConditionTimestampMonotonic": "1909371926", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26344", "ExecMainStartTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ExecMainStartTimestampMonotonic": "1909372598", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:35:56 UTC] ; stop_time=[n/a] ; pid=26344 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:35:56 UTC", "InactiveEnterTimestampMonotonic": "1909371391", "InactiveExitTimestamp": "Sat 2023-12-09 14:35:56 UTC", "InactiveExitTimestampMonotonic": "1909372679", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26344", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:35:56 UTC", "WatchdogTimestampMonotonic": "1909372649", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 14:35:57 +0000 (0:00:00.223) 0:01:23.078 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003632", "end": "2023-12-09 14:35:57.144372", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:57.140740" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 14:35:57 +0000 (0:00:00.152) 0:01:23.230 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003387", "end": "2023-12-09 14:35:57.291318", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:35:57.287931" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 14:35:57 +0000 (0:00:00.140) 0:01:23.370 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 Saturday 09 December 2023 14:35:57 +0000 (0:00:00.071) 0:01:23.442 ***** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6208, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:99 Saturday 09 December 2023 14:35:59 +0000 (0:00:02.164) 0:01:25.606 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.043819", "end": "2023-12-09 14:35:59.751281", "rc": 0, "start": "2023-12-09 14:35:59.707462" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:113 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.233) 0:01:25.840 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:117 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.023) 0:01:25.864 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:124 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.021) 0:01:25.885 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:135 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.018) 0:01:25.904 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:140 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.019) 0:01:25.923 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:145 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.020) 0:01:25.944 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:151 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.019) 0:01:25.963 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:157 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.021) 0:01:25.984 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:167 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.019) 0:01:26.004 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:35:59 +0000 (0:00:00.035) 0:01:26.040 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005208", "end": "2023-12-09 14:36:00.139337", "rc": 0, "start": "2023-12-09 14:36:00.134129" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.180) 0:01:26.221 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.028) 0:01:26.249 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.024) 0:01:26.274 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:178 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.020) 0:01:26.294 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.032) 0:01:26.327 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004368", "end": "2023-12-09 14:36:00.384706", "rc": 0, "start": "2023-12-09 14:36:00.380338" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.168) 0:01:26.495 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.027) 0:01:26.523 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.023) 0:01:26.546 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:190 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.019) 0:01:26.566 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.034) 0:01:26.600 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004458", "end": "2023-12-09 14:36:00.657363", "rc": 0, "start": "2023-12-09 14:36:00.652905" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.136) 0:01:26.737 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.027) 0:01:26.765 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.022) 0:01:26.787 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:198 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.020) 0:01:26.808 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.035) 0:01:26.843 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004437", "end": "2023-12-09 14:36:00.902656", "rc": 0, "start": "2023-12-09 14:36:00.898219" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.140) 0:01:26.983 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.020) 0:01:27.003 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.025) 0:01:27.028 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:208 Saturday 09 December 2023 14:36:00 +0000 (0:00:00.017) 0:01:27.046 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:213 Saturday 09 December 2023 14:36:01 +0000 (0:00:00.019) 0:01:27.065 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:219 Saturday 09 December 2023 14:36:01 +0000 (0:00:00.018) 0:01:27.084 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:99 Saturday 09 December 2023 14:36:01 +0000 (0:00:00.017) 0:01:27.102 ***** changed: [sut] => (item=/etc/pki/tls/certs/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.K4_YOn", "path": "/etc/pki/tls/certs/ansible.K4_YOn", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.dorcNe) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.dorcNe", "path": "/etc/pki/tls/private/ansible.dorcNe", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:107 Saturday 09 December 2023 14:36:01 +0000 (0:00:00.310) 0:01:27.413 ***** ok: [sut] => (item=/tmp/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": false, "checksum": "03b6a8cc6acfda8f579c25623d8c19ef324d5c62", "dest": "/tmp/ansible.K4_YOn", "gid": 0, "group": "root", "item": "/tmp/ansible.K4_YOn", "mode": "0600", "owner": "root", "path": "/tmp/ansible.K4_YOn", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.dorcNe) => { "ansible_loop_var": "item", "changed": false, "checksum": "6883953aaccaf0653c11f88b6d6f35adba928bd9", "dest": "/tmp/ansible.dorcNe", "gid": 0, "group": "root", "item": "/tmp/ansible.dorcNe", "mode": "0600", "owner": "root", "path": "/tmp/ansible.dorcNe", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:116 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.683) 0:01:28.096 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.K4_YOn", "mssql_tls_private_key": "ansible.dorcNe" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:121 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.026) 0:01:28.123 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.202) 0:01:28.325 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.032) 0:01:28.357 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.024) 0:01:28.382 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.034) 0:01:28.416 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.019) 0:01:28.436 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.019) 0:01:28.455 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.018) 0:01:28.474 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.019) 0:01:28.493 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.019) 0:01:28.513 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.019) 0:01:28.532 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.054) 0:01:28.587 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.022) 0:01:28.610 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.018) 0:01:28.628 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.018) 0:01:28.646 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.016) 0:01:28.663 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.019) 0:01:28.682 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:36:02 +0000 (0:00:00.018) 0:01:28.701 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:36:03 +0000 (0:00:00.967) 0:01:29.669 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:36:03 +0000 (0:00:00.055) 0:01:29.724 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:36:03 +0000 (0:00:00.021) 0:01:29.746 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Saturday 09 December 2023 14:36:03 +0000 (0:00:00.024) 0:01:29.771 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Saturday 09 December 2023 14:36:03 +0000 (0:00:00.037) 0:01:29.808 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.337) 0:01:30.145 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.020) 0:01:30.166 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.020) 0:01:30.186 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.020) 0:01:30.207 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.057) 0:01:30.264 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.018) 0:01:30.283 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.018) 0:01:30.301 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.018) 0:01:30.320 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.019) 0:01:30.340 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_confined_supported | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.018) 0:01:30.359 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.316) 0:01:30.675 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.019) 0:01:30.694 ***** 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.005374", "end": "2023-12-09 14:36:04.754702", "rc": 0, "start": "2023-12-09 14:36:04.749328" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Saturday 09 December 2023 14:36:04 +0000 (0:00:00.140) 0:01:30.835 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.723) 0:01:31.559 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.027) 0:01:31.586 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.017) 0:01:31.603 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.017) 0:01:31.621 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.024) 0:01:31.645 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.018) 0:01:31.664 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Saturday 09 December 2023 14:36:05 +0000 (0:00:00.313) 0:01:31.977 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:04:22 UTC", "ActiveEnterTimestampMonotonic": "15259716", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket basic.target network.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:04:21 UTC", "AssertTimestampMonotonic": "14170259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ConditionTimestampMonotonic": "14170257", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ExecMainStartTimestampMonotonic": "14170908", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:04:21 UTC", "InactiveExitTimestampMonotonic": "14170951", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:04:22 UTC", "WatchdogTimestampMonotonic": "15259652", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.218) 0:01:32.195 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091135", "end": "2023-12-09 14:36:06.346068", "rc": 0, "start": "2023-12-09 14:36:06.254933" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.232) 0:01:32.427 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.027) 0:01:32.454 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.064) 0:01:32.519 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.020) 0:01:32.539 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.143) 0:01:32.682 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.311) 0:01:32.994 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.020) 0:01:33.015 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Saturday 09 December 2023 14:36:06 +0000 (0:00:00.022) 0:01:33.037 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.023) 0:01:33.060 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.021) 0:01:33.081 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.023) 0:01:33.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 : Pre-input SQL script files to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.022) 0:01:33.128 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.021) 0:01:33.149 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.021) 0:01:33.170 ***** 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.005139", "end": "2023-12-09 14:36:07.230218", "rc": 0, "start": "2023-12-09 14:36:07.225079" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.151) 0:01:33.322 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Saturday 09 December 2023 14:36:07 +0000 (0:00:00.028) 0:01:33.350 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.959) 0:01:34.310 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.020) 0:01:34.330 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.061) 0:01:34.392 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.019) 0:01:34.411 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.019) 0:01:34.431 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.031) 0:01:34.463 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003296", "end": "2023-12-09 14:36:08.523558", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:08.520262" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.141) 0:01:34.604 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.128966", "end": "2023-12-09 14:36:08.791910", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:08.662944" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.271) 0:01:34.875 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.018) 0:01:34.894 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.017) 0:01:34.912 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.019) 0:01:34.931 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.019) 0:01:34.950 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.018) 0:01:34.969 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.020) 0:01:34.989 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.019) 0:01:35.009 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.020) 0:01:35.029 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Saturday 09 December 2023 14:36:08 +0000 (0:00:00.020) 0:01:35.050 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.019) 0:01:35.069 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.022) 0:01:35.091 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.021) 0:01:35.113 ***** changed: [sut] => (item=/tmp/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": true, "checksum": "03b6a8cc6acfda8f579c25623d8c19ef324d5c62", "dest": "/etc/pki/tls/certs/ansible.K4_YOn", "gid": 994, "group": "mssql", "item": "/tmp/ansible.K4_YOn", "md5sum": "1b122413b956083fad503f6efb7dc46f", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.K4_YOn", "state": "file", "uid": 996 } changed: [sut] => (item=/tmp/ansible.dorcNe) => { "ansible_loop_var": "item", "changed": true, "checksum": "6883953aaccaf0653c11f88b6d6f35adba928bd9", "dest": "/etc/pki/tls/private/ansible.dorcNe", "gid": 994, "group": "mssql", "item": "/tmp/ansible.dorcNe", "md5sum": "8e3a813175331746f238a615148e0cc3", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.dorcNe", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.445) 0:01:35.558 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.035) 0:01:35.593 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003325", "end": "2023-12-09 14:36:09.655189", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:09.651864" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.142) 0:01:35.736 ***** 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.K4_YOn" ], "delta": "0:00:00.130041", "end": "2023-12-09 14:36:09.929427", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:09.799386" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.276) 0:01:36.013 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Saturday 09 December 2023 14:36:09 +0000 (0:00:00.021) 0:01:36.034 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.033) 0:01:36.068 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003338", "end": "2023-12-09 14:36:10.129033", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:10.125695" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.141) 0:01:36.210 ***** 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.dorcNe" ], "delta": "0:00:00.128769", "end": "2023-12-09 14:36:10.401247", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:10.272478" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.275) 0:01:36.485 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.020) 0:01:36.506 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.034) 0:01:36.540 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003209", "end": "2023-12-09 14:36:10.601534", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:10.598325" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.140) 0:01:36.681 ***** 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.128597", "end": "2023-12-09 14:36:10.874585", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:10.745988" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.277) 0:01:36.959 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.021) 0:01:36.981 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:10 +0000 (0:00:00.036) 0:01:37.017 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003401", "end": "2023-12-09 14:36:11.077248", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:11.073847" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.140) 0:01:37.157 ***** 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.128160", "end": "2023-12-09 14:36:11.349577", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:11.221417" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.313) 0:01:37.471 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.021) 0:01:37.492 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.019) 0:01:37.511 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.019) 0:01:37.530 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.548 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.022) 0:01:37.571 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.021) 0:01:37.592 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.021) 0:01:37.614 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.022) 0:01:37.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 : Get SPNs for the principal] ************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.024) 0:01:37.661 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.020) 0:01:37.682 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.701 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.720 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.738 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.756 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.775 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.017) 0:01:37.792 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.811 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.017) 0:01:37.829 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.059) 0:01:37.888 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.907 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.020) 0:01:37.928 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.019) 0:01:37.947 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:37.966 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.019) 0:01:37.985 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.020) 0:01:38.006 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.018) 0:01:38.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Saturday 09 December 2023 14:36:11 +0000 (0:00:00.019) 0:01:38.044 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.021) 0:01:38.066 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.019) 0:01:38.085 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.017) 0:01:38.103 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.022) 0:01:38.126 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.017) 0:01:38.144 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.018) 0:01:38.162 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.017) 0:01:38.180 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.018) 0:01:38.198 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.020) 0:01:38.218 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.018) 0:01:38.237 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.056) 0:01:38.294 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.018) 0:01:38.313 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.020) 0:01:38.333 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.019) 0:01:38.352 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.018) 0:01:38.370 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.023) 0:01:38.394 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.018) 0:01:38.412 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.019) 0:01:38.432 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.019) 0:01:38.451 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.025) 0:01:38.476 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.024) 0:01:38.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.020) 0:01:38.521 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.020) 0:01:38.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 ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.022) 0:01:38.564 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.169) 0:01:38.734 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Saturday 09 December 2023 14:36:12 +0000 (0:00:00.019) 0:01:38.754 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ActiveEnterTimestampMonotonic": "1909372679", "ActiveExitTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ActiveExitTimestampMonotonic": "1909111004", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:35:56 UTC", "AssertTimestampMonotonic": "1909371928", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ConditionTimestampMonotonic": "1909371926", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26344", "ExecMainStartTimestamp": "Sat 2023-12-09 14:35:56 UTC", "ExecMainStartTimestampMonotonic": "1909372598", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:35:56 UTC] ; stop_time=[n/a] ; pid=26344 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:35:56 UTC", "InactiveEnterTimestampMonotonic": "1909371391", "InactiveExitTimestamp": "Sat 2023-12-09 14:35:56 UTC", "InactiveExitTimestampMonotonic": "1909372679", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26344", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:35:56 UTC", "WatchdogTimestampMonotonic": "1909372649", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.932) 0:01:39.686 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.018) 0:01:39.704 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:131 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.067) 0:01:39.771 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:8 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.117) 0:01:39.888 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:23 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.019) 0:01:39.908 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:35 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.020) 0:01:39.928 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:39 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.020) 0:01:39.948 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:55 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.020) 0:01:39.968 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:60 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.018) 0:01:39.987 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:70 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.017) 0:01:40.005 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:75 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.018) 0:01:40.023 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:85 Saturday 09 December 2023 14:36:13 +0000 (0:00:00.017) 0:01:40.040 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 14:36:14 +0000 (0:00:00.035) 0:01:40.076 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:36:13 UTC", "ActiveEnterTimestampMonotonic": "1926612125", "ActiveExitTimestamp": "Sat 2023-12-09 14:36:12 UTC", "ActiveExitTimestampMonotonic": "1925897576", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:36:13 UTC", "AssertTimestampMonotonic": "1926611446", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:36:13 UTC", "ConditionTimestampMonotonic": "1926611444", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27222", "ExecMainStartTimestamp": "Sat 2023-12-09 14:36:13 UTC", "ExecMainStartTimestampMonotonic": "1926612024", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:36:13 UTC] ; stop_time=[n/a] ; pid=27222 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:36:13 UTC", "InactiveEnterTimestampMonotonic": "1926610531", "InactiveExitTimestamp": "Sat 2023-12-09 14:36:13 UTC", "InactiveExitTimestampMonotonic": "1926612125", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27222", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:36:13 UTC", "WatchdogTimestampMonotonic": "1926612095", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 14:36:14 +0000 (0:00:00.221) 0:01:40.298 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003388", "end": "2023-12-09 14:36:14.380950", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:14.377562" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 14:36:14 +0000 (0:00:00.167) 0:01:40.465 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003429", "end": "2023-12-09 14:36:14.533446", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:14.530017" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 14:36:14 +0000 (0:00:00.148) 0:01:40.614 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 Saturday 09 December 2023 14:36:14 +0000 (0:00:00.078) 0:01:40.692 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7412, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:99 Saturday 09 December 2023 14:36:15 +0000 (0:00:01.153) 0:01:41.846 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:01.584331", "end": "2023-12-09 14:36:17.488241", "rc": 0, "start": "2023-12-09 14:36:15.903910" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:113 Saturday 09 December 2023 14:36:17 +0000 (0:00:01.726) 0:01:43.572 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:117 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.020) 0:01:43.592 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:124 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.019) 0:01:43.612 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:135 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.019) 0:01:43.632 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:140 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.019) 0:01:43.652 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:145 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.018) 0:01:43.670 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:151 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.017) 0:01:43.688 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:157 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.018) 0:01:43.706 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:167 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.017) 0:01:43.724 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.030) 0:01:43.754 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004561", "end": "2023-12-09 14:36:17.813761", "rc": 0, "start": "2023-12-09 14:36:17.809200" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.K4_YOn TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.140) 0:01:43.894 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.030) 0:01:43.924 ***** 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.K4_YOn] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.024) 0:01:43.949 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:178 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.023) 0:01:43.973 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:17 +0000 (0:00:00.076) 0:01:44.049 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004533", "end": "2023-12-09 14:36:18.124365", "rc": 0, "start": "2023-12-09 14:36:18.119832" } STDOUT: tlskey = /etc/pki/tls/private/ansible.dorcNe TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.157) 0:01:44.207 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.029) 0:01:44.236 ***** 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.dorcNe] *************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.025) 0:01:44.261 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:190 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.019) 0:01:44.281 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.037) 0:01:44.318 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004528", "end": "2023-12-09 14:36:18.380111", "rc": 0, "start": "2023-12-09 14:36:18.375583" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.142) 0:01:44.461 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.033) 0:01:44.494 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.024) 0:01:44.519 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:198 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.027) 0:01:44.546 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.036) 0:01:44.582 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004573", "end": "2023-12-09 14:36:18.646064", "rc": 0, "start": "2023-12-09 14:36:18.641491" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.145) 0:01:44.728 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.021) 0:01:44.749 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.028) 0:01:44.778 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:208 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.021) 0:01:44.799 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:213 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.019) 0:01:44.818 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:219 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.067) 0:01:44.886 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:137 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.020) 0:01:44.906 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/check_header.yml:4 Saturday 09 December 2023 14:36:18 +0000 (0:00:00.116) 0:01:45.022 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003319", "end": "2023-12-09 14:36:19.113259", "rc": 0, "start": "2023-12-09 14:36:19.109940" } 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.K4_YOn tlskey = /etc/pki/tls/private/ansible.dorcNe tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:141 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.171) 0:01:45.194 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.263) 0:01:45.458 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.028) 0:01:45.487 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.023) 0:01:45.510 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.030) 0:01:45.541 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.019) 0:01:45.560 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.062) 0:01:45.622 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.019) 0:01:45.642 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.019) 0:01:45.661 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.018) 0:01:45.680 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.018) 0:01:45.698 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.018) 0:01:45.717 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.027) 0:01:45.744 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.019) 0:01:45.764 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.018) 0:01:45.782 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.019) 0:01:45.801 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.019) 0:01:45.821 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:36:19 +0000 (0:00:00.020) 0:01:45.842 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:36:20 +0000 (0:00:00.959) 0:01:46.801 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:36:20 +0000 (0:00:00.054) 0:01:46.855 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:36:20 +0000 (0:00:00.018) 0:01:46.873 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Saturday 09 December 2023 14:36:20 +0000 (0:00:00.023) 0:01:46.897 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Saturday 09 December 2023 14:36:20 +0000 (0:00:00.034) 0:01:46.931 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.401) 0:01:47.332 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.020) 0:01:47.353 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.020) 0:01:47.373 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.022) 0:01:47.396 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.023) 0:01:47.419 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.019) 0:01:47.439 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.019) 0:01:47.458 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.019) 0:01:47.478 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.020) 0:01:47.498 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.020) 0:01:47.518 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.316) 0:01:47.835 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.019) 0:01:47.854 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005432", "end": "2023-12-09 14:36:21.913513", "rc": 0, "start": "2023-12-09 14:36:21.908081" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Saturday 09 December 2023 14:36:21 +0000 (0:00:00.140) 0:01:47.994 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Saturday 09 December 2023 14:36:22 +0000 (0:00:00.740) 0:01:48.735 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Saturday 09 December 2023 14:36:22 +0000 (0:00:00.027) 0:01:48.762 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Saturday 09 December 2023 14:36:22 +0000 (0:00:00.019) 0:01:48.781 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Saturday 09 December 2023 14:36:22 +0000 (0:00:00.019) 0:01:48.801 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Saturday 09 December 2023 14:36:22 +0000 (0:00:00.022) 0:01:48.823 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Saturday 09 December 2023 14:36:22 +0000 (0:00:00.070) 0:01:48.893 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.315) 0:01:49.208 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:04:22 UTC", "ActiveEnterTimestampMonotonic": "15259716", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket basic.target network.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:04:21 UTC", "AssertTimestampMonotonic": "14170259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ConditionTimestampMonotonic": "14170257", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ExecMainStartTimestampMonotonic": "14170908", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:04:21 UTC", "InactiveExitTimestampMonotonic": "14170951", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:04:22 UTC", "WatchdogTimestampMonotonic": "15259652", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.217) 0:01:49.426 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090150", "end": "2023-12-09 14:36:23.569953", "rc": 0, "start": "2023-12-09 14:36:23.479803" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.226) 0:01:49.653 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.021) 0:01:49.674 ***** skipping: [sut] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.025) 0:01:49.699 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.019) 0:01:49.719 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Saturday 09 December 2023 14:36:23 +0000 (0:00:00.158) 0:01:49.877 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.319) 0:01:50.197 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.021) 0:01:50.218 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.021) 0:01:50.240 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.019) 0:01:50.260 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.020) 0:01:50.280 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.020) 0:01:50.301 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.020) 0:01:50.322 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.020) 0:01:50.342 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.019) 0:01:50.361 ***** 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.005364", "end": "2023-12-09 14:36:24.424230", "rc": 0, "start": "2023-12-09 14:36:24.418866" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.143) 0:01:50.505 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Saturday 09 December 2023 14:36:24 +0000 (0:00:00.020) 0:01:50.525 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Saturday 09 December 2023 14:36:25 +0000 (0:00:01.113) 0:01:51.639 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Saturday 09 December 2023 14:36:25 +0000 (0:00:00.024) 0:01:51.664 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Saturday 09 December 2023 14:36:25 +0000 (0:00:00.020) 0:01:51.684 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Saturday 09 December 2023 14:36:25 +0000 (0:00:00.021) 0:01:51.705 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Saturday 09 December 2023 14:36:25 +0000 (0:00:00.020) 0:01:51.726 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:25 +0000 (0:00:00.032) 0:01:51.758 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003581", "end": "2023-12-09 14:36:25.820595", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:25.817014" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:25 +0000 (0:00:00.142) 0:01:51.901 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.125573", "end": "2023-12-09 14:36:26.085309", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:25.959736" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.277) 0:01:52.178 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.022) 0:01:52.200 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.220 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.023) 0:01:52.243 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.023) 0:01:52.267 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.287 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.021) 0:01:52.309 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.330 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.076) 0:01:52.407 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.428 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.448 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.468 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.020) 0:01:52.488 ***** skipping: [sut] => (item=/tmp/ansible.K4_YOn) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "/tmp/ansible.K4_YOn", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.dorcNe) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable | bool", "item": "ansible.dorcNe", "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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.024) 0:01:52.513 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.035) 0:01:52.548 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003213", "end": "2023-12-09 14:36:26.606661", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:26.603448" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.K4_YOn TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.139) 0:01:52.687 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.027) 0:01:52.715 ***** 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.126133", "end": "2023-12-09 14:36:26.898056", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:26.771923" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.272) 0:01:52.987 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:26 +0000 (0:00:00.038) 0:01:53.026 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003204", "end": "2023-12-09 14:36:27.084926", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:27.081722" } STDOUT: tlskey = /etc/pki/tls/private/ansible.dorcNe TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.140) 0:01:53.166 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.026) 0:01:53.193 ***** 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.125571", "end": "2023-12-09 14:36:27.378511", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:27.252940" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.268) 0:01:53.461 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.040) 0:01:53.502 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003452", "end": "2023-12-09 14:36:27.565186", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:27.561734" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.146) 0:01:53.649 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.071) 0:01:53.720 ***** 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.126009", "end": "2023-12-09 14:36:27.905128", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:27.779119" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.267) 0:01:53.988 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:27 +0000 (0:00:00.037) 0:01:54.026 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003406", "end": "2023-12-09 14:36:28.087091", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:28.083685" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.143) 0:01:54.169 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.026) 0:01:54.196 ***** 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.125679", "end": "2023-12-09 14:36:28.377101", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:28.251422" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.264) 0:01:54.460 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.022) 0:01:54.482 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.502 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.522 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.023) 0:01:54.545 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.024) 0:01:54.569 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.020) 0:01:54.590 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.609 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.025) 0:01:54.634 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.022) 0:01:54.657 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.021) 0:01:54.679 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.020) 0:01:54.699 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.018) 0:01:54.718 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.066) 0:01:54.785 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.804 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.824 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.843 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.020) 0:01:54.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.883 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.018) 0:01:54.901 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.921 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:54.941 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.020) 0:01:54.961 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.018) 0:01:54.980 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.018) 0:01:54.999 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.019) 0:01:55.018 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Saturday 09 December 2023 14:36:28 +0000 (0:00:00.018) 0:01:55.036 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.022) 0:01:55.058 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.076 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.095 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_configure | bool", "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.022) 0:01:55.118 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.017) 0:01:55.136 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.072) 0:01:55.209 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.019) 0:01:55.228 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.020) 0:01:55.248 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.266 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.285 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.019) 0:01:55.305 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.323 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.019) 0:01:55.342 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.361 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.019) 0:01:55.381 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.024) 0:01:55.405 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.424 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.443 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.461 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.480 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.022) 0:01:55.502 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.521 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.019) 0:01:55.540 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.018) 0:01:55.559 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.281) 0:01:55.841 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Saturday 09 December 2023 14:36:29 +0000 (0:00:00.019) 0:01:55.860 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:36:13 UTC", "ActiveEnterTimestampMonotonic": "1926612125", "ActiveExitTimestamp": "Sat 2023-12-09 14:36:12 UTC", "ActiveExitTimestampMonotonic": "1925897576", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:36:13 UTC", "AssertTimestampMonotonic": "1926611446", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:36:13 UTC", "ConditionTimestampMonotonic": "1926611444", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27222", "ExecMainStartTimestamp": "Sat 2023-12-09 14:36:13 UTC", "ExecMainStartTimestampMonotonic": "1926612024", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:36:13 UTC] ; stop_time=[n/a] ; pid=27222 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:36:13 UTC", "InactiveEnterTimestampMonotonic": "1926610531", "InactiveExitTimestamp": "Sat 2023-12-09 14:36:13 UTC", "InactiveExitTimestampMonotonic": "1926612125", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27222", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:36:13 UTC", "WatchdogTimestampMonotonic": "1926612095", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Saturday 09 December 2023 14:36:30 +0000 (0:00:01.180) 0:01:57.041 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.020) 0:01:57.061 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:147 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.031) 0:01:57.093 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:8 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.159) 0:01:57.252 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:23 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.019) 0:01:57.271 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:35 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.018) 0:01:57.290 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:39 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.020) 0:01:57.310 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:55 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.020) 0:01:57.330 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:60 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.020) 0:01:57.350 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:70 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.019) 0:01:57.370 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:75 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.021) 0:01:57.391 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:85 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.019) 0:01:57.410 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.088) 0:01:57.499 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:36:30 UTC", "ActiveEnterTimestampMonotonic": "1943967071", "ActiveExitTimestamp": "Sat 2023-12-09 14:36:29 UTC", "ActiveExitTimestampMonotonic": "1943007544", "ActiveState": "active", "After": "systemd-journald.socket -.mount system.slice auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:36:30 UTC", "AssertTimestampMonotonic": "1943966434", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:36:30 UTC", "ConditionTimestampMonotonic": "1943966433", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27911", "ExecMainStartTimestamp": "Sat 2023-12-09 14:36:30 UTC", "ExecMainStartTimestampMonotonic": "1943966984", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:36:30 UTC] ; stop_time=[n/a] ; pid=27911 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:36:30 UTC", "InactiveEnterTimestampMonotonic": "1943965753", "InactiveExitTimestamp": "Sat 2023-12-09 14:36:30 UTC", "InactiveExitTimestampMonotonic": "1943967071", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27911", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:36:30 UTC", "WatchdogTimestampMonotonic": "1943967031", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.228) 0:01:57.727 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003606", "end": "2023-12-09 14:36:31.818480", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:31.814874" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.175) 0:01:57.903 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003586", "end": "2023-12-09 14:36:31.965494", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:31.961908" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 14:36:31 +0000 (0:00:00.142) 0:01:58.045 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 Saturday 09 December 2023 14:36:32 +0000 (0:00:00.038) 0:01:58.084 ***** ok: [sut] => { "changed": false, "elapsed": 3, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6905, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:99 Saturday 09 December 2023 14:36:35 +0000 (0:00:03.172) 0:02:01.257 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030882", "end": "2023-12-09 14:36:35.339502", "rc": 0, "start": "2023-12-09 14:36:35.308620" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:113 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.165) 0:02:01.422 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:117 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.021) 0:02:01.443 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:124 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.018) 0:02:01.462 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:135 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.018) 0:02:01.481 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:140 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.017) 0:02:01.498 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:145 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.018) 0:02:01.517 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:151 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.018) 0:02:01.536 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:157 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.018) 0:02:01.555 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:167 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.019) 0:02:01.574 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.093) 0:02:01.667 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004463", "end": "2023-12-09 14:36:35.730338", "rc": 0, "start": "2023-12-09 14:36:35.725875" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.143) 0:02:01.811 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.030) 0:02:01.841 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.026) 0:02:01.868 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:178 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.022) 0:02:01.891 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:35 +0000 (0:00:00.033) 0:02:01.924 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004417", "end": "2023-12-09 14:36:35.983365", "rc": 0, "start": "2023-12-09 14:36:35.978948" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.140) 0:02:02.065 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.029) 0:02:02.094 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.025) 0:02:02.120 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:190 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.019) 0:02:02.139 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.035) 0:02:02.175 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004485", "end": "2023-12-09 14:36:36.236096", "rc": 0, "start": "2023-12-09 14:36:36.231611" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.140) 0:02:02.316 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.027) 0:02:02.344 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.023) 0:02:02.367 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:198 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.019) 0:02:02.387 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.034) 0:02:02.421 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004440", "end": "2023-12-09 14:36:36.479831", "rc": 0, "start": "2023-12-09 14:36:36.475391" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.187) 0:02:02.609 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.021) 0:02:02.631 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.026) 0:02:02.658 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:208 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.019) 0:02:02.677 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:213 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.021) 0:02:02.698 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:219 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.019) 0:02:02.718 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:154 Saturday 09 December 2023 14:36:36 +0000 (0:00:00.018) 0:02:02.737 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.341) 0:02:03.078 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.028) 0:02:03.107 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.024) 0:02:03.131 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.106) 0:02:03.238 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.021) 0:02:03.259 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.020) 0:02:03.279 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.018) 0:02:03.298 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.020) 0:02:03.319 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.019) 0:02:03.338 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.019) 0:02:03.357 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.020) 0:02:03.377 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.021) 0:02:03.399 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.018) 0:02:03.418 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.017) 0:02:03.436 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.018) 0:02:03.455 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.020) 0:02:03.475 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:36:37 +0000 (0:00:00.021) 0:02:03.496 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:36:38 +0000 (0:00:00.967) 0:02:04.464 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:36:38 +0000 (0:00:00.057) 0:02:04.521 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:36:38 +0000 (0:00:00.021) 0:02:04.543 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Saturday 09 December 2023 14:36:38 +0000 (0:00:00.110) 0:02:04.653 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Saturday 09 December 2023 14:36:38 +0000 (0:00:00.037) 0:02:04.691 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Saturday 09 December 2023 14:36:38 +0000 (0:00:00.352) 0:02:05.043 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.022) 0:02:05.065 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.022) 0:02:05.088 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.021) 0:02:05.110 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.024) 0:02:05.134 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.019) 0:02:05.153 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.019) 0:02:05.173 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.018) 0:02:05.191 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.019) 0:02:05.210 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.018) 0:02:05.229 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.315) 0:02:05.545 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.018) 0:02:05.563 ***** 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.005293", "end": "2023-12-09 14:36:39.621766", "rc": 0, "start": "2023-12-09 14:36:39.616473" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Saturday 09 December 2023 14:36:39 +0000 (0:00:00.139) 0:02:05.703 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.725) 0:02:06.428 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.029) 0:02:06.457 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.019) 0:02:06.477 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.101) 0:02:06.579 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.024) 0:02:06.603 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.019) 0:02:06.622 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Saturday 09 December 2023 14:36:40 +0000 (0:00:00.315) 0:02:06.938 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:04:22 UTC", "ActiveEnterTimestampMonotonic": "15259716", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket basic.target network.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:04:21 UTC", "AssertTimestampMonotonic": "14170259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ConditionTimestampMonotonic": "14170257", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ExecMainStartTimestampMonotonic": "14170908", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:04:21 UTC", "InactiveExitTimestampMonotonic": "14170951", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:04:22 UTC", "WatchdogTimestampMonotonic": "15259652", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.220) 0:02:07.158 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091043", "end": "2023-12-09 14:36:41.301814", "rc": 0, "start": "2023-12-09 14:36:41.210771" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.226) 0:02:07.384 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.020) 0:02:07.405 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.021) 0:02:07.426 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.021) 0:02:07.447 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.140) 0:02:07.588 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.314) 0:02:07.903 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.019) 0:02:07.922 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.021) 0:02:07.944 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.021) 0:02:07.966 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.021) 0:02:07.988 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.022) 0:02:08.011 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.019) 0:02:08.030 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Saturday 09 December 2023 14:36:41 +0000 (0:00:00.018) 0:02:08.049 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Saturday 09 December 2023 14:36:42 +0000 (0:00:00.018) 0:02:08.067 ***** 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.005255", "end": "2023-12-09 14:36:42.128736", "rc": 0, "start": "2023-12-09 14:36:42.123481" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Saturday 09 December 2023 14:36:42 +0000 (0:00:00.227) 0:02:08.295 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Saturday 09 December 2023 14:36:42 +0000 (0:00:00.026) 0:02:08.321 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.968) 0:02:09.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 : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.022) 0:02:09.312 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.021) 0:02:09.334 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.023) 0:02:09.357 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.023) 0:02:09.381 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.041) 0:02:09.422 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003322", "end": "2023-12-09 14:36:43.481749", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:43.478427" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.143) 0:02:09.565 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.130592", "end": "2023-12-09 14:36:43.756513", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:43.625921" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.278) 0:02:09.844 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.021) 0:02:09.865 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.021) 0:02:09.887 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.028) 0:02:09.915 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.021) 0:02:09.937 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Saturday 09 December 2023 14:36:43 +0000 (0:00:00.023) 0:02:09.960 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.100) 0:02:10.061 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.025) 0:02:10.086 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.025) 0:02:10.111 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.024) 0:02:10.136 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.021) 0:02:10.158 ***** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.048) 0:02:10.206 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.039) 0:02:10.246 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.028) 0:02:10.274 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.140) 0:02:10.414 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.026) 0:02:10.441 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 09 December 2023 14:36:44 +0000 (0:00:00.064) 0:02:10.505 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+4 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 5.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.5 MB/s | 1.1 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/6 \n Installing : python-ply-3.4-11.el7.noarch 2/6 \n Installing : python-pycparser-2.14-1.el7.noarch 3/6 \n Installing : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Installing : python-idna-2.4-1.el7.noarch 5/6 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n Verifying : python-idna-2.4-1.el7.noarch 1/6 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/6 \n Verifying : python-ply-3.4-11.el7.noarch 3/6 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 5/6 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-idna.noarch 0:2.4-1.el7 \n python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 09 December 2023 14:36:47 +0000 (0:00:03.131) 0:02:13.636 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+4 Dependent packages)\n\nTotal download size: 843 k\nInstalled size: 3.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.8 MB/s | 843 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtalloc-2.1.16-1.el7.x86_64 1/5 \n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 2/5 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 3/5 \n Installing : libtevent-0.9.39-1.el7.x86_64 4/5 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 5/5 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/5 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 2/5 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 3/5 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/5 \n Verifying : libtevent-0.9.39-1.el7.x86_64 5/5 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 09 December 2023 14:36:50 +0000 (0:00:03.044) 0:02:16.680 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 09 December 2023 14:36:50 +0000 (0:00:00.164) 0:02:16.845 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 09 December 2023 14:36:50 +0000 (0:00:00.156) 0:02:17.001 ***** 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 basic.target system.slice syslog.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/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 /var/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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 09 December 2023 14:36:51 +0000 (0:00:00.318) 0:02:17.320 ***** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.9.22', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.9.22", "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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.865) 0:02:18.185 ***** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.9.22', '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.9.22", "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.9.22', '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.9.22", "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.9.22', '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.9.22", "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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.157) 0:02:18.343 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.025) 0:02:18.368 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.024) 0:02:18.392 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.036) 0:02:18.429 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.026) 0:02:18.455 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.027) 0:02:18.483 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.032) 0:02:18.516 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003671", "end": "2023-12-09 14:36:52.575814", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:52.572143" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.140) 0:02:18.656 ***** 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.126120", "end": "2023-12-09 14:36:52.843014", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:52.716894" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.271) 0:02:18.928 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.021) 0:02:18.949 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:52 +0000 (0:00:00.035) 0:02:18.985 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003223", "end": "2023-12-09 14:36:53.044049", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:53.040826" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.139) 0:02:19.124 ***** 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.125614", "end": "2023-12-09 14:36:53.312604", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:53.186990" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.272) 0:02:19.397 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.020) 0:02:19.418 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.035) 0:02:19.453 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003335", "end": "2023-12-09 14:36:53.512126", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:53.508791" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.205) 0:02:19.659 ***** 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.128525", "end": "2023-12-09 14:36:53.849227", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:53.720702" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.274) 0:02:19.934 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.020) 0:02:19.955 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:36:53 +0000 (0:00:00.036) 0:02:19.991 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003427", "end": "2023-12-09 14:36:54.053311", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:54.049884" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.142) 0:02:20.134 ***** 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.128107", "end": "2023-12-09 14:36:54.324629", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:36:54.196522" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.274) 0:02:20.409 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.020) 0:02:20.430 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.450 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.468 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.487 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.022) 0:02:20.510 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.022) 0:02:20.532 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.021) 0:02:20.553 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.573 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.593 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.612 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.630 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.088) 0:02:20.719 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.739 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.758 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.776 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.794 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.813 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.831 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.849 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.868 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.886 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.905 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.925 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.019) 0:02:20.944 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.962 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:20.981 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.017) 0:02:20.999 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.021) 0:02:21.021 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Saturday 09 December 2023 14:36:54 +0000 (0:00:00.018) 0:02:21.039 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.058 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.105) 0:02:21.164 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.184 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.020) 0:02:21.204 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.021) 0:02:21.225 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.020) 0:02:21.246 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.266 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.020) 0:02:21.286 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.020) 0:02:21.306 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.326 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.346 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.018) 0:02:21.364 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.018) 0:02:21.383 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.023) 0:02:21.406 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.018) 0:02:21.425 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.444 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.018) 0:02:21.463 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.020) 0:02:21.483 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.024) 0:02:21.507 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.526 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.076) 0:02:21.603 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.623 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.175) 0:02:21.798 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Saturday 09 December 2023 14:36:55 +0000 (0:00:00.019) 0:02:21.818 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:36:30 UTC", "ActiveEnterTimestampMonotonic": "1943967071", "ActiveExitTimestamp": "Sat 2023-12-09 14:36:29 UTC", "ActiveExitTimestampMonotonic": "1943007544", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket -.mount system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:36:30 UTC", "AssertTimestampMonotonic": "1943966434", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:36:30 UTC", "ConditionTimestampMonotonic": "1943966433", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27911", "ExecMainStartTimestamp": "Sat 2023-12-09 14:36:30 UTC", "ExecMainStartTimestampMonotonic": "1943966984", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:36:30 UTC", "InactiveEnterTimestampMonotonic": "1943965753", "InactiveExitTimestamp": "Sat 2023-12-09 14:36:30 UTC", "InactiveExitTimestampMonotonic": "1943967071", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27911", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:36:30 UTC", "WatchdogTimestampMonotonic": "1943967031", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.772) 0:02:22.590 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.018) 0:02:22.609 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:165 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.028) 0:02:22.637 ***** META: triggered running handlers for sut TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/tests_tls.yml:168 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.018) 0:02:22.656 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:8 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.193) 0:02:22.849 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:23 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.020) 0:02:22.870 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:35 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.018) 0:02:22.888 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:39 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.019) 0:02:22.908 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:55 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.106) 0:02:23.014 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:60 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.020) 0:02:23.035 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:70 Saturday 09 December 2023 14:36:56 +0000 (0:00:00.020) 0:02:23.056 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:75 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.020) 0:02:23.076 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:85 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.019) 0:02:23.096 ***** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.037) 0:02:23.133 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:36:56 UTC", "ActiveEnterTimestampMonotonic": "1969515336", "ActiveExitTimestamp": "Sat 2023-12-09 14:36:55 UTC", "ActiveExitTimestampMonotonic": "1968965026", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket -.mount system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:36:56 UTC", "AssertTimestampMonotonic": "1969514670", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:36:56 UTC", "ConditionTimestampMonotonic": "1969514669", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28758", "ExecMainStartTimestamp": "Sat 2023-12-09 14:36:56 UTC", "ExecMainStartTimestampMonotonic": "1969515273", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:36:56 UTC] ; stop_time=[n/a] ; pid=28758 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:36:56 UTC", "InactiveEnterTimestampMonotonic": "1969513678", "InactiveExitTimestamp": "Sat 2023-12-09 14:36:56 UTC", "InactiveExitTimestampMonotonic": "1969515336", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28758", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:36:56 UTC", "WatchdogTimestampMonotonic": "1969515314", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.237) 0:02:23.371 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003583", "end": "2023-12-09 14:36:57.433633", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:57.430050" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.143) 0:02:23.514 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003695", "end": "2023-12-09 14:36:57.580468", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:36:57.576773" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.146) 0:02:23.661 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 Saturday 09 December 2023 14:36:57 +0000 (0:00:00.043) 0:02:23.705 ***** ok: [sut] => { "changed": false, "elapsed": 3, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7005, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:99 Saturday 09 December 2023 14:37:00 +0000 (0:00:03.181) 0:02:26.886 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.036327", "end": "2023-12-09 14:37:00.979118", "rc": 0, "start": "2023-12-09 14:37:00.942791" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:113 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.175) 0:02:27.061 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:117 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.021) 0:02:27.083 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:124 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.019) 0:02:27.102 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:135 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.017) 0:02:27.120 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:140 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.018) 0:02:27.138 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:145 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.017) 0:02:27.156 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:151 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.080) 0:02:27.237 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:157 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.020) 0:02:27.257 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:167 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.019) 0:02:27.277 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.032) 0:02:27.309 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004548", "end": "2023-12-09 14:37:01.370565", "rc": 0, "start": "2023-12-09 14:37:01.366017" } 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.143) 0:02:27.453 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.027) 0:02:27.480 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.023) 0:02:27.504 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:178 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.020) 0:02:27.524 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.031) 0:02:27.556 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004512", "end": "2023-12-09 14:37:01.616198", "rc": 0, "start": "2023-12-09 14:37:01.611686" } 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.141) 0:02:27.697 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.028) 0:02:27.726 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.022) 0:02:27.748 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:190 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.019) 0:02:27.768 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.033) 0:02:27.801 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004558", "end": "2023-12-09 14:37:01.860512", "rc": 0, "start": "2023-12-09 14:37:01.855954" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.140) 0:02:27.941 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.025) 0:02:27.967 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:37:01 +0000 (0:00:00.083) 0:02:28.051 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:198 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.020) 0:02:28.071 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:7 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.035) 0:02:28.107 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004659", "end": "2023-12-09 14:37:02.167031", "rc": 0, "start": "2023-12-09 14:37:02.162372" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:14 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.142) 0:02:28.249 ***** 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-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:25 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.021) 0:02:28.271 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/mssql_conf_verify.yml:40 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.025) 0:02:28.296 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:208 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.019) 0:02:28.316 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:213 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.021) 0:02:28.338 ***** 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-selinux4fa7ltoe/tests/tasks/verify_settings.yml:219 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.019) 0:02:28.358 ***** 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-selinux4fa7ltoe/tests/tasks/tests_tls.yml:175 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.020) 0:02:28.378 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.490) 0:02:28.869 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.030) 0:02:28.899 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.025) 0:02:28.925 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.033) 0:02:28.959 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.019) 0:02:28.979 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.019) 0:02:28.999 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.019) 0:02:29.018 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.018) 0:02:29.037 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:37:02 +0000 (0:00:00.018) 0:02:29.055 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.018) 0:02:29.074 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.018) 0:02:29.092 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.022) 0:02:29.115 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.017) 0:02:29.132 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.018) 0:02:29.151 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.018) 0:02:29.169 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.019) 0:02:29.189 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:37:03 +0000 (0:00:00.021) 0:02:29.210 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:37:04 +0000 (0:00:01.184) 0:02:30.394 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.055) 0:02:30.450 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.021) 0:02:30.471 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.024) 0:02:30.496 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.039) 0:02:30.535 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:165 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.397) 0:02:30.933 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:175 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.023) 0:02:30.956 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:186 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.023) 0:02:30.980 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:194 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.022) 0:02:31.003 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:207 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.026) 0:02:31.029 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Saturday 09 December 2023 14:37:04 +0000 (0:00:00.019) 0:02:31.049 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.019) 0:02:31.069 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:228 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.019) 0:02:31.088 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.019) 0:02:31.108 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.020) 0:02:31.128 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4335.1-6.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.381) 0:02:31.510 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:258 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.103) 0:02:31.613 ***** 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.005426", "end": "2023-12-09 14:37:05.675849", "rc": 0, "start": "2023-12-09 14:37:05.670423" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Saturday 09 December 2023 14:37:05 +0000 (0:00:00.143) 0:02:31.757 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:277 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.747) 0:02:32.505 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.028) 0:02:32.534 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.019) 0:02:32.553 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:322 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.018) 0:02:32.572 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:337 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.023) 0:02:32.596 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:344 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.018) 0:02:32.615 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Saturday 09 December 2023 14:37:06 +0000 (0:00:00.359) 0:02:32.974 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:04:22 UTC", "ActiveEnterTimestampMonotonic": "15259716", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target dbus.service systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:04:21 UTC", "AssertTimestampMonotonic": "14170259", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ConditionTimestampMonotonic": "14170257", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Sat 2023-12-09 14:04:21 UTC", "ExecMainStartTimestampMonotonic": "14170908", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:04:21 UTC", "InactiveExitTimestampMonotonic": "14170951", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:04:22 UTC", "WatchdogTimestampMonotonic": "15259652", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:355 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.215) 0:02:33.190 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092071", "end": "2023-12-09 14:37:07.334013", "rc": 0, "start": "2023-12-09 14:37:07.241942" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:365 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.225) 0:02:33.416 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:378 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.019) 0:02:33.436 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:387 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.018) 0:02:33.455 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:397 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.019) 0:02:33.474 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.142) 0:02:33.617 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.359) 0:02:33.976 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.020) 0:02:33.997 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:426 Saturday 09 December 2023 14:37:07 +0000 (0:00:00.019) 0:02:34.017 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.107) 0:02:34.124 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:448 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.021) 0:02:34.146 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.022) 0:02:34.168 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:477 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.019) 0:02:34.188 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:484 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.019) 0:02:34.207 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:495 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.019) 0:02:34.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.005186", "end": "2023-12-09 14:37:08.288568", "rc": 0, "start": "2023-12-09 14:37:08.283382" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.143) 0:02:34.370 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 Saturday 09 December 2023 14:37:08 +0000 (0:00:00.022) 0:02:34.392 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:521 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.969) 0:02:35.362 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:540 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.022) 0:02:35.384 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:547 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.019) 0:02:35.404 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:554 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.020) 0:02:35.424 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:566 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.019) 0:02:35.443 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.032) 0:02:35.476 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003377", "end": "2023-12-09 14:37:09.533893", "failed_when_result": false, "rc": 1, "start": "2023-12-09 14:37:09.530516" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.139) 0:02:35.615 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.126166", "end": "2023-12-09 14:37:09.798710", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:09.672544" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.341) 0:02:35.956 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.020) 0:02:35.976 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:592 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.020) 0:02:35.997 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:599 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.020) 0:02:36.017 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.020) 0:02:36.038 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:615 Saturday 09 December 2023 14:37:09 +0000 (0:00:00.019) 0:02:36.057 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:621 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.020) 0:02:36.078 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.021) 0:02:36.099 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.020) 0:02:36.119 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:642 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.020) 0:02:36.140 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:660 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.019) 0:02:36.160 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.020) 0:02:36.181 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:679 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.020) 0:02:36.201 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.024) 0:02:36.226 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.035) 0:02:36.261 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003335", "end": "2023-12-09 14:37:10.320040", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:10.316705" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.141) 0:02:36.403 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.026) 0:02:36.429 ***** 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.126523", "end": "2023-12-09 14:37:10.612512", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:10.485989" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.268) 0:02:36.697 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.111) 0:02:36.809 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003327", "end": "2023-12-09 14:37:10.869683", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:10.866356" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.143) 0:02:36.952 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:37:10 +0000 (0:00:00.027) 0:02:36.980 ***** 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.126267", "end": "2023-12-09 14:37:11.164057", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:11.037790" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:715 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.268) 0:02:37.249 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.037) 0:02:37.286 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003492", "end": "2023-12-09 14:37:11.345572", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:11.342080" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.142) 0:02:37.428 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.025) 0:02:37.453 ***** 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.126164", "end": "2023-12-09 14:37:11.637939", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:11.511775" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.268) 0:02:37.722 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.037) 0:02:37.760 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003344", "end": "2023-12-09 14:37:11.820504", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:11.817160" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.142) 0:02:37.903 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 14:37:11 +0000 (0:00:00.025) 0:02:37.928 ***** 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.127666", "end": "2023-12-09 14:37:12.112526", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:37:11.984860" } 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.268) 0:02:38.197 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:739 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.020) 0:02:38.217 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:747 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.235 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:754 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.254 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.021) 0:02:38.276 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:770 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.094) 0:02:38.370 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.020) 0:02:38.390 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:792 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.020) 0:02:38.411 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.020) 0:02:38.431 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.450 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:826 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.470 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.489 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.508 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:842 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.528 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:868 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.548 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:889 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.567 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:897 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.586 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:907 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.605 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.624 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:930 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.643 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:941 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.663 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:961 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.682 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1015 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.701 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1022 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.720 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.093) 0:02:38.814 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1039 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.020) 0:02:38.834 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1045 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.853 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1053 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.022) 0:02:38.876 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1062 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:38.895 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1070 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.915 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.023) 0:02:38.938 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1092 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.958 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1117 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:38.977 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1126 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.020) 0:02:38.997 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:39.017 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.018) 0:02:39.035 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Saturday 09 December 2023 14:37:12 +0000 (0:00:00.019) 0:02:39.055 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1168 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.075 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1175 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.094 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.114 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1190 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.018) 0:02:39.132 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1197 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.152 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1209 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.023) 0:02:39.175 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.093) 0:02:39.269 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1225 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.020) 0:02:39.290 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1231 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.309 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1239 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.329 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.023) 0:02:39.352 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.372 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.391 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1279 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.019) 0:02:39.411 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.172) 0:02:39.584 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Saturday 09 December 2023 14:37:13 +0000 (0:00:00.020) 0:02:39.604 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:36:56 UTC", "ActiveEnterTimestampMonotonic": "1969515336", "ActiveExitTimestamp": "Sat 2023-12-09 14:36:55 UTC", "ActiveExitTimestampMonotonic": "1968965026", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket -.mount system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:36:56 UTC", "AssertTimestampMonotonic": "1969514670", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:36:56 UTC", "ConditionTimestampMonotonic": "1969514669", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28758", "ExecMainStartTimestamp": "Sat 2023-12-09 14:36:56 UTC", "ExecMainStartTimestampMonotonic": "1969515273", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 14:36:56 UTC] ; stop_time=[n/a] ; pid=28758 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-12-09 14:36:56 UTC", "InactiveEnterTimestampMonotonic": "1969513678", "InactiveExitTimestamp": "Sat 2023-12-09 14:36:56 UTC", "InactiveExitTimestampMonotonic": "1969515336", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28758", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 14:36:56 UTC", "WatchdogTimestampMonotonic": "1969515314", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1292 Saturday 09 December 2023 14:37:14 +0000 (0:00:00.465) 0:02:40.070 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Saturday 09 December 2023 14:37:14 +0000 (0:00:00.019) 0:02:40.089 ***** 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-selinux4fa7ltoe/tests/tests_tls_2019.yml:26 Saturday 09 December 2023 14:37:14 +0000 (0:00:00.028) 0:02:40.118 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:2 Saturday 09 December 2023 14:37:14 +0000 (0:00:00.033) 0:02:40.152 ***** 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-selinux4fa7ltoe/tests/tasks/cleanup.yml:6 Saturday 09 December 2023 14:37:15 +0000 (0:00:01.164) 0:02:41.317 ***** 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-selinux4fa7ltoe/tests/tasks/cleanup.yml:14 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.025) 0:02:41.343 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:18 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.020) 0:02:41.364 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.050) 0:02:41.415 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.033) 0:02:41.448 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.026) 0:02:41.475 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.150) 0:02:41.625 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 14:37:15 +0000 (0:00:00.024) 0:02:41.649 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.478) 0:02:42.128 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.018) 0:02:42.147 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.023) 0:02:42.170 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:26:02 UTC", "ActiveEnterTimestampMonotonic": "1315158005", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:26:01 UTC", "AssertTimestampMonotonic": "1314659244", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:26:01 UTC", "ConditionTimestampMonotonic": "1314659242", "Conflicts": "ipset.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12541", "ExecMainStartTimestamp": "Sat 2023-12-09 14:26:01 UTC", "ExecMainStartTimestampMonotonic": "1314660829", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:26:01 UTC", "InactiveExitTimestampMonotonic": "1314660865", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12541", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 14:26:02 UTC", "WatchdogTimestampMonotonic": "1315157940", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.264) 0:02:42.434 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:26:02 UTC", "ActiveEnterTimestampMonotonic": "1315158005", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:26:01 UTC", "AssertTimestampMonotonic": "1314659244", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:26:01 UTC", "ConditionTimestampMonotonic": "1314659242", "Conflicts": "ipset.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12541", "ExecMainStartTimestamp": "Sat 2023-12-09 14:26:01 UTC", "ExecMainStartTimestampMonotonic": "1314660829", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:26:01 UTC", "InactiveExitTimestampMonotonic": "1314660865", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12541", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 14:26:02 UTC", "WatchdogTimestampMonotonic": "1315157940", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.230) 0:02:42.664 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.027) 0:02:42.691 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.22 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 14:37:16 +0000 (0:00:00.354) 0:02:43.046 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.094) 0:02:43.141 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.023) 0:02:43.164 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.022) 0:02:43.186 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.022) 0:02:43.209 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.020) 0:02:43.229 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.020) 0:02:43.249 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.22 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.441) 0:02:43.690 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.025) 0:02:43.716 ***** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:27 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.031) 0:02:43.748 ***** 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-selinux4fa7ltoe/tests/tasks/cleanup.yml:35 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.023) 0:02:43.772 ***** 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-selinux4fa7ltoe/tests/tasks/cleanup.yml:39 Saturday 09 December 2023 14:37:17 +0000 (0:00:00.024) 0:02:43.796 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:45 Saturday 09 December 2023 14:37:18 +0000 (0:00:00.292) 0:02:44.089 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4335.1-6 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4335.1-6 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4335.1-6.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 5/17 \n Verifying : lsof-4.87-6.el7.x86_64 6/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 11/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 12/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 13/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 14/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 15/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 16/17 \n Verifying : mssql-server-15.0.4335.1-6.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4335.1-6 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:58 Saturday 09 December 2023 14:37:21 +0000 (0:00:03.852) 0:02:47.941 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.010218", "end": "2023-12-09 14:37:22.003991", "rc": 0, "start": "2023-12-09 14:37:21.993773" } STDOUT: removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/05825cc9-b5b2-4421-9996-3ee752371786’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed directory: ‘/var/opt/mssql/.system/system’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/system_health_0_133466061433240000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133466061275500000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133466061593360000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133466061227010000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466061270160000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466061588860000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466061762060000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133466061766480000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466062190860000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133466062195240000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466061429240000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133466061939910000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466062366720000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466061935490000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133466061219330000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/system_health_0_133466062371200000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/log_6.trc’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:72 Saturday 09 December 2023 14:37:22 +0000 (0:00:00.145) 0:02:48.087 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:06.295405", "end": "2023-12-09 14:37:28.433797", "rc": 0, "start": "2023-12-09 14:37:22.138392" } PLAY RECAP ********************************************************************* sut : ok=369 changed=60 unreachable=0 failed=0 skipped=823 rescued=0 ignored=0 Saturday 09 December 2023 14:37:28 +0000 (0:00:06.458) 0:02:54.545 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 38.35s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Stop the mssql-server service ------------------------------------------- 6.46s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:72 --------------- fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.83s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:302 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 5.14s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:404 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 4.31s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Remove related packages ------------------------------------------------- 3.85s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:45 --------------- Wait for mssql-server to prepare for client connections ----------------- 3.18s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ----------------- 3.17s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.13s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.04s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Wait for mssql-server to prepare for client connections ----------------- 2.16s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 ------- Check if the set password matches the existing password ----------------- 1.73s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:99 ------- Wait for mssql-server to prepare for client connections ----------------- 1.26s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist --- 1.20s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.18s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.18s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Gather package facts ---------------------------------------------------- 1.16s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:2 ---------------- Wait for mssql-server to prepare for client connections ----------------- 1.15s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/verify_settings.yml:93 ------- fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.13s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.11s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:515 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---