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_previous_replaced.yml ****************************************** 1 plays in /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml PLAY [Test setting previous=replaced with postfix_conf] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml:2 Saturday 28 June 2025 13:17:22 -0400 (0:00:00.022) 0:00:00.022 ********* ok: [managed-node1] META: ran handlers TASK [Run the role with previous=replaced only] ******************************** task path: /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml:5 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.829) 0:00:00.852 ********* TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.110) 0:00:00.963 ********* included: /tmp/collections-Fad/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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.027) 0:00:00.990 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.041) 0:00:01.032 ********* 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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.371) 0:00:01.403 ********* 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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.045) 0:00:01.448 ********* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-Fad/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-Fad/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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Saturday 28 June 2025 13:17:23 -0400 (0:00:00.140) 0:00:01.589 ********* ok: [managed-node1] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "postfix" ], "delta": "0:00:00.302075", "end": "2025-06-28 13:17:24.400385", "failed_when_result": false, "item": "postfix", "rc": 0, "start": "2025-06-28 13:17:24.098310", "warnings": [ "Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message." ] } [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs [u'postfix']] *** task path: /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Saturday 28 June 2025 13:17:24 -0400 (0:00:00.649) 0:00:02.238 ********* 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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Saturday 28 June 2025 13:17:24 -0400 (0:00:00.026) 0:00:02.265 ********* 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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Saturday 28 June 2025 13:17:24 -0400 (0:00:00.024) 0:00:02.289 ********* TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Saturday 28 June 2025 13:17:24 -0400 (0:00:00.018) 0:00:02.307 ********* included: /tmp/collections-Fad/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-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Saturday 28 June 2025 13:17:24 -0400 (0:00:00.025) 0:00:02.333 ********* ERROR! the role 'fedora.linux_system_roles.firewall' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix The error appears to be in '/tmp/collections-Fad/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=7 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 28 June 2025 13:17:24 -0400 (0:00:00.027) 0:00:02.361 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.83s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml:2 fedora.linux_system_roles.postfix : Get status of package(s) [u'postfix'] --- 0.65s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.37s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.14s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Run the role with previous=replaced only -------------------------------- 0.11s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml:5 fedora.linux_system_roles.postfix : Set flag to indicate system is ostree --- 0.05s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.04s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Ensure the postfix ports status with the firewall role ------------------ 0.03s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.03s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 fedora.linux_system_roles.postfix : Remove package(s) to reset original confs [u'postfix'] --- 0.03s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 fedora.linux_system_roles.postfix : Configure firewall ------------------ 0.03s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 fedora.linux_system_roles.postfix : Get status of config files ---------- 0.02s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 fedora.linux_system_roles.postfix : Remove config files - make empty ---- 0.02s /tmp/collections-Fad/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45