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-18B 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_default.yml **************************************************** 1 plays in /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Run the postfix role] **************************************************** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Saturday 24 May 2025 13:14:58 -0400 (0:00:00.046) 0:00:00.046 ********** included: fedora.linux_system_roles.postfix for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Saturday 24 May 2025 13:14:58 -0400 (0:00:00.059) 0:00:00.105 ********** included: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Saturday 24 May 2025 13:14:58 -0400 (0:00:00.016) 0:00:00.121 ********** [WARNING]: Platform linux on host managed-node1 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-node1] TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Saturday 24 May 2025 13:15:00 -0400 (0:00:02.135) 0:00:02.257 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.457) 0:00:02.714 ********** ok: [managed-node1] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.022) 0:00:02.737 ********** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.044) 0:00:02.781 ********** skipping: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_conf.previous is defined", "item": "postfix", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.020) 0:00:02.802 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "postfix_conf.previous is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of config files] ********** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.016) 0:00:02.819 ********** skipping: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_conf.previous | d() == \"replaced\"", "item": "postfix", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.035) 0:00:02.854 ********** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.035) 0:00:02.890 ********** included: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for managed-node1 TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.015) 0:00:02.905 ********** included: fedora.linux_system_roles.firewall for managed-node1 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.059) 0:00:02.964 ********** included: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 24 May 2025 13:15:01 -0400 (0:00:00.026) 0:00:02.990 ********** ok: [managed-node1] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 24 May 2025 13:15:02 -0400 (0:00:00.809) 0:00:03.800 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 24 May 2025 13:15:02 -0400 (0:00:00.386) 0:00:04.187 ********** ok: [managed-node1] => { "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-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 24 May 2025 13:15:02 -0400 (0:00:00.021) 0:00:04.208 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 24 May 2025 13:15:03 -0400 (0:00:00.383) 0:00:04.591 ********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Saturday 24 May 2025 13:15:03 -0400 (0:00:00.022) 0:00:04.614 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.010122", "end": "2025-05-24 13:15:03.791934", "failed_when_result": false, "rc": 0, "start": "2025-05-24 13:15:03.781812" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Saturday 24 May 2025 13:15:03 -0400 (0:00:00.487) 0:00:05.102 ********** skipping: [managed-node1] => { "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-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Saturday 24 May 2025 13:15:03 -0400 (0:00:00.037) 0:00:05.139 ********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Saturday 24 May 2025 13:15:03 -0400 (0:00:00.021) 0:00:05.160 ********** fatal: [managed-node1]: 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-node1 : ok=16 changed=0 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T17:15:09.391692+00:00Z", "host": "managed-node1", "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-24T17:15:03.903673+00:00Z", "task_name": "Install firewalld", "task_path": "/tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 13:15:09 -0400 (0:00:05.490) 0:00:10.650 ********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 5.49s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 2.14s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.81s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.49s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.46s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.39s /tmp/collections-18B/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.38s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Ensure the postfix ports status with the firewall role ------------------ 0.06s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Run the postfix role ---------------------------------------------------- 0.06s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.04s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 fedora.linux_system_roles.firewall : Require installed systemd ---------- 0.04s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 fedora.linux_system_roles.postfix : Remove config files - make empty ---- 0.04s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 fedora.linux_system_roles.postfix : Get status of config files ---------- 0.04s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.03s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.postfix : Set flag to indicate system is ostree --- 0.02s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 fedora.linux_system_roles.firewall : Set flag if transactional-update exists --- 0.02s /tmp/collections-18B/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-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.02s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 fedora.linux_system_roles.postfix : Get status of package(s) ['postfix'] --- 0.02s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix'] --- 0.02s /tmp/collections-18B/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23