# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ciukqfo4xb/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 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_set_file.yml *************************************************** 1 plays in /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml PLAY [Create a postmapped file] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:2 Saturday 13 July 2024 17:18:10 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] TASK [Run the role with test postmap file] ************************************* task path: /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:12 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.706) 0:00:00.718 ********* TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.025) 0:00:00.744 ********* included: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.012) 0:00:00.756 ********* skipping: [sut] => { "changed": false, "false_condition": "__postfix_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.018) 0:00:00.774 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.197) 0:00:00.972 ********* ok: [sut] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.014) 0:00:00.987 ********* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__postfix_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) ['postfix']] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.024) 0:00:01.012 ********* skipping: [sut] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_conf.previous is defined", "item": "postfix", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.013) 0:00:01.025 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_conf.previous is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of config files] ********** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.010) 0:00:01.035 ********* skipping: [sut] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_conf.previous | d() == \"replaced\"", "item": "postfix", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Saturday 13 July 2024 17:18:11 +0000 (0:00:00.017) 0:00:01.052 ********* skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.017) 0:00:01.070 ********* included: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for sut TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.010) 0:00:01.080 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure selinux] ******************* task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.016) 0:00:01.096 ********* included: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for sut TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.013) 0:00:01.109 ********* skipping: [sut] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtps", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=smtp-submission) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp-submission", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] ********* task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.018) 0:00:01.128 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.015) 0:00:01.143 ********* skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_selinux | bool', 'item': 'smtp', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_selinux | bool', 'item': 'smtps', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtps", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'postfix_manage_selinux | bool', 'item': 'smtp-submission', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "postfix_manage_selinux | bool", "item": "smtp-submission", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.postfix : Set hardcoded ports to _postfix_selinux for no firewall or rhel-6 or not redhat] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.020) 0:00:01.164 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.016) 0:00:01.181 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.015) 0:00:01.196 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "2:postfix-2.10.1-9.el7.x86_64 providing postfix is already installed" ] } lsrpackages: postfix TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.423) 0:00:01.620 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-13 13:11:19 EDT", "ActiveEnterTimestampMonotonic": "16370418", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-13 13:11:18 EDT", "AssertTimestampMonotonic": "15197451", "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": "Sat 2024-07-13 13:11:18 EDT", "ConditionTimestampMonotonic": "15197450", "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": "1154", "ExecMainStartTimestamp": "Sat 2024-07-13 13:11:19 EDT", "ExecMainStartTimestampMonotonic": "16370252", "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=[Sat 2024-07-13 13:11:18 EDT] ; stop_time=[Sat 2024-07-13 13:11:19 EDT] ; pid=863 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Sat 2024-07-13 13:11:18 EDT] ; stop_time=[Sat 2024-07-13 13:11:18 EDT] ; pid=858 ; 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": "Sat 2024-07-13 13:11:18 EDT", "InactiveExitTimestampMonotonic": "15198308", "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": "1154", "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": "Sat 2024-07-13 13:11:19 EDT", "WatchdogTimestampMonotonic": "16370288", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:72 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.365) 0:00:01.985 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_conf | dict2items | rejectattr('key', 'match', '^previous$') | list | items2dict | d({}) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check given config against current config] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:78 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.019) 0:00:02.005 ********* skipping: [sut] => { "changed": false, "false_condition": "postfix_conf | dict2items | rejectattr('key', 'match', '^previous$') | list | items2dict | d({}) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure additional files] ********** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:96 Saturday 13 July 2024 17:18:12 +0000 (0:00:00.019) 0:00:02.024 ********* changed: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } Notification for handler Check postfix has been saved. Notification for handler Restart postfix has been saved. changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.postfix : Postmap files] *********************** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:112 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.438) 0:00:02.463 ********* changed: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.postfix : Gather facts for ansible_date_time] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:126 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.238) 0:00:02.701 ********* skipping: [sut] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:132 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.018) 0:00:02.720 ********* skipping: [sut] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure Last modified header is absent] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:140 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.017) 0:00:02.738 ********* skipping: [sut] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:148 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.018) 0:00:02.756 ********* skipping: [sut] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:154 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.018) 0:00:02.775 ********* skipping: [sut] => { "changed": false, "false_condition": "__postfix_has_config_changed | d(\"\") is search(\"True\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:162 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.018) 0:00:02.794 ********* skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Check if postmap file exists] ******************************************** task path: /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:17 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.009) 0:00:02.803 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720891093.6255043, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "binary", "checksum": "c655c8374721326d28f2bf6d72075f0859ede6b5", "ctime": 1720891093.6255043, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134796, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/octet-stream", "mode": "0640", "mtime": 1720891093.6225042, "nlink": 1, "path": "/etc/postfix/test.db", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 12288, "uid": 0, "version": "1462397819", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file is present] ************************************************** task path: /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:23 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.129) 0:00:02.932 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up test files] ***************************************************** task path: /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:27 Saturday 13 July 2024 17:18:13 +0000 (0:00:00.010) 0:00:02.942 ********* changed: [sut] => (item=/etc/postfix/test) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postfix/test", "path": "/etc/postfix/test", "state": "absent" } changed: [sut] => (item=/etc/postfix/test.db) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postfix/test.db", "path": "/etc/postfix/test.db", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.postfix : Check postfix for sut NOTIFIED HANDLER fedora.linux_system_roles.postfix : Restart postfix for sut RUNNING HANDLER [fedora.linux_system_roles.postfix : Check postfix] ************ task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:2 Saturday 13 July 2024 17:18:14 +0000 (0:00:00.314) 0:00:03.256 ********* ok: [sut] => { "changed": false, "cmd": [ "postfix", "check" ], "delta": "0:00:00.234725", "end": "2024-07-13 13:18:14.544303", "rc": 0, "start": "2024-07-13 13:18:14.309578" } RUNNING HANDLER [fedora.linux_system_roles.postfix : Restart postfix] ********** task path: /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:7 Saturday 13 July 2024 17:18:14 +0000 (0:00:00.362) 0:00:03.619 ********* changed: [sut] => { "changed": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-13 13:11:19 EDT", "ActiveEnterTimestampMonotonic": "16370418", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-13 13:11:18 EDT", "AssertTimestampMonotonic": "15197451", "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": "Sat 2024-07-13 13:11:18 EDT", "ConditionTimestampMonotonic": "15197450", "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": "1154", "ExecMainStartTimestamp": "Sat 2024-07-13 13:11:19 EDT", "ExecMainStartTimestampMonotonic": "16370252", "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=[Sat 2024-07-13 13:11:18 EDT] ; stop_time=[Sat 2024-07-13 13:11:19 EDT] ; pid=863 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[Sat 2024-07-13 13:11:18 EDT] ; stop_time=[Sat 2024-07-13 13:11:18 EDT] ; pid=858 ; 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": "Sat 2024-07-13 13:11:18 EDT", "InactiveExitTimestampMonotonic": "15198308", "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": "1154", "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": "Sat 2024-07-13 13:11:19 EDT", "WatchdogTimestampMonotonic": "16370288", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* sut : ok=16 changed=4 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Saturday 13 July 2024 17:18:15 +0000 (0:00:00.556) 0:00:04.176 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:2 --------------------- fedora.linux_system_roles.postfix : Restart postfix --------------------- 0.56s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:7 fedora.linux_system_roles.postfix : Configure additional files ---------- 0.44s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:96 fedora.linux_system_roles.postfix : Install Postfix --------------------- 0.42s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 0.37s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 fedora.linux_system_roles.postfix : Check postfix ----------------------- 0.36s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/handlers/main.yml:2 Clean up test files ----------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:27 -------------------- fedora.linux_system_roles.postfix : Postmap files ----------------------- 0.24s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:112 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.20s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Check if postmap file exists -------------------------------------------- 0.13s /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:17 -------------------- Run the role with test postmap file ------------------------------------- 0.03s /WORKDIR/git-weekly-ciukqfo4xb/tests/tests_set_file.yml:12 -------------------- fedora.linux_system_roles.postfix : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 fedora.linux_system_roles.postfix : Get current config ------------------ 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:72 fedora.linux_system_roles.postfix : Check given config against current config --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:78 fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:154 fedora.linux_system_roles.postfix : Get the smtp related tcp service ports --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 fedora.linux_system_roles.postfix : Gather facts for ansible_date_time --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:126 fedora.linux_system_roles.postfix : Ensure the outdated ansible managed header is absent --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:148 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.02s /WORKDIR/git-weekly-ciukqfo4xb/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---