ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the postfix role] **************************************************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Wednesday 04 December 2024 10:30:47 -0500 (0:00:00.043) 0:00:00.043 **** TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Wednesday 04 December 2024 10:30:47 -0500 (0:00:00.190) 0:00:00.234 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Wednesday 04 December 2024 10:30:47 -0500 (0:00:00.051) 0:00:00.285 **** ok: [managed-node3] TASK [fedora.linux_system_roles.postfix : Check if system is ostree] *********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Wednesday 04 December 2024 10:30:49 -0500 (0:00:01.406) 0:00:01.691 **** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postfix : Set flag to indicate system is ostree] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:16 Wednesday 04 December 2024 10:30:49 -0500 (0:00:00.608) 0:00:02.299 **** ok: [managed-node3] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postfix : Set platform/version specific variables] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:20 Wednesday 04 December 2024 10:30:49 -0500 (0:00:00.091) 0:00:02.391 **** ok: [managed-node3] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_7.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "smtp-submission" ] }, "ansible_included_var_files": [ "/tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of package(s) [u'postfix']] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:16 Wednesday 04 December 2024 10:30:49 -0500 (0:00:00.125) 0:00:02.516 **** skipping: [managed-node3] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Remove package(s) to reset original confs [u'postfix']] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:23 Wednesday 04 December 2024 10:30:49 -0500 (0:00:00.036) 0:00:02.552 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Get status of config files] ********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:38 Wednesday 04 December 2024 10:30:49 -0500 (0:00:00.041) 0:00:02.594 **** skipping: [managed-node3] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Remove config files - make empty] **** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:45 Wednesday 04 December 2024 10:30:50 -0500 (0:00:00.042) 0:00:02.636 **** TASK [fedora.linux_system_roles.postfix : Configure firewall] ****************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:54 Wednesday 04 December 2024 10:30:50 -0500 (0:00:00.027) 0:00:02.664 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml for managed-node3 TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/firewall.yml:3 Wednesday 04 December 2024 10:30:50 -0500 (0:00:00.035) 0:00:02.700 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 04 December 2024 10:30:50 -0500 (0:00:00.105) 0:00:02.805 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 04 December 2024 10:30:50 -0500 (0:00:00.054) 0:00:02.860 **** ok: [managed-node3] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 04 December 2024 10:30:50 -0500 (0:00:00.575) 0:00:03.436 **** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 04 December 2024 10:30:51 -0500 (0:00:00.317) 0:00:03.753 **** ok: [managed-node3] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Wednesday 04 December 2024 10:30:51 -0500 (0:00:00.046) 0:00:03.800 **** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Wednesday 04 December 2024 10:30:51 -0500 (0:00:00.368) 0:00:04.168 **** ok: [managed-node3] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Wednesday 04 December 2024 10:30:51 -0500 (0:00:00.026) 0:00:04.195 **** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Wednesday 04 December 2024 10:30:52 -0500 (0:00:01.161) 0:00:05.356 **** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Wednesday 04 December 2024 10:30:52 -0500 (0:00:00.039) 0:00:05.396 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Wednesday 04 December 2024 10:30:52 -0500 (0:00:00.024) 0:00:05.420 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 04 December 2024 10:30:52 -0500 (0:00:00.029) 0:00:05.449 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 04 December 2024 10:30:52 -0500 (0:00:00.029) 0:00:05.478 **** skipping: [managed-node3] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 04 December 2024 10:30:52 -0500 (0:00:00.055) 0:00:05.534 **** ok: [managed-node3] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ip6tables.service iptables.service ebtables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 04 December 2024 10:30:53 -0500 (0:00:00.825) 0:00:06.359 **** changed: [managed-node3] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ipset.service iptables.service shutdown.target ebtables.service ip6tables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 04 December 2024 10:30:54 -0500 (0:00:00.854) 0:00:07.214 **** ok: [managed-node3] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 04 December 2024 10:30:54 -0500 (0:00:00.044) 0:00:07.258 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 04 December 2024 10:30:54 -0500 (0:00:00.029) 0:00:07.287 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 04 December 2024 10:30:54 -0500 (0:00:00.030) 0:00:07.317 **** changed: [managed-node3] => (item={u'state': u'enabled', u'service': u'smtp'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtp", "state": "enabled" } } changed: [managed-node3] => (item={u'state': u'enabled', u'service': u'smtps'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtps", "state": "enabled" } } changed: [managed-node3] => (item={u'state': u'enabled', u'service': u'smtp-submission'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtp-submission", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 04 December 2024 10:30:56 -0500 (0:00:01.968) 0:00:09.286 **** skipping: [managed-node3] => (item={u'state': u'enabled', u'service': u'smtp'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'state': u'enabled', u'service': u'smtps'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtps", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'state': u'enabled', u'service': u'smtp-submission'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp-submission", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.078) 0:00:09.364 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.025) 0:00:09.390 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.027) 0:00:09.417 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.029) 0:00:09.447 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.020) 0:00:09.468 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.029) 0:00:09.498 **** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.postfix : Configure selinux] ******************* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:57 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.022) 0:00:09.521 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml for managed-node3 TASK [fedora.linux_system_roles.postfix : Get the smtp related tcp service ports] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 Wednesday 04 December 2024 10:30:56 -0500 (0:00:00.040) 0:00:09.561 **** ok: [managed-node3] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.254911", "end": "2024-12-04 10:30:57.665223", "item": "smtp", "rc": 0, "start": "2024-12-04 10:30:57.410312" } STDOUT: 25/tcp ok: [managed-node3] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtps\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtps\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.251032", "end": "2024-12-04 10:30:58.261825", "item": "smtps", "rc": 0, "start": "2024-12-04 10:30:58.010793" } STDOUT: 465/tcp ok: [managed-node3] => (item=smtp-submission) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp-submission\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp-submission\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.266939", "end": "2024-12-04 10:30:58.877340", "item": "smtp-submission", "rc": 0, "start": "2024-12-04 10:30:58.610401" } STDOUT: 587/tcp TASK [fedora.linux_system_roles.postfix : Initialize _postfix_selinux] ********* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:33 Wednesday 04 December 2024 10:30:58 -0500 (0:00:01.995) 0:00:11.557 **** ok: [managed-node3] => { "ansible_facts": { "_postfix_selinux": [] }, "changed": false } TASK [fedora.linux_system_roles.postfix : Add the smtp related service ports to _postfix_selinux] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:37 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.054) 0:00:11.612 **** ok: [managed-node3] => (item={u'stderr_lines': [], u'ansible_loop_var': u'item', u'end': u'2024-12-04 10:30:57.665223', u'stderr': u'', u'stdout': u'25/tcp', u'changed': False, u'failed': False, u'delta': u'0:00:00.254911', u'cmd': u'set -euo pipefail\nports="$(firewall-cmd --info-service="smtp" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtp" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', u'item': u'smtp', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'strip_empty_ends': True, u'_raw_params': u'set -euo pipefail\nports="$(firewall-cmd --info-service="smtp" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtp" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin_add_newline': True, u'stdin': None}}, u'stdout_lines': [u'25/tcp'], u'start': u'2024-12-04 10:30:57.410312'}) => { "ansible_facts": { "_postfix_selinux": [ { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" } ] }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.254911", "end": "2024-12-04 10:30:57.665223", "failed": false, "invocation": { "module_args": { "_raw_params": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "item": "smtp", "rc": 0, "start": "2024-12-04 10:30:57.410312", "stderr": "", "stderr_lines": [], "stdout": "25/tcp", "stdout_lines": [ "25/tcp" ] } } ok: [managed-node3] => (item={u'stderr_lines': [], u'ansible_loop_var': u'item', u'end': u'2024-12-04 10:30:58.261825', u'stderr': u'', u'stdout': u'465/tcp', u'changed': False, u'failed': False, u'delta': u'0:00:00.251032', u'cmd': u'set -euo pipefail\nports="$(firewall-cmd --info-service="smtps" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtps" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', u'item': u'smtps', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'strip_empty_ends': True, u'_raw_params': u'set -euo pipefail\nports="$(firewall-cmd --info-service="smtps" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtps" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin_add_newline': True, u'stdin': None}}, u'stdout_lines': [u'465/tcp'], u'start': u'2024-12-04 10:30:58.010793'}) => { "ansible_facts": { "_postfix_selinux": [ { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, { "local": "true", "ports": "465", "proto": "tcp", "setype": "smtp_port_t", "state": "present" } ] }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtps\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtps\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.251032", "end": "2024-12-04 10:30:58.261825", "failed": false, "invocation": { "module_args": { "_raw_params": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtps\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtps\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "item": "smtps", "rc": 0, "start": "2024-12-04 10:30:58.010793", "stderr": "", "stderr_lines": [], "stdout": "465/tcp", "stdout_lines": [ "465/tcp" ] } } ok: [managed-node3] => (item={u'stderr_lines': [], u'ansible_loop_var': u'item', u'end': u'2024-12-04 10:30:58.877340', u'stderr': u'', u'stdout': u'587/tcp', u'changed': False, u'failed': False, u'delta': u'0:00:00.266939', u'cmd': u'set -euo pipefail\nports="$(firewall-cmd --info-service="smtp-submission" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtp-submission" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', u'item': u'smtp-submission', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'strip_empty_ends': True, u'_raw_params': u'set -euo pipefail\nports="$(firewall-cmd --info-service="smtp-submission" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")" || :\nif [ -z "$ports" ]; then\n include="$(firewall-cmd --info-service="smtp-submission" | \\\n awk \'/^ +includes:/ {print $2}\')" || :\n if [ -n "$include" ]; then\n ports="$(firewall-cmd --info-service="$include" | \\\n grep -E " +ports: +" | sed -e "s/ *ports: //")"\n fi\nfi\nif [ -z "$ports" ]; then\n exit 1\nfi\necho "$ports"', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin_add_newline': True, u'stdin': None}}, u'stdout_lines': [u'587/tcp'], u'start': u'2024-12-04 10:30:58.610401'}) => { "ansible_facts": { "_postfix_selinux": [ { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, { "local": "true", "ports": "465", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, { "local": "true", "ports": "587", "proto": "tcp", "setype": "smtp_port_t", "state": "present" } ] }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp-submission\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp-submission\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "delta": "0:00:00.266939", "end": "2024-12-04 10:30:58.877340", "failed": false, "invocation": { "module_args": { "_raw_params": "set -euo pipefail\nports=\"$(firewall-cmd --info-service=\"smtp-submission\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\" || :\nif [ -z \"$ports\" ]; then\n include=\"$(firewall-cmd --info-service=\"smtp-submission\" | \\\n awk '/^ +includes:/ {print $2}')\" || :\n if [ -n \"$include\" ]; then\n ports=\"$(firewall-cmd --info-service=\"$include\" | \\\n grep -E \" +ports: +\" | sed -e \"s/ *ports: //\")\"\n fi\nfi\nif [ -z \"$ports\" ]; then\n exit 1\nfi\necho \"$ports\"", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "item": "smtp-submission", "rc": 0, "start": "2024-12-04 10:30:58.610401", "stderr": "", "stderr_lines": [], "stdout": "587/tcp", "stdout_lines": [ "587/tcp" ] } } TASK [fedora.linux_system_roles.postfix : Set hardcoded ports to _postfix_selinux for no firewall or rhel-6 or not redhat] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:46 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.148) 0:00:11.761 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:55 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.027) 0:00:11.788 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.090) 0:00:11.878 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node3 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.053) 0:00:11.932 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.027) 0:00:11.960 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node3 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.059) 0:00:12.019 **** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.287) 0:00:12.306 **** ok: [managed-node3] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Wednesday 04 December 2024 10:30:59 -0500 (0:00:00.028) 0:00:12.335 **** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Wednesday 04 December 2024 10:31:00 -0500 (0:00:00.303) 0:00:12.639 **** ok: [managed-node3] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Wednesday 04 December 2024 10:31:00 -0500 (0:00:00.038) 0:00:12.677 **** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Wednesday 04 December 2024 10:31:00 -0500 (0:00:00.903) 0:00:13.581 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.029) 0:00:13.611 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.037) 0:00:13.649 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.030) 0:00:13.680 **** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.026) 0:00:13.706 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.028) 0:00:13.735 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.023) 0:00:13.759 **** ok: [managed-node3] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.547) 0:00:14.307 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.028) 0:00:14.335 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.040) 0:00:14.375 **** ok: [managed-node3] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.040) 0:00:14.416 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.029) 0:00:14.445 **** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.041) 0:00:14.487 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.029) 0:00:14.517 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.033) 0:00:14.551 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.028) 0:00:14.579 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 04 December 2024 10:31:01 -0500 (0:00:00.026) 0:00:14.605 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 04 December 2024 10:31:02 -0500 (0:00:00.031) 0:00:14.637 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 04 December 2024 10:31:02 -0500 (0:00:00.025) 0:00:14.663 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 04 December 2024 10:31:02 -0500 (0:00:00.023) 0:00:14.686 **** changed: [managed-node3] => (item={u'setype': u'smtp_port_t', u'proto': u'tcp', u'local': u'true', u'state': u'present', u'ports': u'25'}) => { "__selinux_item": { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": true, "ports": [ "25" ], "proto": "tcp", "setype": "smtp_port_t", "state": "present" } changed: [managed-node3] => (item={u'setype': u'smtp_port_t', u'state': u'present', u'local': u'true', u'ports': u'465', u'proto': u'tcp'}) => { "__selinux_item": { "local": "true", "ports": "465", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": true, "ports": [ "465" ], "proto": "tcp", "setype": "smtp_port_t", "state": "present" } changed: [managed-node3] => (item={u'setype': u'smtp_port_t', u'proto': u'tcp', u'local': u'true', u'ports': u'587', u'state': u'present'}) => { "__selinux_item": { "local": "true", "ports": "587", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": true, "ports": [ "587" ], "proto": "tcp", "setype": "smtp_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 04 December 2024 10:31:12 -0500 (0:00:10.095) 0:00:24.782 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 04 December 2024 10:31:12 -0500 (0:00:00.046) 0:00:24.829 **** ok: [managed-node3] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 04 December 2024 10:31:15 -0500 (0:00:02.800) 0:00:27.629 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 04 December 2024 10:31:15 -0500 (0:00:00.112) 0:00:27.742 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 04 December 2024 10:31:15 -0500 (0:00:00.056) 0:00:27.798 **** TASK [fedora.linux_system_roles.postfix : Install Postfix] ********************* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 Wednesday 04 December 2024 10:31:15 -0500 (0:00:00.050) 0:00:27.849 **** ok: [managed-node3] => { "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 : Get default database type from postconf] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 Wednesday 04 December 2024 10:31:16 -0500 (0:00:00.882) 0:00:28.732 **** ok: [managed-node3] => { "changed": false, "cmd": [ "postconf", "-h", "default_database_type" ], "delta": "0:00:00.009005", "end": "2024-12-04 10:31:16.379239", "rc": 0, "start": "2024-12-04 10:31:16.370234" } STDOUT: hash TASK [fedora.linux_system_roles.postfix : Set postfix_default_database_type] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:71 Wednesday 04 December 2024 10:31:16 -0500 (0:00:00.320) 0:00:29.052 **** ok: [managed-node3] => { "ansible_facts": { "postfix_default_database_type": "hash" }, "changed": false } TASK [fedora.linux_system_roles.postfix : Enable Postfix] ********************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:75 Wednesday 04 December 2024 10:31:16 -0500 (0:00:00.044) 0:00:29.097 **** ok: [managed-node3] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-12-04 10:26:33 EST", "ActiveEnterTimestampMonotonic": "14520313", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target system.slice basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-12-04 10:26:32 EST", "AssertTimestampMonotonic": "13440622", "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": "Wed 2024-12-04 10:26:32 EST", "ConditionTimestampMonotonic": "13440620", "Conflicts": "exim.service sendmail.service shutdown.target", "ControlGroup": "/system.slice/postfix.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1186", "ExecMainStartTimestamp": "Wed 2024-12-04 10:26:33 EST", "ExecMainStartTimestampMonotonic": "14520251", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-12-04 10:26:32 EST", "InactiveExitTimestampMonotonic": "13442796", "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": "1186", "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": "Wed 2024-12-04 10:26:33 EST", "WatchdogTimestampMonotonic": "14520270", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postfix : Get current config] ****************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:81 Wednesday 04 December 2024 10:31:16 -0500 (0:00:00.408) 0:00:29.506 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Check given config against current config] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:87 Wednesday 04 December 2024 10:31:16 -0500 (0:00:00.041) 0:00:29.548 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure additional files] ********** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:105 Wednesday 04 December 2024 10:31:16 -0500 (0:00:00.042) 0:00:29.590 **** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postfix : Postmap files] *********************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:121 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.038) 0:00:29.629 **** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postfix : Gather facts for ansible_date_time] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:135 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.038) 0:00:29.668 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Backup configuration] **************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:141 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.043) 0:00:29.711 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure Last modified header is absent] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:149 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.040) 0:00:29.752 **** skipping: [managed-node3] => { "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/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:157 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.042) 0:00:29.794 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:163 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.041) 0:00:29.836 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postfix : Configure Postfix] ******************* task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:171 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.042) 0:00:29.878 **** TASK [Check firewall and selinux status] *************************************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:14 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.045) 0:00:29.923 **** included: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml for managed-node3 TASK [Get the firewall services] *********************************************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml:10 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.075) 0:00:29.998 **** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\nfirewall-cmd --list-services", "delta": "0:00:00.255798", "end": "2024-12-04 10:31:17.902312", "rc": 0, "start": "2024-12-04 10:31:17.646514" } STDOUT: dhcpv6-client smtp smtp-submission smtps ssh TASK [Assert the expected services are configured] ***************************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml:17 Wednesday 04 December 2024 10:31:17 -0500 (0:00:00.579) 0:00:30.577 **** ok: [managed-node3] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "item": "smtp" } MSG: All assertions passed ok: [managed-node3] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "item": "smtps" } MSG: All assertions passed ok: [managed-node3] => (item=smtp-submission) => { "ansible_loop_var": "item", "changed": false, "item": "smtp-submission" } MSG: All assertions passed TASK [Ensure smtp ports are retrieved] ***************************************** task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml:30 Wednesday 04 December 2024 10:31:18 -0500 (0:00:00.221) 0:00:30.799 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Check associated selinux] ************************************************ task path: /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml:34 Wednesday 04 December 2024 10:31:18 -0500 (0:00:00.060) 0:00:30.860 **** ok: [managed-node3] => (item={u'setype': u'smtp_port_t', u'proto': u'tcp', u'local': u'true', u'state': u'present', u'ports': u'25'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nsemanage port --list -C | grep \"smtp_port_t\" | grep \"tcp\" | grep \"25\"", "delta": "0:00:00.160992", "end": "2024-12-04 10:31:18.668737", "item": { "local": "true", "ports": "25", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, "rc": 0, "start": "2024-12-04 10:31:18.507745" } STDOUT: smtp_port_t tcp 25, 465, 587 ok: [managed-node3] => (item={u'setype': u'smtp_port_t', u'state': u'present', u'local': u'true', u'ports': u'465', u'proto': u'tcp'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nsemanage port --list -C | grep \"smtp_port_t\" | grep \"tcp\" | grep \"465\"", "delta": "0:00:00.157968", "end": "2024-12-04 10:31:19.093477", "item": { "local": "true", "ports": "465", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, "rc": 0, "start": "2024-12-04 10:31:18.935509" } STDOUT: smtp_port_t tcp 25, 465, 587 ok: [managed-node3] => (item={u'setype': u'smtp_port_t', u'proto': u'tcp', u'local': u'true', u'ports': u'587', u'state': u'present'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nsemanage port --list -C | grep \"smtp_port_t\" | grep \"tcp\" | grep \"587\"", "delta": "0:00:00.156877", "end": "2024-12-04 10:31:19.516075", "item": { "local": "true", "ports": "587", "proto": "tcp", "setype": "smtp_port_t", "state": "present" }, "rc": 0, "start": "2024-12-04 10:31:19.359198" } STDOUT: smtp_port_t tcp 25, 465, 587 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=41 changed=3 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Wednesday 04 December 2024 10:31:19 -0500 (0:00:01.310) 0:00:32.170 **** =============================================================================== fedora.linux_system_roles.selinux : Set an SELinux label on a port ----- 10.10s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.80s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.postfix : Get the smtp related tcp service ports --- 2.00s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml:12 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.97s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 1.41s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Check associated selinux ------------------------------------------------ 1.31s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml:34 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.16s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.90s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.postfix : Install Postfix --------------------- 0.88s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:60 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.85s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.83s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.postfix : Check if system is ostree ----------- 0.61s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:11 Get the firewall services ----------------------------------------------- 0.58s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/tests/postfix/check_firewall_selinux.yml:10 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.58s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.55s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 fedora.linux_system_roles.postfix : Enable Postfix ---------------------- 0.41s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:75 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.37s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 fedora.linux_system_roles.postfix : Get default database type from postconf --- 0.32s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:66 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.32s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin --- 0.30s /tmp/collections-oOQ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17