ansible-playbook [core 2.17.13] 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-4TG executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-7)] (/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_disable_ipv6.yml *********************************************** 1 plays in /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml PLAY [Ensure that the rule runs with IPv6 disabled] **************************** TASK [Disable IPv6] ************************************************************ task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:6 Friday 18 July 2025 10:58:55 -0400 (0:00:00.060) 0:00:00.060 *********** included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 18 July 2025 10:58:55 -0400 (0:00:00.071) 0:00:00.132 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 18 July 2025 10:58:55 -0400 (0:00:00.025) 0:00:00.157 *********** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 18 July 2025 10:58:57 -0400 (0:00:02.097) 0:00:02.254 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 18 July 2025 10:58:57 -0400 (0:00:00.585) 0:00:02.840 *********** ok: [managed-node2] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 18 July 2025 10:58:57 -0400 (0:00:00.031) 0:00:02.871 *********** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 18 July 2025 10:58:58 -0400 (0:00:00.052) 0:00:02.924 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 18 July 2025 10:58:58 -0400 (0:00:00.023) 0:00:02.948 *********** ok: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 18 July 2025 10:59:24 -0400 (0:00:26.189) 0:00:29.137 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750750197.9157193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 18 July 2025 10:59:24 -0400 (0:00:00.378) 0:00:29.515 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 18 July 2025 10:59:24 -0400 (0:00:00.014) 0:00:29.529 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 18 July 2025 10:59:24 -0400 (0:00:00.016) 0:00:29.546 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 18 July 2025 10:59:25 -0400 (0:00:00.373) 0:00:29.920 *********** ok: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 18 July 2025 10:59:25 -0400 (0:00:00.064) 0:00:29.984 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1752850764.5221415, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 18 July 2025 10:59:25 -0400 (0:00:00.365) 0:00:30.350 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750749332.095, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fae114f2ec96cd42b53428a4af2e61e33b104367", "ctime": 1750749332.096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 365703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750749332.096, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6744, "uid": 0, "version": "4141666804", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 18 July 2025 10:59:25 -0400 (0:00:00.361) 0:00:30.711 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004359", "end": "2025-07-18 10:59:26.201828", "rc": 0, "start": "2025-07-18 10:59:26.197469" } 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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 18 July 2025 10:59:26 -0400 (0:00:00.451) 0:00:31.163 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 18 July 2025 10:59:26 -0400 (0:00:00.050) 0:00:31.213 *********** ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 18 July 2025 10:59:26 -0400 (0:00:00.602) 0:00:31.816 *********** changed: [managed-node2] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 18 July 2025 10:59:27 -0400 (0:00:00.454) 0:00:32.270 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 18 July 2025 10:59:28 -0400 (0:00:00.726) 0:00:32.996 *********** skipping: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 18 July 2025 10:59:28 -0400 (0:00:00.018) 0:00:33.015 *********** skipping: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 18 July 2025 10:59:28 -0400 (0:00:00.016) 0:00:33.032 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 18 July 2025 10:59:28 -0400 (0:00:00.029) 0:00:33.061 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Run handlers] ************************************************************ task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:17 Friday 18 July 2025 10:59:28 -0400 (0:00:00.031) 0:00:33.092 *********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 18 July 2025 10:59:28 -0400 (0:00:00.001) 0:00:33.094 *********** changed: [managed-node2] => { "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.105916", "end": "2025-07-18 10:59:28.603515", "rc": 0, "start": "2025-07-18 10:59:28.497599" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 ipv6.disable_ipv6=1" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 18 July 2025 10:59:28 -0400 (0:00:00.469) 0:00:33.563 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 18 July 2025 10:59:28 -0400 (0:00:00.014) 0:00:33.577 *********** changed: [managed-node2] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 18 July 2025 10:59:52 -0400 (0:00:24.142) 0:00:57.720 *********** skipping: [managed-node2] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 18 July 2025 10:59:52 -0400 (0:00:00.014) 0:00:57.734 *********** ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Run the postfix role] **************************************************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:20 Friday 18 July 2025 10:59:52 -0400 (0:00:00.020) 0:00:57.755 *********** included: fedora.linux_system_roles.postfix for managed-node2 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Friday 18 July 2025 10:59:52 -0400 (0:00:00.052) 0:00:57.807 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Friday 18 July 2025 10:59:52 -0400 (0:00:00.015) 0:00:57.822 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postfix_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Friday 18 July 2025 10:59:52 -0400 (0:00:00.030) 0:00:57.853 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Friday 18 July 2025 10:59:53 -0400 (0:00:00.361) 0:00:58.214 *********** ok: [managed-node2] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Friday 18 July 2025 10:59:53 -0400 (0:00:00.021) 0:00:58.235 *********** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (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-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-4TG/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-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Friday 18 July 2025 10:59:53 -0400 (0:00:00.039) 0:00:58.275 *********** skipping: [managed-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Friday 18 July 2025 10:59:53 -0400 (0:00:00.019) 0:00:58.294 *********** skipping: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Friday 18 July 2025 10:59:53 -0400 (0:00:00.016) 0:00:58.310 *********** skipping: [managed-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Friday 18 July 2025 10:59:53 -0400 (0:00:00.036) 0:00:58.347 *********** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Friday 18 July 2025 10:59:53 -0400 (0:00:00.042) 0:00:58.390 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for managed-node2 TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Friday 18 July 2025 10:59:53 -0400 (0:00:00.021) 0:00:58.412 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "postfix_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure selinux] ******************* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Friday 18 July 2025 10:59:53 -0400 (0:00:00.036) 0:00:58.448 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for managed-node2 TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Friday 18 July 2025 10:59:53 -0400 (0:00:00.020) 0:00:58.470 *********** skipping: [managed-node2] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtps", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=smtp-submission) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp-submission", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] ********* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Friday 18 July 2025 10:59:53 -0400 (0:00:00.043) 0:00:58.513 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "postfix_manage_selinux | bool", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Friday 18 July 2025 10:59:53 -0400 (0:00:00.033) 0:00:58.547 *********** skipping: [managed-node2] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_selinux | bool', 'item': 'smtp', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_selinux | bool', 'item': 'smtps', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtps", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_selinux | bool', 'item': 'smtp-submission', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp-submission", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped 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-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Friday 18 July 2025 10:59:53 -0400 (0:00:00.043) 0:00:58.591 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "postfix_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Friday 18 July 2025 10:59:53 -0400 (0:00:00.029) 0:00:58.621 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "postfix_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Friday 18 July 2025 10:59:53 -0400 (0:00:00.029) 0:00:58.650 *********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-67.1-9.el9.x86_64", "Installed: postfix-2:3.5.25-1.el9.x86_64" ] } TASK [fedora.linux_system_roles.postfix : Get default database type from postconf - 1] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:71 Friday 18 July 2025 11:00:08 -0400 (0:00:14.508) 0:01:13.159 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "postconf", "-h", "default_database_type" ], "delta": "0:00:01.011657", "end": "2025-07-18 11:00:09.622567", "failed_when_result": false, "rc": 1, "start": "2025-07-18 11:00:08.610910" } 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-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:79 Friday 18 July 2025 11:00:09 -0400 (0:00:01.429) 0:01:14.588 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml for managed-node2 TASK [fedora.linux_system_roles.postfix : Gather facts for ansible_date_time] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:6 Friday 18 July 2025 11:00:09 -0400 (0:00:00.025) 0:01:14.613 *********** ok: [managed-node2] TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:11 Friday 18 July 2025 11:00:10 -0400 (0:00:00.788) 0:01:15.402 *********** changed: [managed-node2] => { "changed": true, "checksum": "a3bbb2335a080735f80f58acfb9a77d51554d592", "dest": "/etc/postfix/main.cf.2025-07-18T15:00:10Z", "gid": 0, "group": "root", "md5sum": "47be7cf9d6ab8b11dda23f191b6e2be2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:postfix_etc_t:s0", "size": 29369, "src": "/etc/postfix/main.cf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.postfix : Ensure Last modified header is absent] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:19 Friday 18 July 2025 11:00:10 -0400 (0:00:00.461) 0:01:15.863 *********** ok: [managed-node2] => { "backup": "", "changed": false, "found": 0 } TASK [fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:27 Friday 18 July 2025 11:00:11 -0400 (0:00:00.451) 0:01:16.314 *********** ok: [managed-node2] => { "backup": "", "changed": false, "found": 0 } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:33 Friday 18 July 2025 11:00:11 -0400 (0:00:00.360) 0:01:16.675 *********** changed: [managed-node2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:41 Friday 18 July 2025 11:00:12 -0400 (0:00:00.460) 0:01:17.135 *********** changed: [managed-node2] => (item={'key': 'inet_protocols', 'value': 'ipv4'}) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "postconf", "-e", "inet_protocols=ipv4" ], "delta": "0:00:00.010625", "end": "2025-07-18 11:00:12.549808", "item": { "key": "inet_protocols", "value": "ipv4" }, "rc": 0, "start": "2025-07-18 11:00:12.539183" } Notification for handler Check postfix has been saved. Notification for handler Restart postfix has been saved. TASK [fedora.linux_system_roles.postfix : Get default database type from postconf - 2] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:89 Friday 18 July 2025 11:00:12 -0400 (0:00:00.376) 0:01:17.512 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "postconf", "-h", "default_database_type" ], "delta": "0:00:01.511796", "end": "2025-07-18 11:00:14.402164", "rc": 0, "start": "2025-07-18 11:00:12.890368" } STDOUT: hash TASK [fedora.linux_system_roles.postfix : Set postfix_default_database_type] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:94 Friday 18 July 2025 11:00:14 -0400 (0:00:01.859) 0:01:19.372 *********** ok: [managed-node2] => { "ansible_facts": { "postfix_default_database_type": "hash" }, "changed": false } TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:98 Friday 18 July 2025 11:00:14 -0400 (0:00:00.033) 0:01:19.405 *********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postfix", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target syslog.target systemd-tmpfiles-setup.service systemd-journald.socket network.target sysinit.target -.mount tmp.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "exim.service sendmail.service shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; flags=ignore-failure ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13688", "LimitNPROCSoft": "13688", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13688", "LimitSIGPENDINGSoft": "13688", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/var/spool/postfix/pid/master.pid", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21900", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:104 Friday 18 July 2025 11:00:16 -0400 (0:00:01.783) 0:01:21.189 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "postfix_conf | dict2items | rejectattr('key', 'match', '^previous$') | list | items2dict | d({}) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check given config against current config] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:110 Friday 18 July 2025 11:00:16 -0400 (0:00:00.040) 0:01:21.229 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "postfix_conf | dict2items | rejectattr('key', 'match', '^previous$') | list | items2dict | d({}) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure additional files] ********** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:128 Friday 18 July 2025 11:00:16 -0400 (0:00:00.039) 0:01:21.269 *********** skipping: [managed-node2] => { "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.postfix : Postmap files] *********************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:144 Friday 18 July 2025 11:00:16 -0400 (0:00:00.012) 0:01:21.281 *********** skipping: [managed-node2] => { "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.postfix : Apply changes] *********************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:155 Friday 18 July 2025 11:00:16 -0400 (0:00:00.010) 0:01:21.292 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml for managed-node2 TASK [fedora.linux_system_roles.postfix : Gather facts for ansible_date_time] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:6 Friday 18 July 2025 11:00:16 -0400 (0:00:00.016) 0:01:21.309 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:11 Friday 18 July 2025 11:00:16 -0400 (0:00:00.032) 0:01:21.342 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure Last modified header is absent] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:19 Friday 18 July 2025 11:00:16 -0400 (0:00:00.032) 0:01:21.375 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:27 Friday 18 July 2025 11:00:16 -0400 (0:00:00.031) 0:01:21.406 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:33 Friday 18 July 2025 11:00:16 -0400 (0:00:00.033) 0:01:21.439 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:41 Friday 18 July 2025 11:00:16 -0400 (0:00:00.038) 0:01:21.478 *********** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Enable IPv6] ************************************************************* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:25 Friday 18 July 2025 11:00:16 -0400 (0:00:00.012) 0:01:21.491 *********** included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 18 July 2025 11:00:16 -0400 (0:00:00.096) 0:01:21.587 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 18 July 2025 11:00:16 -0400 (0:00:00.028) 0:01:21.616 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 18 July 2025 11:00:16 -0400 (0:00:00.047) 0:01:21.664 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 18 July 2025 11:00:16 -0400 (0:00:00.027) 0:01:21.691 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 18 July 2025 11:00:16 -0400 (0:00:00.026) 0:01:21.717 *********** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 18 July 2025 11:00:16 -0400 (0:00:00.047) 0:01:21.764 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 18 July 2025 11:00:16 -0400 (0:00:00.017) 0:01:21.782 *********** ok: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 18 July 2025 11:00:18 -0400 (0:00:01.719) 0:01:23.502 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1752850768.6021662, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2d2565c9cdbfaa8fc49d734b1ec3e67621d97ba9", "ctime": 1752850768.6021662, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278002, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752850768.6021662, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 350, "uid": 0, "version": "1249054094", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 18 July 2025 11:00:18 -0400 (0:00:00.376) 0:01:23.878 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 18 July 2025 11:00:18 -0400 (0:00:00.013) 0:01:23.892 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 18 July 2025 11:00:18 -0400 (0:00:00.011) 0:01:23.903 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 18 July 2025 11:00:19 -0400 (0:00:00.354) 0:01:24.257 *********** ok: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 18 July 2025 11:00:19 -0400 (0:00:00.056) 0:01:24.314 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1752850818.8829556, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2d2565c9cdbfaa8fc49d734b1ec3e67621d97ba9", "ctime": 1752850768.6021662, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278002, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752850768.6021662, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 350, "uid": 0, "version": "1249054094", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 18 July 2025 11:00:19 -0400 (0:00:00.352) 0:01:24.666 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1752850767.311539, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1752850767.3111582, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 507510979, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752850767.3115396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3415697444", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 18 July 2025 11:00:20 -0400 (0:00:00.363) 0:01:25.030 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004309", "end": "2025-07-18 11:00:20.452546", "rc": 0, "start": "2025-07-18 11:00:20.448237" } 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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 18 July 2025 11:00:20 -0400 (0:00:00.379) 0:01:25.410 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 18 July 2025 11:00:20 -0400 (0:00:00.033) 0:01:25.443 *********** ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 18 July 2025 11:00:20 -0400 (0:00:00.357) 0:01:25.801 *********** ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 18 July 2025 11:00:21 -0400 (0:00:00.359) 0:01:26.161 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node2] => { "actions": [ "grubby --update-kernel=ALL --remove-args=ipv6.disable_ipv6" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 18 July 2025 11:00:21 -0400 (0:00:00.589) 0:01:26.750 *********** skipping: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 18 July 2025 11:00:21 -0400 (0:00:00.023) 0:01:26.774 *********** skipping: [managed-node2] => { "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-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 18 July 2025 11:00:21 -0400 (0:00:00.016) 0:01:26.790 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 18 July 2025 11:00:21 -0400 (0:00:00.031) 0:01:26.821 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Run handlers again] ****************************************************** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_disable_ipv6.yml:36 Friday 18 July 2025 11:00:21 -0400 (0:00:00.030) 0:01:26.852 *********** NOTIFIED HANDLER fedora.linux_system_roles.postfix : Check postfix for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.postfix : Restart postfix for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postfix : Check postfix] ************ task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:2 Friday 18 July 2025 11:00:21 -0400 (0:00:00.002) 0:01:26.854 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "postfix", "check" ], "delta": "0:00:00.232078", "end": "2025-07-18 11:00:22.468226", "rc": 0, "start": "2025-07-18 11:00:22.236148" } RUNNING HANDLER [fedora.linux_system_roles.postfix : Restart postfix] ********** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:7 Friday 18 July 2025 11:00:22 -0400 (0:00:00.581) 0:01:27.436 *********** changed: [managed-node2] => { "changed": true, "name": "postfix", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Fri 2025-07-18 11:00:16 EDT", "ActiveEnterTimestampMonotonic": "34565387", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket tmp.mount syslog.target systemd-tmpfiles-setup.service system.slice network.target sysinit.target -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-07-18 11:00:15 EDT", "AssertTimestampMonotonic": "34181657", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "330835000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-07-18 11:00:15 EDT", "ConditionTimestampMonotonic": "34181654", "ConfigurationDirectoryMode": "0755", "Conflicts": "sendmail.service exim.service shutdown.target", "ControlGroup": "/system.slice/postfix.service", "ControlGroupId": "3776", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3747", "ExecMainStartTimestamp": "Fri 2025-07-18 11:00:16 EDT", "ExecMainStartTimestampMonotonic": "34565354", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[Fri 2025-07-18 11:00:15 EDT] ; stop_time=[Fri 2025-07-18 11:00:16 EDT] ; pid=3679 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; flags= ; start_time=[Fri 2025-07-18 11:00:15 EDT] ; stop_time=[Fri 2025-07-18 11:00:16 EDT] ; pid=3679 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Fri 2025-07-18 11:00:15 EDT] ; stop_time=[Fri 2025-07-18 11:00:15 EDT] ; pid=3678 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; flags=ignore-failure ; start_time=[Fri 2025-07-18 11:00:15 EDT] ; stop_time=[Fri 2025-07-18 11:00:15 EDT] ; pid=3678 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-07-18 11:00:15 EDT", "InactiveExitTimestampMonotonic": "34199655", "InvocationID": "96a73c733b854778bccdb9fda1c195d0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13688", "LimitNPROCSoft": "13688", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13688", "LimitSIGPENDINGSoft": "13688", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3747", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5885952", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/var/spool/postfix/pid/master.pid", "Perpetual": "no", "PrivateDevices": "yes", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2025-07-18 11:00:16 EDT", "StateChangeTimestampMonotonic": "34565387", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "21900", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 18 July 2025 11:00:23 -0400 (0:00:01.314) 0:01:28.750 *********** changed: [managed-node2] => { "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.105855", "end": "2025-07-18 11:00:24.237544", "rc": 0, "start": "2025-07-18 11:00:24.131689" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 18 July 2025 11:00:24 -0400 (0:00:00.453) 0:01:29.204 *********** included: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 18 July 2025 11:00:24 -0400 (0:00:00.019) 0:01:29.223 *********** changed: [managed-node2] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 18 July 2025 11:00:48 -0400 (0:00:24.545) 0:01:53.768 *********** skipping: [managed-node2] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 18 July 2025 11:00:48 -0400 (0:00:00.011) 0:01:53.780 *********** ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node2 : ok=57 changed=13 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 18 July 2025 11:00:48 -0400 (0:00:00.014) 0:01:53.795 *********** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 26.19s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.55s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.14s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.postfix : Install Postfix -------------------- 14.51s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 2.10s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.postfix : Get default database type from postconf - 2 --- 1.86s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:89 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 1.78s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:98 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.72s /tmp/collections-4TG/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.43s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:71 fedora.linux_system_roles.postfix : Restart postfix --------------------- 1.31s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:7 fedora.linux_system_roles.postfix : Gather facts for ansible_date_time --- 0.79s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:6 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.73s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.60s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.59s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.postfix : Check postfix ----------------------- 0.58s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:2 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.47s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.postfix : Backup configuration ---------------- 0.46s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:11 fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file --- 0.46s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/manage_config.yml:33 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.45s /tmp/collections-4TG/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95