2024-08-27 09:54:34,636 p=8156 u=root n=ansible | ansible-playbook [core 2.16.10] 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-mCS executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True 2024-08-27 09:54:34,636 p=8156 u=root n=ansible | No config file found; using defaults 2024-08-27 09:54:34,636 p=8156 u=root n=ansible | [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. 2024-08-27 09:54:34,771 p=8156 u=root n=ansible | running playbook inside collection fedora.linux_system_roles 2024-08-27 09:54:34,804 p=8156 u=root n=ansible | redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug 2024-08-27 09:54:34,805 p=8156 u=root n=ansible | redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug 2024-08-27 09:54:34,818 p=8156 u=root n=ansible | redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 2024-08-27 09:54:34,820 p=8156 u=root n=ansible | Skipping callback 'default', as we already have a stdout callback. 2024-08-27 09:54:34,820 p=8156 u=root n=ansible | Skipping callback 'minimal', as we already have a stdout callback. 2024-08-27 09:54:34,820 p=8156 u=root n=ansible | Skipping callback 'oneline', as we already have a stdout callback. 2024-08-27 09:54:34,820 p=8156 u=root n=ansible | PLAYBOOK: tests_default.yml **************************************************** 2024-08-27 09:54:34,820 p=8156 u=root n=ansible | 1 plays in /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml 2024-08-27 09:54:34,821 p=8156 u=root n=ansible | PLAY [Ensure that the rule runs with default parameters] *********************** 2024-08-27 09:54:34,828 p=8156 u=root n=ansible | TASK [Gathering Facts] ********************************************************* 2024-08-27 09:54:34,828 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:34 -0400 (0:00:00.008) 0:00:00.008 ******** 2024-08-27 09:54:37,112 p=8156 u=root n=ansible | ok: [managed_node1] 2024-08-27 09:54:37,137 p=8156 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* 2024-08-27 09:54:37,137 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:37 -0400 (0:00:02.308) 0:00:02.317 ******** 2024-08-27 09:54:48,077 p=8156 u=root n=ansible | changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: postfix-2:3.5.8-7.el8.x86_64" ] } 2024-08-27 09:54:48,082 p=8156 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** 2024-08-27 09:54:48,082 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:48 -0400 (0:00:10.945) 0:00:13.262 ******** 2024-08-27 09:54:49,330 p=8156 u=root n=ansible | changed: [managed_node1] => { "changed": true, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-tmpfiles-setup.service tmp.mount -.mount sysinit.target syslog.target network.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "exim.service sendmail.service shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "closed", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/spool/postfix/pid/master.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } 2024-08-27 09:54:49,335 p=8156 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** 2024-08-27 09:54:49,335 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:49 -0400 (0:00:01.253) 0:00:14.515 ******** 2024-08-27 09:54:49,757 p=8156 u=root n=ansible | changed: [managed_node1] => { "changed": true, "cmd": "cp /etc/postfix/main.cf /etc/postfix/main.cf.`date -Iseconds`", "delta": "0:00:00.005848", "end": "2024-08-27 09:54:49.717258", "rc": 0, "start": "2024-08-27 09:54:49.711410" } 2024-08-27 09:54:49,762 p=8156 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Add header 1 to configuration file] *** 2024-08-27 09:54:49,762 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:49 -0400 (0:00:00.426) 0:00:14.942 ******** 2024-08-27 09:54:50,167 p=8156 u=root n=ansible | changed: [managed_node1] => { "backup": "", "changed": true } MSG: line added 2024-08-27 09:54:50,171 p=8156 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Add header 2 to configuration file] *** 2024-08-27 09:54:50,171 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:50 -0400 (0:00:00.409) 0:00:15.352 ******** 2024-08-27 09:54:50,490 p=8156 u=root n=ansible | changed: [managed_node1] => { "backup": "", "changed": true } MSG: line added 2024-08-27 09:54:50,494 p=8156 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* 2024-08-27 09:54:50,494 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:50 -0400 (0:00:00.322) 0:00:15.674 ******** 2024-08-27 09:54:50,503 p=8156 u=root n=ansible | skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } 2024-08-27 09:54:50,519 p=8156 u=root n=ansible | PLAY RECAP ********************************************************************* 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | managed_node1 : ok=6 changed=5 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | Tuesday 27 August 2024 09:54:50 -0400 (0:00:00.025) 0:00:15.700 ******** 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | =============================================================================== 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | fedora.linux_system_roles.postfix : Install Postfix -------------------- 10.95s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | Gathering Facts --------------------------------------------------------- 2.31s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:1 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 1.25s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:5 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | fedora.linux_system_roles.postfix : Backup configuration ---------------- 0.43s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:8 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | fedora.linux_system_roles.postfix : Add header 1 to configuration file --- 0.41s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:12 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | fedora.linux_system_roles.postfix : Add header 2 to configuration file --- 0.32s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:20 2024-08-27 09:54:50,520 p=8156 u=root n=ansible | fedora.linux_system_roles.postfix : Configure Postfix ------------------- 0.03s /tmp/collections-mCS/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:28