# 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-rhel-9-unconf4evhyxkr/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_tls_2017.yml *************************************************** 2 plays in /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tests_tls_2017.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tests_tls_2017.yml:4 Thursday 22 February 2024 13:04:08 +0000 (0:00:00.022) 0:00:00.022 ***** 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-rhel-9-unconf4evhyxkr/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tests_tls_2017.yml:9 Thursday 22 February 2024 13:04:08 +0000 (0:00:00.012) 0:00:00.035 ***** ok: [sut] TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tests_tls_2017.yml:23 Thursday 22 February 2024 13:04:08 +0000 (0:00:00.847) 0:00:00.883 ***** included: /WORKDIR/git-rhel-9-unconf4evhyxkr/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-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:2 Thursday 22 February 2024 13:04:08 +0000 (0:00:00.017) 0:00:00.901 ***** included: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 22 February 2024 13:04:08 +0000 (0:00:00.011) 0:00:00.912 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 22 February 2024 13:04:09 +0000 (0:00:00.323) 0:00:01.236 ***** 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-rhel-9-unconf4evhyxkr/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 22 February 2024 13:04:09 +0000 (0:00:00.020) 0:00:01.257 ***** 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-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:5 Thursday 22 February 2024 13:04:09 +0000 (0:00:00.020) 0:00:01.277 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a tempfile for a certificate on hosts] **************************** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:11 Thursday 22 February 2024 13:04:11 +0000 (0:00:02.461) 0:00:03.739 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.is4xq5de", "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-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:17 Thursday 22 February 2024 13:04:11 +0000 (0:00:00.244) 0:00:03.983 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.bpx1n4sq", "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-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:23 Thursday 22 February 2024 13:04:12 +0000 (0:00:00.178) 0:00:04.162 ***** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.47.219", "-out", "/tmp/ansible.is4xq5de", "-keyout", "/tmp/ansible.bpx1n4sq", "-days", "365" ], "delta": "0:00:00.128980", "end": "2024-02-22 13:04:12.529624", "rc": 0, "start": "2024-02-22 13:04:12.400644" } STDERR: Generating a RSA private key ....................................+++++ ...............................................................+++++ writing new private key to '/tmp/ansible.bpx1n4sq' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:32 Thursday 22 February 2024 13:04:12 +0000 (0:00:00.369) 0:00:04.531 ***** changed: [sut] => (item=/tmp/ansible.is4xq5de) => { "ansible_loop_var": "item", "changed": true, "checksum": "43dcc2c61fc0ca634e3cb2105e6cedb2c405d101", "dest": "/tmp/ansible.is4xq5de", "item": "/tmp/ansible.is4xq5de", "md5sum": "6c8c86cd752847f38911a3505bdd51fb", "remote_checksum": "43dcc2c61fc0ca634e3cb2105e6cedb2c405d101", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.bpx1n4sq) => { "ansible_loop_var": "item", "changed": true, "checksum": "fb1b965424890be12e90af76b88ddbc6cca9d3a1", "dest": "/tmp/ansible.bpx1n4sq", "item": "/tmp/ansible.bpx1n4sq", "md5sum": "9d78aa7fa43812518476e8096afb9576", "remote_checksum": "fb1b965424890be12e90af76b88ddbc6cca9d3a1", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:44 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.534) 0:00:05.065 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "fb1b965424890be12e90af76b88ddbc6cca9d3a1", "dest": "./ansible.bpx1n4sq", "gid": 1001, "group": "jenkins", "md5sum": "9d78aa7fa43812518476e8096afb9576", "mode": "0600", "owner": "jenkins", "size": 1704, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708607053.0990055-19257-141607549643476/source", "state": "file", "uid": 1000090000 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:52 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.324) 0:00:05.390 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.is4xq5de", "mssql_tls_private_key": "ansible.bpx1n4sq" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:59 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.018) 0:00:05.408 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.082) 0:00:05.490 ***** included: /WORKDIR/git-rhel-9-unconf4evhyxkr/.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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.015) 0:00:05.506 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.017) 0:00:05.524 ***** 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-rhel-9-unconf4evhyxkr/.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_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.025) 0:00:05.549 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.009) 0:00:05.559 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.011) 0:00:05.571 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.015) 0:00:05.586 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.010) 0:00:05.597 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.011) 0:00:05.609 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.011) 0:00:05.620 ***** 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 : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.016) 0:00:05.637 ***** skipping: [sut] => { "false_condition": "mssql_ha_cluster_run_role is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.012) 0:00:05.649 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_cluster_run_role 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.011) 0:00:05.661 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.018) 0:00:05.680 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.016) 0:00:05.696 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.022) 0:00:05.718 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.016) 0:00:05.734 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.017) 0:00:05.752 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Thursday 22 February 2024 13:04:13 +0000 (0:00:00.017) 0:00:05.769 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:130 Thursday 22 February 2024 13:04:15 +0000 (0:00:01.492) 0:00:07.262 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:138 Thursday 22 February 2024 13:04:15 +0000 (0:00:00.037) 0:00:07.299 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Thursday 22 February 2024 13:04:15 +0000 (0:00:00.019) 0:00:07.319 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Thursday 22 February 2024 13:04:15 +0000 (0:00:00.028) 0:00:07.347 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Thursday 22 February 2024 13:04:15 +0000 (0:00:00.038) 0:00:07.385 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:179 Thursday 22 February 2024 13:04:16 +0000 (0:00:01.509) 0:00:08.895 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:189 Thursday 22 February 2024 13:04:16 +0000 (0:00:00.019) 0:00:08.915 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:200 Thursday 22 February 2024 13:04:16 +0000 (0:00:00.020) 0:00:08.935 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Thursday 22 February 2024 13:04:16 +0000 (0:00:00.036) 0:00:08.972 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:218 Thursday 22 February 2024 13:04:17 +0000 (0:00:00.272) 0:00:09.244 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:223 Thursday 22 February 2024 13:04:21 +0000 (0:00:04.632) 0:00:13.877 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python2-pip-wheel-9.0.3-19.module_el8+570+db61b4f9.noarch", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-21.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: python2-2.7.18-17.module_el8+770+d35395c9.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-21.el8.x86_64", "Installed: python2-setuptools-39.0.1-14.module_el8+733+876ccfdb.noarch", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: python2-libs-2.7.18-17.module_el8+770+d35395c9.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: python2-setuptools-wheel-39.0.1-14.module_el8+733+876ccfdb.noarch", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: python2-pip-9.0.3-19.module_el8+570+db61b4f9.noarch", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:231 Thursday 22 February 2024 13:05:04 +0000 (0:00:42.324) 0:00:56.201 ***** 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-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:239 Thursday 22 February 2024 13:05:04 +0000 (0:00:00.016) 0:00:56.218 ***** 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.005116", "end": "2024-02-22 13:05:04.406864", "rc": 0, "start": "2024-02-22 13:05:04.401748" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Thursday 22 February 2024 13:05:04 +0000 (0:00:00.198) 0:00:56.417 ***** fatal: [sut]: UNREACHABLE! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } to retry, use: --limit @/tmp/tests_tls_2017.retry PLAY RECAP ********************************************************************* sut : ok=23 changed=7 unreachable=1 failed=0 skipped=23 rescued=0 ignored=0 Thursday 22 February 2024 13:05:06 +0000 (0:00:02.166) 0:00:58.583 ***** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 42.32s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:223 fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux --- 4.63s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:218 Ensure the openssl package ---------------------------------------------- 2.46s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:5 ---------------- fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.17s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.51s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.49s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tests_tls_2017.yml:9 ----------------- Copy certificate files to local tmp ------------------------------------- 0.53s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:32 --------------- Generate a self-signed certificate and public key ----------------------- 0.37s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:23 --------------- Copy a private key to the playbook directory to test a relative path ---- 0.32s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:44 --------------- Ensure ansible_facts to get ansible_distribution ------------------------ 0.32s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/assert_fail_on_unsupported_ver.yml:2 fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017 --- 0.27s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Create a tempfile for a certificate on hosts ---------------------------- 0.24s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:11 --------------- fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location --- 0.20s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:239 Create a tempfile for a private key on hosts ---------------------------- 0.18s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:17 --------------- Run role ---------------------------------------------------------------- 0.08s /WORKDIR/git-rhel-9-unconf4evhyxkr/tests/tasks/tests_tls.yml:59 --------------- fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version --- 0.04s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any --- 0.04s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:130 fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017 --- 0.04s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:200 fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly --- 0.03s /WORKDIR/git-rhel-9-unconf4evhyxkr/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---