ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the postfix role] **************************************************** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Saturday 21 June 2025 13:17:13 -0400 (0:00:00.026) 0:00:00.026 ********* TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Saturday 21 June 2025 13:17:13 -0400 (0:00:00.105) 0:00:00.132 ********* included: /tmp/collections-cnb/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-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Saturday 21 June 2025 13:17:13 -0400 (0:00:00.020) 0:00:00.152 ********* ok: [managed-node1] TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Saturday 21 June 2025 13:17:14 -0400 (0:00:00.913) 0:00:01.066 ********* 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-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.391) 0:00:01.457 ********* 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-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.040) 0:00:01.497 ********* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-cnb/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, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) [u'postfix']] *** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.090) 0:00:01.588 ********* skipping: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs [u'postfix']] *** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.066) 0:00:01.654 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of config files] ********** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.015) 0:00:01.670 ********* skipping: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.021) 0:00:01.691 ********* TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.016) 0:00:01.708 ********* included: /tmp/collections-cnb/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-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Saturday 21 June 2025 13:17:15 -0400 (0:00:00.019) 0:00:01.727 ********* ERROR! the role 'fedora.linux_system_roles.firewall' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/tests/postfix/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/tests/postfix The error appears to be in '/tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml': line 5, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: fedora.linux_system_roles.firewall ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=6 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 21 June 2025 13:17:15 -0400 (0:00:00.022) 0:00:01.750 ********* =============================================================================== fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.91s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.39s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Run the postfix role ---------------------------------------------------- 0.11s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.09s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 fedora.linux_system_roles.postfix : Get status of package(s) [u'postfix'] --- 0.07s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 fedora.linux_system_roles.postfix : Set flag to indicate system is ostree --- 0.04s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Ensure the postfix ports status with the firewall role ------------------ 0.02s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 fedora.linux_system_roles.postfix : Get status of config files ---------- 0.02s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.02s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 fedora.linux_system_roles.postfix : Configure firewall ------------------ 0.02s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 fedora.linux_system_roles.postfix : Remove config files - make empty ---- 0.02s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 fedora.linux_system_roles.postfix : Remove package(s) to reset original confs [u'postfix'] --- 0.02s /tmp/collections-cnb/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23