ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:1 Tuesday 27 August 2024 09:54:23 -0400 (0:00:00.024) 0:00:00.024 ******** ok: [managed_node2] META: ran handlers TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Tuesday 27 August 2024 09:54:24 -0400 (0:00:01.096) 0:00:01.121 ******** ok: [managed_node2] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing postfix are up to date", "" ] } TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:5 Tuesday 27 August 2024 09:54:31 -0400 (0:00:06.498) 0:00:07.620 ******** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-27 09:51:16 EDT", "ActiveEnterTimestampMonotonic": "13228458", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-27 09:51:16 EDT", "AssertTimestampMonotonic": "12397797", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-27 09:51:16 EDT", "ConditionTimestampMonotonic": "12397795", "Conflicts": "sendmail.service exim.service shutdown.target", "ControlGroup": "/system.slice/postfix.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1144", "ExecMainStartTimestamp": "Tue 2024-08-27 09:51:16 EDT", "ExecMainStartTimestampMonotonic": "13228278", "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=[Tue 2024-08-27 09:51:16 EDT] ; stop_time=[Tue 2024-08-27 09:51:16 EDT] ; pid=866 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Tue 2024-08-27 09:51:16 EDT] ; stop_time=[Tue 2024-08-27 09:51:16 EDT] ; pid=860 ; 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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postfix.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-27 09:51:16 EDT", "InactiveExitTimestampMonotonic": "12398618", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1144", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "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", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-27 09:51:16 EDT", "WatchdogTimestampMonotonic": "13228331", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:8 Tuesday 27 August 2024 09:54:31 -0400 (0:00:00.598) 0:00:08.219 ******** changed: [managed_node2] => { "changed": true, "cmd": "cp /etc/postfix/main.cf /etc/postfix/main.cf.`date -Iseconds`", "delta": "0:00:01.006605", "end": "2024-08-27 09:54:33.215758", "rc": 0, "start": "2024-08-27 09:54:32.209153" } TASK [fedora.linux_system_roles.postfix : Add header 1 to configuration file] *** task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:12 Tuesday 27 August 2024 09:54:33 -0400 (0:00:01.435) 0:00:09.655 ******** changed: [managed_node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postfix : Add header 2 to configuration file] *** task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:20 Tuesday 27 August 2024 09:54:33 -0400 (0:00:00.407) 0:00:10.063 ******** changed: [managed_node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:28 Tuesday 27 August 2024 09:54:33 -0400 (0:00:00.255) 0:00:10.318 ******** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=6 changed=3 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Tuesday 27 August 2024 09:54:33 -0400 (0:00:00.032) 0:00:10.351 ******** =============================================================================== fedora.linux_system_roles.postfix : Install Postfix --------------------- 6.50s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 fedora.linux_system_roles.postfix : Backup configuration ---------------- 1.44s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:8 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:1 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 0.60s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:5 fedora.linux_system_roles.postfix : Add header 1 to configuration file --- 0.41s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:12 fedora.linux_system_roles.postfix : Add header 2 to configuration file --- 0.26s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:20 fedora.linux_system_roles.postfix : Configure Postfix ------------------- 0.03s /tmp/collections-IDa/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:28