ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:2 Saturday 27 June 2026 14:02:52 -0400 (0:00:00.018) 0:00:00.018 ********* ok: [managed-node1] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:5 Saturday 27 June 2026 14:02:53 -0400 (0:00:01.000) 0:00:01.019 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1782583373.0926406, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1782583078.571, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 10807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/journal/dev-log", "lnk_target": "/run/systemd/journal/dev-log", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1782583078.571, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 28, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:10 Saturday 27 June 2026 14:02:54 -0400 (0:00:00.401) 0:00:01.421 ********* ok: [managed-node1] => { "ansible_facts": { "__journal_start_time": "2026-06-27 14:02:53" }, "changed": false } TASK [Run the postfix role] **************************************************** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:15 Saturday 27 June 2026 14:02:54 -0400 (0:00:00.035) 0:00:01.456 ********* included: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 14:02:54 -0400 (0:00:00.015) 0:00:01.472 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 14:02:54 -0400 (0:00:00.048) 0:00:01.520 ********* TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Saturday 27 June 2026 14:02:54 -0400 (0:00:00.109) 0:00:01.630 ********* included: /tmp/collections-Fz8/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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Saturday 27 June 2026 14:02:54 -0400 (0:00:00.054) 0:00:01.685 ********* ok: [managed-node1] TASK [fedora.linux_system_roles.postfix : Record role begin fingerprint] ******* task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:8 Saturday 27 June 2026 14:02:55 -0400 (0:00:00.539) 0:00:02.224 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:17 Saturday 27 June 2026 14:02:55 -0400 (0:00:00.451) 0:00:02.676 ********* 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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:22 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.392) 0:00:03.069 ********* 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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:26 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.019) 0:00:03.088 ********* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-Fz8/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_8.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] *** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.047) 0:00:03.136 ********* 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 ['postfix']] *** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.024) 0:00:03.160 ********* 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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.015) 0:00:03.176 ********* 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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.029) 0:00:03.205 ********* TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.021) 0:00:03.227 ********* included: /tmp/collections-Fz8/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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.022) 0:00:03.250 ********* ERROR! the role 'fedora.linux_system_roles.firewall' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix The error appears to be in '/tmp/collections-Fz8/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=11 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 Saturday 27 June 2026 14:02:56 -0400 (0:00:00.032) 0:00:03.282 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:2 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.54s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.postfix : Record role begin fingerprint ------- 0.45s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:8 See if /dev/log exists for the fingerprint check ------------------------ 0.40s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:5 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.39s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:17 Run the role normally --------------------------------------------------- 0.11s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tasks/run_role_with_clear_facts.yml:33 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.05s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Run the role ------------------------------------------------------------ 0.05s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tasks/run_role_with_clear_facts.yml:23 fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.05s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:26 Set the start time for the journal search ------------------------------- 0.04s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:10 Ensure the postfix ports status with the firewall role ------------------ 0.03s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 fedora.linux_system_roles.postfix : Get status of config files ---------- 0.03s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 fedora.linux_system_roles.postfix : Get status of package(s) ['postfix'] --- 0.02s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 fedora.linux_system_roles.postfix : Configure firewall ------------------ 0.02s /tmp/collections-Fz8/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-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 fedora.linux_system_roles.postfix : Set flag to indicate system is ostree --- 0.02s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:22 Run the postfix role ---------------------------------------------------- 0.02s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:15 fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix'] --- 0.02s /tmp/collections-Fz8/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 -- Logs begin at Sat 2026-06-27 13:57:58 EDT, end at Sat 2026-06-27 14:02:56 EDT. -- Jun 27 14:02:52 managed-node1 sshd[7336]: Accepted publickey for root from 10.31.9.55 port 44764 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jun 27 14:02:52 managed-node1 systemd-logind[604]: New session 6 of user root. -- Subject: A new session 6 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 6 has been created for the user root. -- -- The leading process of the session is 7336. Jun 27 14:02:52 managed-node1 systemd[1]: Started Session 6 of user root. -- Subject: Unit session-6.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-6.scope has finished starting up. -- -- The start-up result is done. Jun 27 14:02:52 managed-node1 sshd[7336]: pam_unix(sshd:session): session opened for user root by (uid=0) Jun 27 14:02:52 managed-node1 sshd[7339]: Received disconnect from 10.31.9.55 port 44764:11: disconnected by user Jun 27 14:02:52 managed-node1 sshd[7339]: Disconnected from user root 10.31.9.55 port 44764 Jun 27 14:02:52 managed-node1 sshd[7336]: pam_unix(sshd:session): session closed for user root Jun 27 14:02:52 managed-node1 systemd[1]: session-6.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-6.scope has successfully entered the 'dead' state. Jun 27 14:02:52 managed-node1 systemd-logind[604]: Session 6 logged out. Waiting for processes to exit. Jun 27 14:02:52 managed-node1 systemd-logind[604]: Removed session 6. -- Subject: Session 6 has been terminated -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A session with the ID 6 has been terminated. Jun 27 14:02:53 managed-node1 sshd[7361]: Accepted publickey for root from 10.31.9.55 port 44778 ssh2: ECDSA SHA256:ItE4wH47MWp9qcYGp2i+fqBmYDhL27pN3+QMPSBJ/GI Jun 27 14:02:53 managed-node1 systemd[1]: Started Session 7 of user root. -- Subject: Unit session-7.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-7.scope has finished starting up. -- -- The start-up result is done. Jun 27 14:02:53 managed-node1 systemd-logind[604]: New session 7 of user root. -- Subject: A new session 7 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 7 has been created for the user root. -- -- The leading process of the session is 7361. Jun 27 14:02:53 managed-node1 sshd[7361]: pam_unix(sshd:session): session opened for user root by (uid=0) Jun 27 14:02:53 managed-node1 platform-python[7506]: ansible-setup Invoked with gather_subset=['all'] gather_timeout=10 filter=* fact_path=/etc/ansible/facts.d Jun 27 14:02:54 managed-node1 platform-python[7654]: ansible-ansible.builtin.stat Invoked with path=/dev/log follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jun 27 14:02:55 managed-node1 platform-python[7818]: ansible-setup Invoked with gather_subset=['!all', '!min', 'distribution_version', 'os_family'] gather_timeout=10 filter=* fact_path=/etc/ansible/facts.d Jun 27 14:02:55 managed-node1 platform-python[7945]: ansible-fedora.linux_system_roles.sr_fingerprint Invoked with sr_message=begin system_role:postfix ansible_version=2.9.27 CentOS-8 Jun 27 14:02:55 managed-node1 platform-python[7945]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:postfix ansible_version=2.9.27 CentOS-8 2026-06-27T14:02:55-04:00 Jun 27 14:02:56 managed-node1 platform-python[8068]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jun 27 14:02:56 managed-node1 sshd[8089]: Accepted publickey for root from 10.31.9.55 port 45328 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jun 27 14:02:56 managed-node1 systemd[1]: Started Session 8 of user root. -- Subject: Unit session-8.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-8.scope has finished starting up. -- -- The start-up result is done. Jun 27 14:02:56 managed-node1 systemd-logind[604]: New session 8 of user root. -- Subject: A new session 8 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 8 has been created for the user root. -- -- The leading process of the session is 8089. Jun 27 14:02:56 managed-node1 sshd[8089]: pam_unix(sshd:session): session opened for user root by (uid=0) Jun 27 14:02:56 managed-node1 sshd[8092]: Received disconnect from 10.31.9.55 port 45328:11: disconnected by user Jun 27 14:02:56 managed-node1 sshd[8092]: Disconnected from user root 10.31.9.55 port 45328 Jun 27 14:02:56 managed-node1 sshd[8089]: pam_unix(sshd:session): session closed for user root Jun 27 14:02:56 managed-node1 systemd[1]: session-8.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-8.scope has successfully entered the 'dead' state. Jun 27 14:02:56 managed-node1 systemd-logind[604]: Session 8 logged out. Waiting for processes to exit. Jun 27 14:02:56 managed-node1 systemd-logind[604]: Removed session 8. -- Subject: Session 8 has been terminated -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A session with the ID 8 has been terminated. Jun 27 14:02:56 managed-node1 sshd[8113]: Accepted publickey for root from 10.31.9.55 port 45334 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jun 27 14:02:56 managed-node1 systemd[1]: Started Session 9 of user root. -- Subject: Unit session-9.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-9.scope has finished starting up. -- -- The start-up result is done. Jun 27 14:02:56 managed-node1 systemd-logind[604]: New session 9 of user root. -- Subject: A new session 9 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 9 has been created for the user root. -- -- The leading process of the session is 8113. Jun 27 14:02:56 managed-node1 sshd[8113]: pam_unix(sshd:session): session opened for user root by (uid=0)