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 'jsonl', 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_disable_ipv6.yml *********************************************** 1 plays in /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml PLAY [Ensure that the rule runs with IPv6 disabled] **************************** META: ran handlers TASK [Disable IPv6] ************************************************************ task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:6 Monday 14 July 2025 18:21:20 -0400 (0:00:00.020) 0:00:00.020 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 14 July 2025 18:21:21 -0400 (0:00:00.045) 0:00:00.066 *********** included: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 14 July 2025 18:21:21 -0400 (0:00:00.019) 0:00:00.086 *********** ok: [managed-node1] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 14 July 2025 18:21:21 -0400 (0:00:00.723) 0:00:00.810 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 14 July 2025 18:21:22 -0400 (0:00:00.431) 0:00:01.241 *********** ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 14 July 2025 18:21:22 -0400 (0:00:00.035) 0:00:01.277 *********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 14 July 2025 18:21:22 -0400 (0:00:00.048) 0:00:01.326 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 14 July 2025 18:21:22 -0400 (0:00:00.031) 0:00:01.357 *********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 14 July 2025 18:21:25 -0400 (0:00:03.287) 0:00:04.644 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 14 July 2025 18:21:25 -0400 (0:00:00.334) 0:00:04.979 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 14 July 2025 18:21:25 -0400 (0:00:00.015) 0:00:04.994 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 14 July 2025 18:21:25 -0400 (0:00:00.012) 0:00:05.007 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 14 July 2025 18:21:26 -0400 (0:00:00.314) 0:00:05.321 *********** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 14 July 2025 18:21:26 -0400 (0:00:00.022) 0:00:05.343 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752531685.8993561, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 14 July 2025 18:21:26 -0400 (0:00:00.332) 0:00:05.675 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 14 July 2025 18:21:26 -0400 (0:00:00.334) 0:00:06.010 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004229", "end": "2025-07-14 18:21:27.357291", "rc": 0, "start": "2025-07-14 18:21:27.353062" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 14 July 2025 18:21:27 -0400 (0:00:00.416) 0:00:06.427 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 14 July 2025 18:21:27 -0400 (0:00:00.017) 0:00:06.444 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 14 July 2025 18:21:27 -0400 (0:00:00.416) 0:00:06.861 *********** changed: [managed-node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 14 July 2025 18:21:28 -0400 (0:00:00.323) 0:00:07.184 *********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --update-kernel=ALL --args=ipv6.disable_ipv6=1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 14 July 2025 18:21:28 -0400 (0:00:00.697) 0:00:07.882 *********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 14 July 2025 18:21:28 -0400 (0:00:00.015) 0:00:07.897 *********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 14 July 2025 18:21:28 -0400 (0:00:00.012) 0:00:07.909 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 14 July 2025 18:21:28 -0400 (0:00:00.013) 0:00:07.923 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 14 July 2025 18:21:28 -0400 (0:00:00.010) 0:00:07.934 *********** changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.114611", "end": "2025-07-14 18:21:29.298851", "rc": 0, "start": "2025-07-14 18:21:29.184240" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet ipv6.disable_ipv6=1 $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet ipv6.disable_ipv6=1" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet ipv6.disable_ipv6=1 " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 14 July 2025 18:21:29 -0400 (0:00:00.432) 0:00:08.366 *********** included: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 14 July 2025 18:21:29 -0400 (0:00:00.014) 0:00:08.381 *********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 14 July 2025 18:21:52 -0400 (0:00:23.392) 0:00:31.774 *********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 14 July 2025 18:21:52 -0400 (0:00:00.014) 0:00:31.788 *********** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Run the postfix role] **************************************************** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:20 Monday 14 July 2025 18:21:52 -0400 (0:00:00.017) 0:00:31.805 *********** TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Monday 14 July 2025 18:21:52 -0400 (0:00:00.043) 0:00:31.849 *********** included: /tmp/collections-wL5/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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Monday 14 July 2025 18:21:52 -0400 (0:00:00.016) 0:00:31.866 *********** 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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Monday 14 July 2025 18:21:52 -0400 (0:00:00.013) 0:00:31.880 *********** 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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Monday 14 July 2025 18:21:53 -0400 (0:00:00.335) 0:00:32.215 *********** 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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Monday 14 July 2025 18:21:53 -0400 (0:00:00.017) 0:00:32.232 *********** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-wL5/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-wL5/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-wL5/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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Monday 14 July 2025 18:21:53 -0400 (0:00:00.041) 0:00:32.273 *********** 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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Monday 14 July 2025 18:21:53 -0400 (0:00:00.018) 0:00:32.292 *********** 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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Monday 14 July 2025 18:21:53 -0400 (0:00:00.013) 0:00:32.305 *********** 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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Monday 14 July 2025 18:21:53 -0400 (0:00:00.015) 0:00:32.321 *********** TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Monday 14 July 2025 18:21:53 -0400 (0:00:00.013) 0:00:32.335 *********** included: /tmp/collections-wL5/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-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Monday 14 July 2025 18:21:53 -0400 (0:00:00.013) 0:00:32.348 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure selinux] ******************* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Monday 14 July 2025 18:21:53 -0400 (0:00:00.012) 0:00:32.361 *********** included: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Monday 14 July 2025 18:21:53 -0400 (0:00:00.017) 0:00:32.378 *********** skipping: [managed-node1] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "item": "smtp", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "item": "smtps", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=smtp-submission) => { "ansible_loop_var": "item", "changed": false, "item": "smtp-submission", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] ********* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Monday 14 July 2025 18:21:53 -0400 (0:00:00.022) 0:00:32.401 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Monday 14 July 2025 18:21:53 -0400 (0:00:00.013) 0:00:32.414 *********** skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'smtp', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "smtp", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'smtps', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "smtps", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'smtp-submission', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "smtp-submission", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Set hardcoded ports to _postfix_selinux for no firewall or rhel-6 or not redhat] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Monday 14 July 2025 18:21:53 -0400 (0:00:00.023) 0:00:32.437 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Monday 14 July 2025 18:21:53 -0400 (0:00:00.012) 0:00:32.450 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Monday 14 July 2025 18:21:53 -0400 (0:00:00.011) 0:00:32.462 *********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.postfix : Get default database type from postconf - 1] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:71 Monday 14 July 2025 18:21:58 -0400 (0:00:05.186) 0:00:37.649 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "postconf", "-h", "default_database_type" ], "delta": "0:00:01.013661", "end": "2025-07-14 18:21:59.387067", "failed_when_result": false, "rc": 1, "start": "2025-07-14 18:21:58.373406" } STDERR: postconf: fatal: parameter inet_interfaces: no local interface found for ::1 MSG: non-zero return code TASK [fedora.linux_system_roles.postfix : Configure postfix for no ipv6] ******* task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:79 Monday 14 July 2025 18:21:59 -0400 (0:00:01.263) 0:00:38.912 *********** included: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Gather facts for ansible_date_time] *** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:6 Monday 14 July 2025 18:21:59 -0400 (0:00:00.025) 0:00:38.938 *********** [WARNING]: The value ['ansible_date_time'] (type list) in a string field was converted to "['ansible_date_time']" (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. ok: [managed-node1] TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:12 Monday 14 July 2025 18:22:00 -0400 (0:00:00.590) 0:00:39.528 *********** fatal: [managed-node1]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'ansible_date_time' is undefined The error appears to be in '/tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml': line 12, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Backup configuration ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=28 changed=4 unreachable=0 failed=1 skipped=21 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-07-14T22:22:00.519452+00:00Z", "host": "managed-node1", "message": "The task includes an option with an undefined variable. The error was: 'ansible_date_time' is undefined\n\nThe error appears to be in '/tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml': line 12, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Backup configuration\n ^ here\n", "start_time": "2025-07-14T22:22:00.504208+00:00Z", "task_name": "Backup configuration", "task_path": "/tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:12" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 14 July 2025 18:22:00 -0400 (0:00:00.016) 0:00:39.545 *********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.39s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.postfix : Install Postfix --------------------- 5.19s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.29s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.postfix : Get default database type from postconf - 1 --- 1.26s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:71 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.72s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.70s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.postfix : Gather facts for ansible_date_time --- 0.59s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:6 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.43s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.43s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.42s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.42s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.34s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.33s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.33s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.33s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.32s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.31s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.05s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Disable IPv6 ------------------------------------------------------------ 0.05s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:6 Run the postfix role ---------------------------------------------------- 0.04s /tmp/collections-wL5/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:20