ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-OFW executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', 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_2022.yml *************************************************** 2 plays in /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:5 Friday 23 May 2025 21:23:53 -0400 (0:00:00.029) 0:00:00.030 ************ ok: [managed-node2] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-eQx/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:9 Friday 23 May 2025 21:23:53 -0400 (0:00:00.026) 0:00:00.056 ************ [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Run tests_tls with SQL Server 2022] ************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:28 Friday 23 May 2025 21:23:54 -0400 (0:00:01.184) 0:00:01.240 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed-node2 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 23 May 2025 21:23:54 -0400 (0:00:00.086) 0:00:01.326 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node2 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 23 May 2025 21:23:54 -0400 (0:00:00.034) 0:00:01.361 ************ ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 23 May 2025 21:23:54 -0400 (0:00:00.562) 0:00:01.924 ************ skipping: [managed-node2] => { "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', '=')) or (ansible_distribution in ['Fedora'])) and mssql_version | int != 2022)", "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 23 May 2025 21:23:54 -0400 (0:00:00.077) 0:00:02.001 ************ skipping: [managed-node2] => { "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', '=')) or (ansible_distribution in ['Fedora'])) and mssql_version | int != 2022)", "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 23 May 2025 21:23:55 -0400 (0:00:00.062) 0:00:02.064 ************ fatal: [managed-node2]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:31 Friday 23 May 2025 21:24:00 -0400 (0:00:05.253) 0:00:07.317 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 23 May 2025 21:24:00 -0400 (0:00:00.062) 0:00:07.379 ************ ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Set role variables needed for cleanup] *********************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 23 May 2025 21:24:01 -0400 (0:00:01.121) 0:00:08.501 ************ included: fedora.linux_system_roles.mssql for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 23 May 2025 21:24:01 -0400 (0:00:00.058) 0:00:08.559 ************ skipping: [managed-node2] => { "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: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 23 May 2025 21:24:01 -0400 (0:00:00.049) 0:00:08.609 ************ ok: [managed-node2] => (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 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (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" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Run systemctl] ************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 Friday 23 May 2025 21:24:01 -0400 (0:00:00.051) 0:00:08.661 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007842", "end": "2025-05-23 21:24:02.027574", "failed_when_result": false, "rc": 0, "start": "2025-05-23 21:24:02.019732" } STDOUT: running TASK [fedora.linux_system_roles.mssql : Require installed systemd] ************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 Friday 23 May 2025 21:24:02 -0400 (0:00:00.441) 0:00:09.102 ************ skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:34 Friday 23 May 2025 21:24:02 -0400 (0:00:00.053) 0:00:09.155 ************ ok: [managed-node2] => { "ansible_facts": { "__mssql_is_booted": true }, "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:12 Friday 23 May 2025 21:24:02 -0400 (0:00:00.050) 0:00:09.206 ************ skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts.packages.pcs is defined", "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:20 Friday 23 May 2025 21:24:02 -0400 (0:00:00.035) 0:00:09.241 ************ ok: [managed-node2] => { "ansible_python_version": "3.9.21" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:24 Friday 23 May 2025 21:24:02 -0400 (0:00:00.028) 0:00:09.270 ************ included: fedora.linux_system_roles.firewall for managed-node2 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 23 May 2025 21:24:02 -0400 (0:00:00.082) 0:00:09.353 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 23 May 2025 21:24:02 -0400 (0:00:00.080) 0:00:09.433 ************ skipping: [managed-node2] => { "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: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 23 May 2025 21:24:02 -0400 (0:00:00.050) 0:00:09.484 ************ ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 23 May 2025 21:24:02 -0400 (0:00:00.431) 0:00:09.915 ************ ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 23 May 2025 21:24:02 -0400 (0:00:00.035) 0:00:09.950 ************ ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 23 May 2025 21:24:03 -0400 (0:00:00.346) 0:00:10.297 ************ ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Friday 23 May 2025 21:24:03 -0400 (0:00:00.034) 0:00:10.332 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008311", "end": "2025-05-23 21:24:03.616068", "failed_when_result": false, "rc": 0, "start": "2025-05-23 21:24:03.607757" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Friday 23 May 2025 21:24:03 -0400 (0:00:00.358) 0:00:10.690 ************ skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Friday 23 May 2025 21:24:03 -0400 (0:00:00.051) 0:00:10.742 ************ ok: [managed-node2] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Friday 23 May 2025 21:24:03 -0400 (0:00:00.036) 0:00:10.778 ************ fatal: [managed-node2]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried PLAY RECAP ********************************************************************* managed-node2 : ok=20 changed=0 unreachable=0 failed=2 skipped=7 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T01:24:00.297574+00:00Z", "host": "managed-node2", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-05-24T01:23:55.053916+00:00Z", "task_name": "Ensure the openssl package", "task_path": "/tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T01:24:07.842426+00:00Z", "host": "managed-node2", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-05-24T01:24:03.765193+00:00Z", "task_name": "Install firewalld", "task_path": "/tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 23 May 2025 21:24:07 -0400 (0:00:04.079) 0:00:14.857 ************ =============================================================================== Ensure the openssl package ---------------------------------------------- 5.25s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 fedora.linux_system_roles.firewall : Install firewalld ------------------ 4.08s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:9 Gather package facts ---------------------------------------------------- 1.12s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Ensure ansible_facts to get ansible_distribution ------------------------ 0.56s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 fedora.linux_system_roles.mssql : Run systemctl ------------------------- 0.44s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.43s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.36s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.35s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Run tests_tls with SQL Server 2022 -------------------------------------- 0.09s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:28 Purge firewall configuration -------------------------------------------- 0.08s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:24 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.08s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Run the role ------------------------------------------------------------ 0.08s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Unreachable task -------------------------------------------------------- 0.06s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Clean up after the role invocation -------------------------------------- 0.06s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2022.yml:31 Set role variables needed for cleanup ----------------------------------- 0.06s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 fedora.linux_system_roles.mssql : Require installed systemd ------------- 0.05s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 fedora.linux_system_roles.mssql : Set platform/version specific variables --- 0.05s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 fedora.linux_system_roles.firewall : Require installed systemd ---------- 0.05s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.05s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2