[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.jSPgbGVAUI executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_set_file.yml *************************************************** 1 plays in /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml PLAY [Create a postmapped file] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:2 Saturday 27 July 2024 13:16:42 -0400 (0:00:00.007) 0:00:00.007 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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_node1] TASK [Run the role with test postmap file] ************************************* task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:12 Saturday 27 July 2024 13:16:43 -0400 (0:00:01.170) 0:00:01.178 ********* included: fedora.linux_system_roles.postfix for managed_node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Saturday 27 July 2024 13:16:43 -0400 (0:00:00.041) 0:00:01.220 ********* included: /tmp/tmp.jSPgbGVAUI/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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Saturday 27 July 2024 13:16:43 -0400 (0:00:00.020) 0:00:01.240 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Saturday 27 July 2024 13:16:43 -0400 (0:00:00.023) 0:00:01.264 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.432) 0:00:01.696 ********* 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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.023) 0:00:01.720 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/tmp.jSPgbGVAUI/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, "false_condition": "__postfix_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed_node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] *** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.046) 0:00:01.766 ********* skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.021) 0:00:01.788 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.017) 0:00:01.805 ********* skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.020) 0:00:01.826 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.022) 0:00:01.848 ********* included: /tmp/tmp.jSPgbGVAUI/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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.017) 0:00:01.865 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.017) 0:00:01.883 ********* included: /tmp/tmp.jSPgbGVAUI/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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.022) 0:00:01.905 ********* skipping: [managed_node1] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtps", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] ********* task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.025) 0:00:01.931 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.018) 0:00:01.949 ********* skipping: [managed_node1] => (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_node1] => (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_node1] => (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_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.028) 0:00:01.977 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.018) 0:00:01.996 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Saturday 27 July 2024 13:16:44 -0400 (0:00:00.019) 0:00:02.015 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: postfix TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 Saturday 27 July 2024 13:16:45 -0400 (0:00:00.749) 0:00:02.765 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-07-27 13:16:40 EDT", "ActiveEnterTimestampMonotonic": "289946252", "ActiveExitTimestamp": "Sat 2024-07-27 13:16:40 EDT", "ActiveExitTimestampMonotonic": "289612832", "ActiveState": "active", "After": "basic.target systemd-tmpfiles-setup.service system.slice sysinit.target -.mount systemd-journald.socket syslog.target network.target tmp.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 13:16:40 EDT", "AssertTimestampMonotonic": "289659228", "Before": "multi-user.target 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": "276712000", "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": "Sat 2024-07-27 13:16:40 EDT", "ConditionTimestampMonotonic": "289659225", "ConfigurationDirectoryMode": "0755", "Conflicts": "exim.service shutdown.target sendmail.service", "ControlGroup": "/system.slice/postfix.service", "ControlGroupId": "5667", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EffectiveMemoryHigh": "3700928512", "EffectiveMemoryMax": "3700928512", "EffectiveTasksMax": "22402", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "19413", "ExecMainStartTimestamp": "Sat 2024-07-27 13:16:40 EDT", "ExecMainStartTimestampMonotonic": "289946204", "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=[Sat 2024-07-27 13:16:40 EDT] ; stop_time=[Sat 2024-07-27 13:16:40 EDT] ; pid=19346 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; flags= ; start_time=[Sat 2024-07-27 13:16:40 EDT] ; stop_time=[Sat 2024-07-27 13:16:40 EDT] ; pid=19346 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Sat 2024-07-27 13:16:40 EDT] ; stop_time=[Sat 2024-07-27 13:16:40 EDT] ; pid=19344 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; flags=ignore-failure ; start_time=[Sat 2024-07-27 13:16:40 EDT] ; stop_time=[Sat 2024-07-27 13:16:40 EDT] ; pid=19344 ; 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", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 13:16:40 EDT", "InactiveEnterTimestampMonotonic": "289656721", "InactiveExitTimestamp": "Sat 2024-07-27 13:16:40 EDT", "InactiveExitTimestampMonotonic": "289661593", "InvocationID": "4e97035ba7ad40d1aed954e14a7d4567", "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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19413", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3249483776", "MemoryCurrent": "2191360", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "4894720", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-07-27 13:16:40 EDT", "StateChangeTimestampMonotonic": "289946252", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22402", "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", "Wants": "tmp.mount -.mount", "WantsMountsFor": "/var/tmp /tmp", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:72 Saturday 27 July 2024 13:16:46 -0400 (0:00:00.690) 0:00:03.455 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:78 Saturday 27 July 2024 13:16:46 -0400 (0:00:00.023) 0:00:03.478 ********* skipping: [managed_node1] => { "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/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:96 Saturday 27 July 2024 13:16:46 -0400 (0:00:00.022) 0:00:03.501 ********* changed: [managed_node1] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } Notification for handler Check postfix has been saved. Notification for handler Restart postfix has been saved. changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.postfix : Postmap files] *********************** task path: /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:112 Saturday 27 July 2024 13:16:46 -0400 (0:00:00.714) 0:00:04.215 ********* failed: [managed_node1] (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } fatal: [managed_node1]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } PLAY RECAP ********************************************************************* managed_node1 : ok=11 changed=1 unreachable=0 failed=1 skipped=13 rescued=0 ignored=0 Saturday 27 July 2024 13:16:48 -0400 (0:00:01.435) 0:00:05.650 ********* =============================================================================== fedora.linux_system_roles.postfix : Postmap files ----------------------- 1.44s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:2 fedora.linux_system_roles.postfix : Install Postfix --------------------- 0.75s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 fedora.linux_system_roles.postfix : Configure additional files ---------- 0.71s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:96 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 0.69s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.43s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.05s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Run the role with test postmap file ------------------------------------- 0.04s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:12 fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux --- 0.03s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 fedora.linux_system_roles.postfix : Get the smtp related tcp service ports --- 0.03s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.postfix : Set flag to indicate system is ostree --- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 fedora.linux_system_roles.postfix : Get current config ------------------ 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:72 fedora.linux_system_roles.postfix : Check given config against current config --- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:78 fedora.linux_system_roles.postfix : Configure selinux ------------------- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 fedora.linux_system_roles.postfix : Remove config files - make empty ---- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 fedora.linux_system_roles.postfix : Get status of package(s) ['postfix'] --- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 fedora.linux_system_roles.postfix : Get status of config files ---------- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Ensure the service and the ports status with the selinux role ----------- 0.02s /tmp/tmp.jSPgbGVAUI/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55