2024-08-27 09:54:53,470 p=8058 u=root n=ansible | ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] 2024-08-27 09:54:53,470 p=8058 u=root n=ansible | No config file found; using defaults 2024-08-27 09:54:53,471 p=8058 u=root n=ansible | [WARNING]: running playbook inside collection fedora.linux_system_roles 2024-08-27 09:54:53,651 p=8058 u=root n=ansible | Skipping callback 'actionable', as we already have a stdout callback. 2024-08-27 09:54:53,651 p=8058 u=root n=ansible | Skipping callback 'counter_enabled', as we already have a stdout callback. 2024-08-27 09:54:53,651 p=8058 u=root n=ansible | Skipping callback 'debug', as we already have a stdout callback. 2024-08-27 09:54:53,652 p=8058 u=root n=ansible | Skipping callback 'dense', as we already have a stdout callback. 2024-08-27 09:54:53,652 p=8058 u=root n=ansible | Skipping callback 'dense', as we already have a stdout callback. 2024-08-27 09:54:53,652 p=8058 u=root n=ansible | Skipping callback 'full_skip', as we already have a stdout callback. 2024-08-27 09:54:53,652 p=8058 u=root n=ansible | Skipping callback 'json', as we already have a stdout callback. 2024-08-27 09:54:53,652 p=8058 u=root n=ansible | Skipping callback 'minimal', as we already have a stdout callback. 2024-08-27 09:54:53,652 p=8058 u=root n=ansible | Skipping callback 'null', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | Skipping callback 'oneline', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | Skipping callback 'selective', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | Skipping callback 'skippy', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | Skipping callback 'stderr', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | Skipping callback 'unixy', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | Skipping callback 'yaml', as we already have a stdout callback. 2024-08-27 09:54:53,653 p=8058 u=root n=ansible | PLAYBOOK: tests_default.yml **************************************************** 2024-08-27 09:54:53,654 p=8058 u=root n=ansible | 1 plays in /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml 2024-08-27 09:54:53,656 p=8058 u=root n=ansible | PLAY [Ensure that the rule runs with default parameters] *********************** 2024-08-27 09:54:53,664 p=8058 u=root n=ansible | TASK [Gathering Facts] ********************************************************* 2024-08-27 09:54:53,664 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:54:53 -0400 (0:00:00.022) 0:00:00.022 ******** 2024-08-27 09:54:54,952 p=8058 u=root n=ansible | ok: [managed_node1] 2024-08-27 09:54:54,954 p=8058 u=root n=ansible | META: ran handlers 2024-08-27 09:54:54,958 p=8058 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* 2024-08-27 09:54:54,959 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:54:54 -0400 (0:00:01.294) 0:00:01.316 ******** 2024-08-27 09:55:17,399 p=8058 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:55:17,403 p=8058 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** 2024-08-27 09:55:17,404 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:55:17 -0400 (0:00:22.444) 0:00:23.761 ******** 2024-08-27 09:55:18,802 p=8058 u=root n=ansible | changed: [managed_node1] => { "changed": true, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket basic.target tmp.mount network.target system.slice -.mount systemd-tmpfiles-setup.service syslog.target", "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 sysinit.target system.slice", "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:55:18,807 p=8058 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** 2024-08-27 09:55:18,808 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:55:18 -0400 (0:00:01.403) 0:00:25.165 ******** 2024-08-27 09:55:19,250 p=8058 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.005480", "end": "2024-08-27 09:55:19.206849", "rc": 0, "start": "2024-08-27 09:55:19.201369" } 2024-08-27 09:55:19,255 p=8058 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Add header 1 to configuration file] *** 2024-08-27 09:55:19,255 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:55:19 -0400 (0:00:00.447) 0:00:25.613 ******** 2024-08-27 09:55:19,709 p=8058 u=root n=ansible | changed: [managed_node1] => { "backup": "", "changed": true } MSG: line added 2024-08-27 09:55:19,713 p=8058 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Add header 2 to configuration file] *** 2024-08-27 09:55:19,713 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:55:19 -0400 (0:00:00.458) 0:00:26.071 ******** 2024-08-27 09:55:20,042 p=8058 u=root n=ansible | changed: [managed_node1] => { "backup": "", "changed": true } MSG: line added 2024-08-27 09:55:20,047 p=8058 u=root n=ansible | TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* 2024-08-27 09:55:20,047 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:55:20 -0400 (0:00:00.334) 0:00:26.405 ******** 2024-08-27 09:55:20,075 p=8058 u=root n=ansible | META: ran handlers 2024-08-27 09:55:20,076 p=8058 u=root n=ansible | META: ran handlers 2024-08-27 09:55:20,077 p=8058 u=root n=ansible | PLAY RECAP ********************************************************************* 2024-08-27 09:55:20,077 p=8058 u=root n=ansible | managed_node1 : ok=6 changed=5 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 2024-08-27 09:55:20,077 p=8058 u=root n=ansible | Tuesday 27 August 2024 09:55:20 -0400 (0:00:00.029) 0:00:26.435 ******** 2024-08-27 09:55:20,077 p=8058 u=root n=ansible | =============================================================================== 2024-08-27 09:55:20,077 p=8058 u=root n=ansible | fedora.linux_system_roles.postfix : Install Postfix -------------------- 22.44s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 2024-08-27 09:55:20,078 p=8058 u=root n=ansible | fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 1.40s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:5 2024-08-27 09:55:20,078 p=8058 u=root n=ansible | Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:1 2024-08-27 09:55:20,078 p=8058 u=root n=ansible | fedora.linux_system_roles.postfix : Add header 1 to configuration file --- 0.46s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:12 2024-08-27 09:55:20,078 p=8058 u=root n=ansible | fedora.linux_system_roles.postfix : Backup configuration ---------------- 0.45s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:8 2024-08-27 09:55:20,078 p=8058 u=root n=ansible | fedora.linux_system_roles.postfix : Add header 2 to configuration file --- 0.33s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:20 2024-08-27 09:55:20,078 p=8058 u=root n=ansible | fedora.linux_system_roles.postfix : Configure Postfix ------------------- 0.03s /tmp/collections-urf/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:28