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-sku 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_target.yml ***************************************************** 1 plays in /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml PLAY [Target tests] ************************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:2 Saturday 24 May 2025 01:25:23 -0400 (0:00:00.018) 0:00:00.018 ********** [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 [Call role to change target settings] ************************************* task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:7 Saturday 24 May 2025 01:25:24 -0400 (0:00:01.034) 0:00:01.053 ********** included: fedora.linux_system_roles.firewall for managed-node2 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 24 May 2025 01:25:24 -0400 (0:00:00.050) 0:00:01.103 ********** included: /tmp/collections-sku/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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 24 May 2025 01:25:24 -0400 (0:00:00.025) 0:00:01.128 ********** 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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 24 May 2025 01:25:24 -0400 (0:00:00.037) 0:00:01.166 ********** 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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 24 May 2025 01:25:24 -0400 (0:00:00.475) 0:00:01.641 ********** 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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 24 May 2025 01:25:24 -0400 (0:00:00.047) 0:00:01.688 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 24 May 2025 01:25:25 -0400 (0:00:00.393) 0:00:02.082 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Saturday 24 May 2025 01:25:25 -0400 (0:00:00.031) 0:00:02.114 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009098", "end": "2025-05-24 01:25:25.766209", "failed_when_result": false, "rc": 0, "start": "2025-05-24 01:25:25.757111" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Saturday 24 May 2025 01:25:25 -0400 (0:00:00.528) 0:00:02.643 ********** 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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Saturday 24 May 2025 01:25:25 -0400 (0:00:00.044) 0:00:02.688 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Saturday 24 May 2025 01:25:25 -0400 (0:00:00.024) 0:00:02.713 ********** 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 [Cleanup] ***************************************************************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:49 Saturday 24 May 2025 01:25:29 -0400 (0:00:03.851) 0:00:06.564 ********** included: fedora.linux_system_roles.firewall for managed-node2 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.041) 0:00:06.605 ********** included: /tmp/collections-sku/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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.028) 0:00:06.634 ********** 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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.033) 0:00:06.667 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__firewall_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.016) 0:00:06.684 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__firewall_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.016) 0:00:06.700 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.016) 0:00:06.717 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.017) 0:00:06.734 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__firewall_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.016) 0:00:06.751 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__firewall_is_booted is not defined", "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-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.017) 0:00:06.769 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__firewall_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Saturday 24 May 2025 01:25:29 -0400 (0:00:00.017) 0:00:06.786 ********** 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=11 changed=0 unreachable=0 failed=2 skipped=10 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T05:25:29.740401+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-24T05:25:25.893804+00:00Z", "task_name": "Install firewalld", "task_path": "/tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T05:25:34.233876+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-24T05:25:29.967111+00:00Z", "task_name": "Install firewalld", "task_path": "/tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 01:25:34 -0400 (0:00:04.269) 0:00:11.055 ********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 4.27s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Install firewalld ------------------ 3.85s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:2 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.53s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.48s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.39s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Call role to change target settings ------------------------------------- 0.05s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:7 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.05s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 fedora.linux_system_roles.firewall : Require installed systemd ---------- 0.04s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Cleanup ----------------------------------------------------------------- 0.04s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:49 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.04s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.03s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Set flag if transactional-update exists --- 0.03s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.03s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.03s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 fedora.linux_system_roles.firewall : Require installed systemd ---------- 0.02s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 fedora.linux_system_roles.firewall : Set flag if transactional-update exists --- 0.02s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.02s /tmp/collections-sku/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34