Formatting '/cache/centos-7.qcow2c.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 backing_file=/cache/centos-7.qcow2c backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 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/tmp0lkk5xx3 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: centos-7_setup.yml *************************************************** 1 plays in /cache/centos-7_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-7_setup.yml:1 Thursday 07 July 2022 19:25:13 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Create EPEL 7 repo] ****************************************************** task path: /cache/centos-7_setup.yml:5 Thursday 07 July 2022 19:25:14 +0000 (0:00:01.064) 0:00:01.077 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/centos-7_setup.yml:15 Thursday 07 July 2022 19:25:16 +0000 (0:00:02.302) 0:00:03.379 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-7_setup.yml:21 Thursday 07 July 2022 19:26:01 +0000 (0:00:44.924) 0:00:48.304 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-7_setup.yml:27 Thursday 07 July 2022 19:26:01 +0000 (0:00:00.021) 0:00:48.325 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-7_setup.yml:35 Thursday 07 July 2022 19:26:02 +0000 (0:00:00.490) 0:00:48.816 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=4 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Thursday 07 July 2022 19:26:02 +0000 (0:00:00.034) 0:00:48.850 ********* =============================================================================== Create yum cache ------------------------------------------------------- 44.92s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.30s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.06s /cache/centos-7_setup.yml:1 --------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.49s /cache/centos-7_setup.yml:27 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpone9cy9m/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpone9cy9m/tests/setup-snapshot.yml:1 Thursday 07 July 2022 19:26:02 +0000 (0:00:00.012) 0:00:48.862 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Set facts used by role] ************************************************** task path: /tmp/tmpone9cy9m/tests/setup-snapshot.yml:3 Thursday 07 July 2022 19:26:02 +0000 (0:00:00.724) 0:00:49.587 ********* TASK [linux-system-roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Thursday 07 July 2022 19:26:02 +0000 (0:00:00.033) 0:00:49.620 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [Install test packages] *************************************************** task path: /tmp/tmpone9cy9m/tests/setup-snapshot.yml:9 Thursday 07 July 2022 19:26:02 +0000 (0:00:00.032) 0:00:49.653 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "2:postfix-2.10.1-9.el7.x86_64 providing postfix is already installed" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=6 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 19:26:03 +0000 (0:00:00.683) 0:00:50.336 ********* =============================================================================== Create yum cache ------------------------------------------------------- 44.92s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.30s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.06s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpone9cy9m/tests/setup-snapshot.yml:1 ----------------------------------- Install test packages --------------------------------------------------- 0.68s /tmp/tmpone9cy9m/tests/setup-snapshot.yml:9 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.49s /cache/centos-7_setup.yml:27 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Set facts used by role -------------------------------------------------- 0.03s /tmp/tmpone9cy9m/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 - Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-7_post_setup.yml ********************************************** 1 plays in /cache/centos-7_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-7_post_setup.yml:5 Thursday 07 July 2022 19:26:03 +0000 (0:00:00.019) 0:00:50.355 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-7_post_setup.yml:8 Thursday 07 July 2022 19:26:03 +0000 (0:00:00.357) 0:00:50.712 ********* changed: [/cache/centos-7.qcow2c.snap] => { "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/centos-7.qcow2c.snap : ok=8 changed=5 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 19:26:04 +0000 (0:00:00.435) 0:00:51.147 ********* =============================================================================== Create yum cache ------------------------------------------------------- 44.92s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.30s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.06s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpone9cy9m/tests/setup-snapshot.yml:1 ----------------------------------- Install test packages --------------------------------------------------- 0.68s /tmp/tmpone9cy9m/tests/setup-snapshot.yml:9 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.49s /cache/centos-7_setup.yml:27 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.44s /cache/centos-7_post_setup.yml:8 ---------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.36s /cache/centos-7_post_setup.yml:5 ---------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Set facts used by role -------------------------------------------------- 0.03s /tmp/tmpone9cy9m/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 - Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- 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/tmp0lkk5xx3 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: tests_default.yml **************************************************** 1 plays in /tmp/tmpone9cy9m/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/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 Thursday 07 July 2022 19:26:50 +0000 (0:00:00.020) 0:00:00.020 ********* included: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Thursday 07 July 2022 19:26:50 +0000 (0:00:00.022) 0:00:00.042 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Get status of the ['postfix'] package] ****** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:15 Thursday 07 July 2022 19:26:50 +0000 (0:00:00.021) 0:00:00.064 ********* skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:24 Thursday 07 July 2022 19:26:50 +0000 (0:00:00.025) 0:00:00.089 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Install Postfix] **************************** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:34 Thursday 07 July 2022 19:26:50 +0000 (0:00:00.020) 0:00:00.109 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "changed": false, "rc": 0, "results": [ "2:postfix-2.10.1-9.el7.x86_64 providing postfix is already installed" ] } TASK [linux-system-roles.postfix : Enable Postfix] ***************************** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:39 Thursday 07 July 2022 19:26:51 +0000 (0:00:01.362) 0:00:01.472 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 19:26:48 UTC", "ActiveEnterTimestampMonotonic": "8968536", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket network.target system.slice syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 19:26:48 UTC", "AssertTimestampMonotonic": "8618732", "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": "Thu 2022-07-07 19:26:48 UTC", "ConditionTimestampMonotonic": "8618731", "Conflicts": "sendmail.service shutdown.target exim.service", "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": "1069", "ExecMainStartTimestamp": "Thu 2022-07-07 19:26:48 UTC", "ExecMainStartTimestampMonotonic": "8968479", "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=[Thu 2022-07-07 19:26:48 UTC] ; stop_time=[Thu 2022-07-07 19:26:48 UTC] ; pid=971 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Thu 2022-07-07 19:26:48 UTC] ; stop_time=[Thu 2022-07-07 19:26:48 UTC] ; pid=968 ; 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": "Thu 2022-07-07 19:26:48 UTC", "InactiveExitTimestampMonotonic": "8619495", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1069", "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": "Thu 2022-07-07 19:26:48 UTC", "WatchdogTimestampMonotonic": "8968504", "WatchdogUSec": "0" } } TASK [linux-system-roles.postfix : Get current config] ************************* task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:45 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.904) 0:00:02.377 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Check given config against current config] *** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:52 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.031) 0:00:02.409 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Backup configuration] *********************** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:74 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.029) 0:00:02.439 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure Last modified header is absent] ****** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:82 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.031) 0:00:02.470 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:90 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.030) 0:00:02.500 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:96 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.031) 0:00:02.532 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Configure Postfix] ************************** task path: /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:105 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.031) 0:00:02.563 ********* META: role_complete for /cache/centos-7.qcow2c.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=0 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Thursday 07 July 2022 19:26:52 +0000 (0:00:00.028) 0:00:02.592 ********* =============================================================================== linux-system-roles.postfix : Install Postfix ---------------------------- 1.36s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:34 ----- linux-system-roles.postfix : Enable Postfix ----------------------------- 0.90s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:39 ----- linux-system-roles.postfix : Ensure the outdated ansible managed header is absent --- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:90 ----- linux-system-roles.postfix : Ensure ansible_managed header in configuration file --- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:96 ----- linux-system-roles.postfix : Get current config ------------------------- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:45 ----- linux-system-roles.postfix : Backup configuration ----------------------- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:74 ----- linux-system-roles.postfix : Ensure Last modified header is absent ------ 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:82 ----- linux-system-roles.postfix : Check given config against current config --- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:52 ----- linux-system-roles.postfix : Configure Postfix -------------------------- 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:105 ---- linux-system-roles.postfix : Get status of the ['postfix'] package ------ 0.03s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:15 ----- linux-system-roles.postfix : Ensure ansible_facts required by role ------ 0.02s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 ------ linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.02s /tmp/tmpone9cy9m/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 - linux-system-roles.postfix : Remove the ['postfix'] package to reset original confs --- 0.02s /tmp/tmpone9cy9m/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/tmp0lkk5xx3 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: tests_default.yml **************************************************** 1 plays in /tmp/tmpeh7pnfis/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/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Thursday 07 July 2022 19:27:38 +0000 (0:00:00.021) 0:00:00.021 ********* included: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Thursday 07 July 2022 19:27:38 +0000 (0:00:00.022) 0:00:00.044 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of the ['postfix'] package] *** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:15 Thursday 07 July 2022 19:27:38 +0000 (0:00:00.026) 0:00:00.071 ********* skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:24 Thursday 07 July 2022 19:27:38 +0000 (0:00:00.024) 0:00:00.096 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:31 Thursday 07 July 2022 19:27:38 +0000 (0:00:00.020) 0:00:00.116 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "changed": false, "rc": 0, "results": [ "2:postfix-2.10.1-9.el7.x86_64 providing postfix is already installed" ] } TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:36 Thursday 07 July 2022 19:27:40 +0000 (0:00:01.341) 0:00:01.458 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 19:27:37 UTC", "ActiveEnterTimestampMonotonic": "7793609", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target systemd-journald.socket system.slice basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 19:27:36 UTC", "AssertTimestampMonotonic": "7444792", "Before": "multi-user.target shutdown.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": "Thu 2022-07-07 19:27:36 UTC", "ConditionTimestampMonotonic": "7444792", "Conflicts": "exim.service shutdown.target sendmail.service", "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": "1073", "ExecMainStartTimestamp": "Thu 2022-07-07 19:27:37 UTC", "ExecMainStartTimestampMonotonic": "7793554", "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=[Thu 2022-07-07 19:27:36 UTC] ; stop_time=[Thu 2022-07-07 19:27:37 UTC] ; pid=965 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Thu 2022-07-07 19:27:36 UTC] ; stop_time=[Thu 2022-07-07 19:27:36 UTC] ; pid=963 ; 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": "Thu 2022-07-07 19:27:36 UTC", "InactiveExitTimestampMonotonic": "7445873", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1073", "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": "basic.target system.slice", "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": "Thu 2022-07-07 19:27:37 UTC", "WatchdogTimestampMonotonic": "7793578", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:42 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.880) 0:00:02.339 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check given config against current config] *** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:48 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.031) 0:00:02.370 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:69 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.031) 0:00:02.401 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure Last modified header is absent] *** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:77 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.032) 0:00:02.434 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:85 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.033) 0:00:02.467 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:91 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.031) 0:00:02.499 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:99 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.033) 0:00:02.533 ********* META: role_complete for /cache/centos-7.qcow2c.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=0 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Thursday 07 July 2022 19:27:41 +0000 (0:00:00.028) 0:00:02.562 ********* =============================================================================== fedora.linux_system_roles.postfix : Install Postfix --------------------- 1.34s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:31 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 0.88s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:36 fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file --- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:91 fedora.linux_system_roles.postfix : Ensure Last modified header is absent --- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:77 fedora.linux_system_roles.postfix : Backup configuration ---------------- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:69 fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent --- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:85 fedora.linux_system_roles.postfix : Get current config ------------------ 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:42 fedora.linux_system_roles.postfix : Check given config against current config --- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:48 fedora.linux_system_roles.postfix : Configure Postfix ------------------- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:99 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.03s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.postfix : Get status of the ['postfix'] package --- 0.02s /tmp/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:15 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.02s /tmp/tmp0lkk5xx3/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/tmp0lkk5xx3/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:24