ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpqw72rkqg executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 07 July 2022 19:31:44 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 07 July 2022 19:31:45 +0000 (0:00:01.380) 0:00:01.398 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.38s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpc9zw0dpq/tests/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.postfix : Ensure ansible_facts required by role] ****** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 Thursday 07 July 2022 19:31:45 +0000 (0:00:00.025) 0:00:01.424 ********* included: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Thursday 07 July 2022 19:31:45 +0000 (0:00:00.020) 0:00:01.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Get status of the ['postfix'] package] ****** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:15 Thursday 07 July 2022 19:31:45 +0000 (0:00:00.023) 0:00:01.469 ********* skipping: [/cache/rhel-8.qcow2] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Remove the ['postfix'] package to reset original confs] *** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:24 Thursday 07 July 2022 19:31:45 +0000 (0:00:00.024) 0:00:01.493 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Install Postfix] **************************** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:34 Thursday 07 July 2022 19:31:45 +0000 (0:00:00.020) 0:00:01.513 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: postfix-2:3.5.8-4.el8.x86_64" ] } TASK [linux-system-roles.postfix : Enable Postfix] ***************************** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:39 Thursday 07 July 2022 19:31:57 +0000 (0:00:11.769) 0:00:13.282 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target syslog.target systemd-tmpfiles-setup.service basic.target system.slice -.mount tmp.mount sysinit.target systemd-journald.socket", "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": "shutdown.target exim.service sendmail.service", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "system.slice sysinit.target -.mount", "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": "11153", "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" } } TASK [linux-system-roles.postfix : Get current config] ************************* task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:45 Thursday 07 July 2022 19:31:59 +0000 (0:00:01.778) 0:00:15.060 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Check given config against current config] *** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:52 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.033) 0:00:15.093 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Backup configuration] *********************** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:74 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.031) 0:00:15.125 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure Last modified header is absent] ****** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:82 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.031) 0:00:15.157 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:90 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.031) 0:00:15.189 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:96 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.031) 0:00:15.221 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Configure Postfix] ************************** task path: /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:105 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.032) 0:00:15.253 ********* META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=3 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Thursday 07 July 2022 19:31:59 +0000 (0:00:00.028) 0:00:15.282 ********* =============================================================================== linux-system-roles.postfix : Install Postfix --------------------------- 11.77s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:34 ----- linux-system-roles.postfix : Enable Postfix ----------------------------- 1.78s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:39 ----- set up internal repositories -------------------------------------------- 1.38s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.postfix : Get current config ------------------------- 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:45 ----- linux-system-roles.postfix : Ensure ansible_managed header in configuration file --- 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:96 ----- linux-system-roles.postfix : Backup configuration ----------------------- 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:74 ----- linux-system-roles.postfix : Check given config against current config --- 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:52 ----- linux-system-roles.postfix : Ensure Last modified header is absent ------ 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:82 ----- linux-system-roles.postfix : Ensure the outdated ansible managed header is absent --- 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:90 ----- linux-system-roles.postfix : Configure Postfix -------------------------- 0.03s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:105 ---- linux-system-roles.postfix : Get status of the ['postfix'] package ------ 0.02s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:15 ----- linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.02s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 - linux-system-roles.postfix : Ensure ansible_facts required by role ------ 0.02s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 ------ linux-system-roles.postfix : Remove the ['postfix'] package to reset original confs --- 0.02s /tmp/tmpc9zw0dpq/tests/roles/linux-system-roles.postfix/tasks/main.yml:24 ----- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpqw72rkqg executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 07 July 2022 19:32:53 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 07 July 2022 19:32:55 +0000 (0:00:01.349) 0:00:01.367 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.35s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpki1boc9q/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Thursday 07 July 2022 19:32:55 +0000 (0:00:00.051) 0:00:01.418 ********* included: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Thursday 07 July 2022 19:32:55 +0000 (0:00:00.023) 0:00:01.441 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of the ['postfix'] package] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:15 Thursday 07 July 2022 19:32:55 +0000 (0:00:00.024) 0:00:01.466 ********* skipping: [/cache/rhel-8.qcow2] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Remove the ['postfix'] package to reset original confs] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:24 Thursday 07 July 2022 19:32:55 +0000 (0:00:00.025) 0:00:01.492 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:31 Thursday 07 July 2022 19:32:55 +0000 (0:00:00.022) 0:00:01.514 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: postfix-2:3.5.8-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:36 Thursday 07 July 2022 19:33:06 +0000 (0:00:11.445) 0:00:12.960 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount network.target syslog.target systemd-journald.socket systemd-tmpfiles-setup.service basic.target sysinit.target tmp.mount 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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "11153", "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" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:42 Thursday 07 July 2022 19:33:08 +0000 (0:00:01.773) 0:00:14.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check given config against current config] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:48 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.030) 0:00:14.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:69 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.029) 0:00:14.793 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure Last modified header is absent] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:77 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.029) 0:00:14.823 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:85 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.032) 0:00:14.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:91 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.031) 0:00:14.887 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:99 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.029) 0:00:14.917 ********* META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=3 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Thursday 07 July 2022 19:33:08 +0000 (0:00:00.027) 0:00:14.945 ********* =============================================================================== fedora.linux_system_roles.postfix : Install Postfix -------------------- 11.45s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:31 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 1.77s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:36 set up internal repositories -------------------------------------------- 1.35s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.postfix : Ensure Last modified header is absent --- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:77 fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent --- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:85 fedora.linux_system_roles.postfix : Get current config ------------------ 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:42 fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file --- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:91 fedora.linux_system_roles.postfix : Backup configuration ---------------- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:69 fedora.linux_system_roles.postfix : Check given config against current config --- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:48 fedora.linux_system_roles.postfix : Configure Postfix ------------------- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:99 fedora.linux_system_roles.postfix : Get status of the ['postfix'] package --- 0.03s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:15 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.02s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.02s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 fedora.linux_system_roles.postfix : Remove the ['postfix'] package to reset original confs --- 0.02s /tmp/tmpqw72rkqg/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:24