ansible-playbook [core 2.17.7] 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-7VQ executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml PLAY [Create a postmapped file] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:2 Monday 02 December 2024 18:38:42 -0500 (0:00:00.009) 0:00:00.009 ******* [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/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:15 Monday 02 December 2024 18:38:44 -0500 (0:00:01.299) 0:00:01.309 ******* included: fedora.linux_system_roles.postfix for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Monday 02 December 2024 18:38:44 -0500 (0:00:00.066) 0:00:01.375 ******* included: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Monday 02 December 2024 18:38:44 -0500 (0:00:00.023) 0:00:01.398 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Monday 02 December 2024 18:38:44 -0500 (0:00:00.041) 0:00:01.439 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Monday 02 December 2024 18:38:44 -0500 (0:00:00.527) 0:00:01.967 ******* ok: [managed-node1] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Monday 02 December 2024 18:38:44 -0500 (0:00:00.028) 0:00:01.995 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed-node1] => (item=Fedora.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Monday 02 December 2024 18:38:44 -0500 (0:00:00.049) 0:00:02.045 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Monday 02 December 2024 18:38:44 -0500 (0:00:00.026) 0:00:02.071 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Monday 02 December 2024 18:38:44 -0500 (0:00:00.022) 0:00:02.094 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Monday 02 December 2024 18:38:44 -0500 (0:00:00.044) 0:00:02.138 ******* skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Monday 02 December 2024 18:38:44 -0500 (0:00:00.042) 0:00:02.181 ******* included: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for managed-node1 TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Monday 02 December 2024 18:38:44 -0500 (0:00:00.021) 0:00:02.203 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Monday 02 December 2024 18:38:44 -0500 (0:00:00.038) 0:00:02.241 ******* included: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Monday 02 December 2024 18:38:44 -0500 (0:00:00.030) 0:00:02.271 ******* 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=submission) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Monday 02 December 2024 18:38:45 -0500 (0:00:00.047) 0:00:02.319 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Monday 02 December 2024 18:38:45 -0500 (0:00:00.035) 0:00:02.355 ******* 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': '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": "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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Monday 02 December 2024 18:38:45 -0500 (0:00:00.046) 0:00:02.401 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Monday 02 December 2024 18:38:45 -0500 (0:00:00.036) 0:00:02.437 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Monday 02 December 2024 18:38:45 -0500 (0:00:00.035) 0:00:02.473 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.postfix : Get default database type from postconf] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 Monday 02 December 2024 18:38:46 -0500 (0:00:01.667) 0:00:04.140 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postconf", "-h", "default_database_type" ], "delta": "0:00:00.009659", "end": "2024-12-02 18:38:47.291231", "rc": 0, "start": "2024-12-02 18:38:47.281572" } STDOUT: hash TASK [fedora.linux_system_roles.postfix : Set postfix_default_database_type] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:71 Monday 02 December 2024 18:38:47 -0500 (0:00:00.513) 0:00:04.654 ******* ok: [managed-node1] => { "ansible_facts": { "postfix_default_database_type": "hash" }, "changed": false } TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:75 Monday 02 December 2024 18:38:47 -0500 (0:00:00.040) 0:00:04.694 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-12-02 18:38:40 EST", "ActiveEnterTimestampMonotonic": "326675141", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice -.mount network.target syslog.target tmp.mount systemd-journald.socket basic.target systemd-tmpfiles-setup.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-12-02 18:38:39 EST", "AssertTimestampMonotonic": "326298305", "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": "367768000", "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": "Mon 2024-12-02 18:38:39 EST", "ConditionTimestampMonotonic": "326298302", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target sendmail.service exim.service", "ControlGroup": "/system.slice/postfix.service", "ControlGroupId": "5874", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8978", "ExecMainStartTimestamp": "Mon 2024-12-02 18:38:40 EST", "ExecMainStartTimestampMonotonic": "326675048", "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=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:40 EST] ; pid=8911 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; flags= ; start_time=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:40 EST] ; pid=8911 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:39 EST] ; pid=8909 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; flags=ignore-failure ; start_time=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:39 EST] ; pid=8909 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-12-02 18:38:39 EST", "InactiveExitTimestampMonotonic": "326309262", "InvocationID": "81ee11b70bab4ff88f729080154a7ed6", "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": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3416997888", "MemoryCurrent": "4280320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "4583424", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "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": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/tmp", "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": "Mon 2024-12-02 18:38:40 EST", "StateChangeTimestampMonotonic": "326675141", "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": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "tmp.mount", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:81 Monday 02 December 2024 18:38:48 -0500 (0:00:00.826) 0:00:05.521 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postconf" ], "delta": "0:00:00.009855", "end": "2024-12-02 18:38:48.606104", "rc": 0, "start": "2024-12-02 18:38:48.596249" } STDOUT: 2bounce_notice_recipient = postmaster access_map_defer_code = 450 access_map_reject_code = 554 address_verify_cache_cleanup_interval = 12h address_verify_default_transport = $default_transport address_verify_local_transport = $local_transport address_verify_map = btree:$data_directory/verify_cache address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_pending_request_limit = 5000 address_verify_poll_count = ${stress?{1}:{3}} address_verify_poll_delay = 3s address_verify_positive_expire_time = 31d address_verify_positive_refresh_time = 7d address_verify_relay_transport = $relay_transport address_verify_relayhost = $relayhost address_verify_sender = $double_bounce_sender address_verify_sender_dependent_default_transport_maps = $sender_dependent_default_transport_maps address_verify_sender_dependent_relayhost_maps = $sender_dependent_relayhost_maps address_verify_sender_ttl = 0s address_verify_service_name = verify address_verify_transport_maps = $transport_maps address_verify_virtual_transport = $virtual_transport alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_mail_to_commands = alias, forward allow_mail_to_files = alias, forward allow_min_user = no allow_percent_hack = yes allow_srv_lookup_fallback = no allow_untrusted_routing = no alternate_config_directories = always_add_missing_headers = no always_bcc = anvil_rate_time_unit = 60s anvil_status_update_time = 600s append_at_myorigin = yes append_dot_mydomain = ${{$compatibility_level} empty_address_local_login_sender_maps_lookup_key = <> empty_address_recipient = MAILER-DAEMON empty_address_relayhost_maps_lookup_key = <> enable_idna2003_compatibility = no enable_long_queue_ids = no enable_original_recipient = yes enable_threaded_bounces = no error_delivery_slot_cost = $default_delivery_slot_cost error_delivery_slot_discount = $default_delivery_slot_discount error_delivery_slot_loan = $default_delivery_slot_loan error_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit error_destination_concurrency_limit = $default_destination_concurrency_limit error_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback error_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback error_destination_rate_delay = $default_destination_rate_delay error_destination_recipient_limit = $default_destination_recipient_limit error_extra_recipient_limit = $default_extra_recipient_limit error_initial_destination_concurrency = $initial_destination_concurrency error_minimum_delivery_slots = $default_minimum_delivery_slots error_notice_recipient = postmaster error_recipient_limit = $default_recipient_limit error_recipient_refill_delay = $default_recipient_refill_delay error_recipient_refill_limit = $default_recipient_refill_limit error_service_name = error error_transport_rate_delay = $default_transport_rate_delay execution_directory_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ expand_owner_alias = no export_environment = TZ MAIL_CONFIG LANG fallback_transport = fallback_transport_maps = fast_flush_domains = $relay_domains fast_flush_purge_time = 7d fast_flush_refresh_time = 12h fault_injection_code = 0 flush_service_name = flush fork_attempts = 5 fork_delay = 1s forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward frozen_delivered_to = yes hash_queue_depth = 1 hash_queue_names = deferred, defer header_address_token_limit = 10240 header_checks = header_from_format = standard header_size_limit = 102400 helpful_warnings = yes home_mailbox = hopcount_limit = 50 html_directory = no ignore_mx_lookup_error = no ignore_srv_lookup_error = no import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C POSTLOG_SERVICE POSTLOG_HOSTNAME in_flow_delay = 1s inet_interfaces = localhost inet_protocols = all info_log_address_format = external initial_destination_concurrency = 5 internal_mail_filter_classes = invalid_hostname_reject_code = 501 ipc_idle = 5s ipc_timeout = 3600s ipc_ttl = 1000s known_tcp_ports = lmtp=24, smtp=25, smtps=submissions=465, submission=587 line_length_limit = 2048 lmdb_map_size = 16777216 lmtp_address_preference = any lmtp_address_verify_target = rcpt lmtp_assume_final = no lmtp_balance_inet_protocols = yes lmtp_bind_address = lmtp_bind_address6 = lmtp_bind_address_enforce = no lmtp_body_checks = lmtp_cname_overrides_servername = no lmtp_connect_timeout = 0s lmtp_connection_cache_destinations = lmtp_connection_cache_on_demand = yes lmtp_connection_cache_time_limit = 2s lmtp_connection_reuse_count_limit = 0 lmtp_connection_reuse_time_limit = 300s lmtp_data_done_timeout = 600s lmtp_data_init_timeout = 120s lmtp_data_xfer_timeout = 180s lmtp_defer_if_no_mx_address_found = no lmtp_delivery_slot_cost = $default_delivery_slot_cost lmtp_delivery_slot_discount = $default_delivery_slot_discount lmtp_delivery_slot_loan = $default_delivery_slot_loan lmtp_delivery_status_filter = $default_delivery_status_filter lmtp_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit lmtp_destination_concurrency_limit = $default_destination_concurrency_limit lmtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback lmtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback lmtp_destination_rate_delay = $default_destination_rate_delay lmtp_destination_recipient_limit = $default_destination_recipient_limit lmtp_discard_lhlo_keyword_address_maps = lmtp_discard_lhlo_keywords = lmtp_dns_reply_filter = lmtp_dns_resolver_options = lmtp_dns_support_level = lmtp_enforce_tls = no lmtp_extra_recipient_limit = $default_extra_recipient_limit lmtp_fallback_relay = lmtp_generic_maps = lmtp_header_checks = lmtp_host_lookup = dns lmtp_initial_destination_concurrency = $initial_destination_concurrency lmtp_lhlo_name = $myhostname lmtp_lhlo_timeout = 300s lmtp_line_length_limit = 998 lmtp_mail_timeout = 300s lmtp_mime_header_checks = lmtp_min_data_rate = 500 lmtp_minimum_delivery_slots = $default_minimum_delivery_slots lmtp_mx_address_limit = 5 lmtp_mx_session_limit = 2 lmtp_nested_header_checks = lmtp_per_request_deadline = ${lmtp_per_record_deadline?{$lmtp_per_record_deadline}:{no}} lmtp_pix_workaround_delay_time = 10s lmtp_pix_workaround_maps = lmtp_pix_workaround_threshold_time = 500s lmtp_pix_workarounds = disable_esmtp,delay_dotcrlf lmtp_quit_timeout = 300s lmtp_quote_rfc821_envelope = yes lmtp_randomize_addresses = yes lmtp_rcpt_timeout = 300s lmtp_recipient_limit = $default_recipient_limit lmtp_recipient_refill_delay = $default_recipient_refill_delay lmtp_recipient_refill_limit = $default_recipient_refill_limit lmtp_reply_filter = lmtp_rset_timeout = 20s lmtp_sasl_auth_cache_name = lmtp_sasl_auth_cache_time = 90d lmtp_sasl_auth_enable = no lmtp_sasl_auth_soft_bounce = yes lmtp_sasl_mechanism_filter = lmtp_sasl_password_maps = lmtp_sasl_path = lmtp_sasl_security_options = noplaintext, noanonymous lmtp_sasl_tls_security_options = $lmtp_sasl_security_options lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options lmtp_sasl_type = cyrus lmtp_send_dummy_mail_auth = no lmtp_send_xforward_command = no lmtp_sender_dependent_authentication = no lmtp_skip_5xx_greeting = yes lmtp_skip_quit_response = no lmtp_starttls_timeout = 300s lmtp_tcp_port = 24 lmtp_tls_CAfile = lmtp_tls_CApath = lmtp_tls_block_early_mail_reply = no lmtp_tls_cert_file = lmtp_tls_chain_files = lmtp_tls_ciphers = medium lmtp_tls_connection_reuse = no lmtp_tls_dcert_file = lmtp_tls_dkey_file = $lmtp_tls_dcert_file lmtp_tls_eccert_file = lmtp_tls_eckey_file = $lmtp_tls_eccert_file lmtp_tls_enforce_peername = yes lmtp_tls_exclude_ciphers = lmtp_tls_fingerprint_cert_match = lmtp_tls_fingerprint_digest = ${{$compatibility_level} =TLSv1 lmtp_tls_note_starttls_offer = no lmtp_tls_per_site = lmtp_tls_policy_maps = lmtp_tls_protocols = >=TLSv1 lmtp_tls_scert_verifydepth = 9 lmtp_tls_secure_cert_match = nexthop lmtp_tls_security_level = lmtp_tls_servername = lmtp_tls_session_cache_database = lmtp_tls_session_cache_timeout = 3600s lmtp_tls_trust_anchor_file = lmtp_tls_verify_cert_match = hostname lmtp_tls_wrappermode = no lmtp_transport_rate_delay = $default_transport_rate_delay lmtp_use_tls = no lmtp_xforward_timeout = 300s local_command_shell = local_delivery_slot_cost = $default_delivery_slot_cost local_delivery_slot_discount = $default_delivery_slot_discount local_delivery_slot_loan = $default_delivery_slot_loan local_delivery_status_filter = $default_delivery_status_filter local_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit local_destination_concurrency_limit = 2 local_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback local_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback local_destination_rate_delay = $default_destination_rate_delay local_destination_recipient_limit = 1 local_extra_recipient_limit = $default_extra_recipient_limit local_header_rewrite_clients = permit_inet_interfaces local_initial_destination_concurrency = $initial_destination_concurrency local_login_sender_maps = static:* local_minimum_delivery_slots = $default_minimum_delivery_slots local_recipient_limit = $default_recipient_limit local_recipient_maps = proxy:unix:passwd.byname $alias_maps local_recipient_refill_delay = $default_recipient_refill_delay local_recipient_refill_limit = $default_recipient_refill_limit local_transport = local:$myhostname local_transport_rate_delay = $default_transport_rate_delay luser_relay = mail_name = Postfix mail_owner = postfix mail_release_date = 20240121 mail_spool_directory = /var/mail mail_version = 3.8.5 mailbox_command = mailbox_command_maps = mailbox_delivery_lock = fcntl, dotlock mailbox_size_limit = 51200000 mailbox_transport = mailbox_transport_maps = maillog_file = maillog_file_compressor = gzip maillog_file_prefixes = /var, /dev/stdout maillog_file_rotate_suffix = %Y%m%d-%H%M%S mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maps_rbl_domains = maps_rbl_reject_code = 554 masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = master_service_disable = max_idle = 100s max_use = 100 maximal_backoff_time = 4000s maximal_queue_lifetime = 5d message_drop_headers = bcc, content-length, resent-bcc, return-path message_reject_characters = message_size_limit = 10240000 message_strip_characters = meta_directory = /etc/postfix milter_command_timeout = 30s milter_connect_macros = j {daemon_name} {daemon_addr} v _ milter_connect_timeout = 30s milter_content_timeout = 300s milter_data_macros = i milter_default_action = tempfail milter_end_of_data_macros = i milter_end_of_header_macros = i milter_header_checks = milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer} milter_macro_daemon_name = $myhostname milter_macro_defaults = milter_macro_v = $mail_name $mail_version milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr} {mail_host} {mail_mailer} milter_protocol = 6 milter_rcpt_macros = i {rcpt_addr} {rcpt_host} {rcpt_mailer} milter_unknown_command_macros = mime_boundary_length_limit = 2048 mime_header_checks = $header_checks mime_nesting_limit = 100 minimal_backoff_time = 300s multi_instance_directories = multi_instance_enable = no multi_instance_group = multi_instance_name = multi_instance_wrapper = multi_recipient_bounce_reject_code = 550 mydestination = $myhostname, localhost.$mydomain, localhost mydomain = localdomain myhostname = managed-node1.localdomain mynetworks = 127.0.0.1/32 [::1]/128 mynetworks_style = ${{$compatibility_level} =TLSv1 smtp_tls_note_starttls_offer = no smtp_tls_per_site = smtp_tls_policy_maps = smtp_tls_protocols = >=TLSv1 smtp_tls_scert_verifydepth = 9 smtp_tls_secure_cert_match = nexthop, dot-nexthop smtp_tls_security_level = may smtp_tls_servername = smtp_tls_session_cache_database = smtp_tls_session_cache_timeout = 3600s smtp_tls_trust_anchor_file = smtp_tls_verify_cert_match = hostname smtp_tls_wrappermode = no smtp_transport_rate_delay = $default_transport_rate_delay smtp_use_tls = no smtp_xforward_timeout = 300s smtpd_authorized_verp_clients = $authorized_verp_clients smtpd_authorized_xclient_hosts = smtpd_authorized_xforward_hosts = smtpd_banner = $myhostname ESMTP $mail_name smtpd_client_auth_rate_limit = 0 smtpd_client_connection_count_limit = 50 smtpd_client_connection_rate_limit = 0 smtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks} smtpd_client_ipv4_prefix_length = 32 smtpd_client_ipv6_prefix_length = 84 smtpd_client_message_rate_limit = 0 smtpd_client_new_tls_session_rate_limit = 0 smtpd_client_port_logging = no smtpd_client_recipient_rate_limit = 0 smtpd_client_restrictions = smtpd_command_filter = smtpd_data_restrictions = smtpd_delay_open_until_valid_rcpt = yes smtpd_delay_reject = yes smtpd_discard_ehlo_keyword_address_maps = smtpd_discard_ehlo_keywords = smtpd_dns_reply_filter = smtpd_end_of_data_restrictions = smtpd_enforce_tls = no smtpd_error_sleep_time = 1s smtpd_etrn_restrictions = smtpd_expansion_filter = \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ smtpd_forbid_bare_newline = no smtpd_forbid_bare_newline_exclusions = $mynetworks smtpd_forbid_bare_newline_reject_code = 550 smtpd_forbid_unauth_pipelining = no smtpd_forbidden_commands = CONNECT GET POST regexp:{{/^[^A-Z]/ Bogus}} smtpd_hard_error_limit = ${stress?{1}:{20}} smtpd_helo_required = no smtpd_helo_restrictions = smtpd_history_flush_threshold = 100 smtpd_junk_command_limit = ${stress?{1}:{100}} smtpd_log_access_permit_actions = smtpd_milter_maps = smtpd_milters = smtpd_min_data_rate = 500 smtpd_noop_commands = smtpd_null_access_lookup_key = <> smtpd_peername_lookup = yes smtpd_per_request_deadline = ${smtpd_per_record_deadline?{$smtpd_per_record_deadline}:{${stress?{yes}:{no}}}} smtpd_policy_service_default_action = 451 4.3.5 Server configuration problem smtpd_policy_service_max_idle = 300s smtpd_policy_service_max_ttl = 1000s smtpd_policy_service_policy_context = smtpd_policy_service_request_limit = 0 smtpd_policy_service_retry_delay = 1s smtpd_policy_service_timeout = 100s smtpd_policy_service_try_limit = 2 smtpd_proxy_ehlo = $myhostname smtpd_proxy_filter = smtpd_proxy_options = smtpd_proxy_timeout = 100s smtpd_recipient_limit = 1000 smtpd_recipient_overshoot_limit = 1000 smtpd_recipient_restrictions = smtpd_reject_footer = smtpd_reject_footer_maps = smtpd_reject_unlisted_recipient = yes smtpd_reject_unlisted_sender = no smtpd_relay_before_recipient_restrictions = ${{$compatibility_level} =TLSv1 smtpd_tls_protocols = >=TLSv1 smtpd_tls_received_header = no smtpd_tls_req_ccert = no smtpd_tls_security_level = may smtpd_tls_session_cache_database = smtpd_tls_session_cache_timeout = 3600s smtpd_tls_wrappermode = no smtpd_upstream_proxy_protocol = smtpd_upstream_proxy_timeout = 5s smtpd_use_tls = no smtputf8_autodetect_classes = sendmail, verify smtputf8_enable = ${{$compatibility_level} { "ansible_facts": { "__postfix_has_config_changed": "True itemstr relay_domains = hash:/etc/postfix/relay_domains is not in __postfix_register_config\n" }, "changed": false } TASK [fedora.linux_system_roles.postfix : Configure additional files] ********** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:105 Monday 02 December 2024 18:38:48 -0500 (0:00:00.059) 0:00:06.039 ******* 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/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:121 Monday 02 December 2024 18:38:49 -0500 (0:00:00.989) 0:00:07.029 ******* 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 } 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 : Gather facts for ansible_date_time] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:135 Monday 02 December 2024 18:38:50 -0500 (0:00:00.444) 0:00:07.474 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:141 Monday 02 December 2024 18:38:51 -0500 (0:00:00.943) 0:00:08.418 ******* changed: [managed-node1] => { "changed": true, "checksum": "1b619865e70047dd4987d6f4361438a356b11d0e", "dest": "/etc/postfix/main.cf.2024-12-02T23:38:50Z", "gid": 0, "group": "root", "md5sum": "a237532fbdccf3881de08c4ca5b57e52", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:postfix_etc_t:s0", "size": 29709, "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-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:149 Monday 02 December 2024 18:38:51 -0500 (0:00:00.466) 0:00:08.884 ******* ok: [managed-node1] => { "backup": "", "changed": false, "found": 0 } TASK [fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:157 Monday 02 December 2024 18:38:52 -0500 (0:00:00.553) 0:00:09.437 ******* ok: [managed-node1] => { "backup": "", "changed": false, "found": 0 } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:163 Monday 02 December 2024 18:38:52 -0500 (0:00:00.460) 0:00:09.898 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:171 Monday 02 December 2024 18:38:53 -0500 (0:00:00.662) 0:00:10.560 ******* changed: [managed-node1] => (item={'key': 'relay_domains', 'value': 'hash:/etc/postfix/relay_domains'}) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "postconf", "-e", "relay_domains=hash:/etc/postfix/relay_domains" ], "delta": "0:00:00.011915", "end": "2024-12-02 18:38:53.642984", "item": { "key": "relay_domains", "value": "hash:/etc/postfix/relay_domains" }, "rc": 0, "start": "2024-12-02 18:38:53.631069" } Notification for handler Check postfix has been saved. Notification for handler Restart postfix has been saved. TASK [Check if postmap file exists] ******************************************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:20 Monday 02 December 2024 18:38:53 -0500 (0:00:00.455) 0:00:11.016 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733182730.104841, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "binary", "checksum": "42624727d90adfccfb1d9325ec6843fe71269879", "ctime": 1733182730.104841, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 281936, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/octet-stream", "mode": "0640", "mtime": 1733182730.101841, "nlink": 1, "path": "/etc/postfix/test.db", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 12288, "uid": 0, "version": "1124529746", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file is present] ************************************************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:26 Monday 02 December 2024 18:38:54 -0500 (0:00:00.431) 0:00:11.448 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get relay_domains] ******************************************************* task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:30 Monday 02 December 2024 18:38:54 -0500 (0:00:00.020) 0:00:11.469 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postconf", "-h", "relay_domains" ], "delta": "0:00:00.910902", "end": "2024-12-02 18:38:55.424737", "rc": 0, "start": "2024-12-02 18:38:54.513835" } STDOUT: hash:/etc/postfix/relay_domains TASK [Check relay_domains] ***************************************************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:35 Monday 02 December 2024 18:38:55 -0500 (0:00:01.327) 0:00:12.796 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clean up test files] ***************************************************** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:39 Monday 02 December 2024 18:38:55 -0500 (0:00:00.050) 0:00:12.847 ******* changed: [managed-node1] => { "changed": true, "path": "/etc/postfix/test.db", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.postfix : Check postfix for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.postfix : Restart postfix for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.postfix : Check postfix] ************ task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:2 Monday 02 December 2024 18:38:56 -0500 (0:00:00.599) 0:00:13.446 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postfix", "check" ], "delta": "0:00:00.263183", "end": "2024-12-02 18:38:56.760617", "rc": 0, "start": "2024-12-02 18:38:56.497434" } RUNNING HANDLER [fedora.linux_system_roles.postfix : Restart postfix] ********** task path: /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:7 Monday 02 December 2024 18:38:56 -0500 (0:00:00.679) 0:00:14.125 ******* changed: [managed-node1] => { "changed": true, "name": "postfix", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-12-02 18:38:40 EST", "ActiveEnterTimestampMonotonic": "326675141", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice -.mount network.target syslog.target tmp.mount systemd-journald.socket basic.target systemd-tmpfiles-setup.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-12-02 18:38:39 EST", "AssertTimestampMonotonic": "326298305", "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": "367768000", "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": "Mon 2024-12-02 18:38:39 EST", "ConditionTimestampMonotonic": "326298302", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target sendmail.service exim.service", "ControlGroup": "/system.slice/postfix.service", "ControlGroupId": "5874", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8978", "ExecMainStartTimestamp": "Mon 2024-12-02 18:38:40 EST", "ExecMainStartTimestampMonotonic": "326675048", "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=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:40 EST] ; pid=8911 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; flags= ; start_time=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:40 EST] ; pid=8911 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:39 EST] ; pid=8909 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; flags=ignore-failure ; start_time=[Mon 2024-12-02 18:38:39 EST] ; stop_time=[Mon 2024-12-02 18:38:39 EST] ; pid=8909 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-12-02 18:38:39 EST", "InactiveExitTimestampMonotonic": "326309262", "InvocationID": "81ee11b70bab4ff88f729080154a7ed6", "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": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3483443200", "MemoryCurrent": "4280320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "4583424", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "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": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/tmp", "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": "Mon 2024-12-02 18:38:40 EST", "StateChangeTimestampMonotonic": "326675141", "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": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "tmp.mount", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* managed-node1 : ok=29 changed=7 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Monday 02 December 2024 18:38:57 -0500 (0:00:01.038) 0:00:15.163 ******* =============================================================================== fedora.linux_system_roles.postfix : Install Postfix --------------------- 1.67s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Get relay_domains ------------------------------------------------------- 1.33s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:30 Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:2 fedora.linux_system_roles.postfix : Restart postfix --------------------- 1.04s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:7 fedora.linux_system_roles.postfix : Configure additional files ---------- 0.99s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:105 fedora.linux_system_roles.postfix : Gather facts for ansible_date_time --- 0.94s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:135 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 0.83s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:75 fedora.linux_system_roles.postfix : Check postfix ----------------------- 0.68s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:2 fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file --- 0.66s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:163 Clean up test files ----------------------------------------------------- 0.60s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:39 fedora.linux_system_roles.postfix : Ensure Last modified header is absent --- 0.55s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:149 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.53s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 fedora.linux_system_roles.postfix : Get default database type from postconf --- 0.51s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 fedora.linux_system_roles.postfix : Backup configuration ---------------- 0.47s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:141 fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent --- 0.46s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:157 fedora.linux_system_roles.postfix : Get current config ------------------ 0.46s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:81 fedora.linux_system_roles.postfix : Configure Postfix ------------------- 0.46s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:171 fedora.linux_system_roles.postfix : Postmap files ----------------------- 0.44s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:121 Check if postmap file exists -------------------------------------------- 0.43s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:20 Run the role with test postmap file ------------------------------------- 0.07s /tmp/collections-7VQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_set_file.yml:15