ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmph58l1vt6 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Tuesday 21 June 2022 15:16:37 +0000 (0:00:00.018) 0:00:00.018 ********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 21 June 2022 15:16:39 +0000 (0:00:01.281) 0:00:01.299 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:1 Tuesday 21 June 2022 15:16:39 +0000 (0:00:00.036) 0:00:01.335 ********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:26 Tuesday 21 June 2022 15:16:40 +0000 (0:00:01.019) 0:00:02.355 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:16:40 +0000 (0:00:00.040) 0:00:02.396 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:16:40 +0000 (0:00:00.028) 0:00:02.425 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:16:40 +0000 (0:00:00.505) 0:00:02.930 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:16:42 +0000 (0:00:01.386) 0:00:04.317 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:16:42 +0000 (0:00:00.026) 0:00:04.343 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:16:43 +0000 (0:00:01.243) 0:00:05.587 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:16:21 EDT", "ActiveEnterTimestampMonotonic": "88431959", "ActiveExitTimestamp": "Tue 2022-06-21 11:16:20 EDT", "ActiveExitTimestampMonotonic": "87530229", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:16:21 EDT", "AssertTimestampMonotonic": "88180353", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:16:21 EDT", "ConditionTimestampMonotonic": "88180352", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "23423", "ExecMainStartTimestamp": "Tue 2022-06-21 11:16:21 EDT", "ExecMainStartTimestampMonotonic": "88181871", "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=[Tue 2022-06-21 11:16:21 EDT] ; stop_time=[n/a] ; pid=23423 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:16:21 EDT", "InactiveEnterTimestampMonotonic": "88178883", "InactiveExitTimestamp": "Tue 2022-06-21 11:16:21 EDT", "InactiveExitTimestampMonotonic": "88181912", "InvocationID": "a7d709237d054a799d61882ff0cc0a56", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "23423", "MemoryAccounting": "yes", "MemoryCurrent": "25980928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:16:21 EDT", "StateChangeTimestampMonotonic": "88431959", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:16:21 EDT", "WatchdogTimestampMonotonic": "88431957", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:16:44 +0000 (0:00:00.765) 0:00:06.352 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:16:44 +0000 (0:00:00.047) 0:00:06.400 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: 4baa9218a023fc374a6d44f36e4d903f1704a4c6ea197ebbbf907d5d346c9855 /etc/firewalld/services/custom.xml 7c44251e16d40a2094acf19e89ee92e643144edca26c5799a43af016fa1e965a /etc/firewalld/zones/public.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.976) 0:00:07.376 ********** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.039) 0:00:07.416 ********** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.056) 0:00:07.473 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.067) 0:00:07.540 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.059) 0:00:07.600 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.054) 0:00:07.655 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.281) 0:00:07.937 ********** changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.050) 0:00:07.987 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Run the role with no config] ********************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:33 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.041) 0:00:08.029 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.046) 0:00:08.076 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:16:45 +0000 (0:00:00.027) 0:00:08.103 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:16:46 +0000 (0:00:00.569) 0:00:08.673 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:16:47 +0000 (0:00:01.285) 0:00:09.959 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:16:47 +0000 (0:00:00.025) 0:00:09.984 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:16:48 +0000 (0:00:01.262) 0:00:11.247 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ActiveEnterTimestampMonotonic": "111339077", "ActiveExitTimestamp": "Tue 2022-06-21 11:16:43 EDT", "ActiveExitTimestampMonotonic": "110627586", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:16:44 EDT", "AssertTimestampMonotonic": "111092217", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ConditionTimestampMonotonic": "111092216", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25966", "ExecMainStartTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ExecMainStartTimestampMonotonic": "111094091", "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=[Tue 2022-06-21 11:16:44 EDT] ; stop_time=[n/a] ; pid=25966 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveEnterTimestampMonotonic": "111090650", "InactiveExitTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveExitTimestampMonotonic": "111094149", "InvocationID": "a5bd7d1c8f9c4f3e80e619b85c139035", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25966", "MemoryAccounting": "yes", "MemoryCurrent": "25116672", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:16:44 EDT", "StateChangeTimestampMonotonic": "111339077", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:16:44 EDT", "WatchdogTimestampMonotonic": "111339075", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:16:49 +0000 (0:00:00.499) 0:00:11.746 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:16:49 +0000 (0:00:00.045) 0:00:11.792 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:16:49 +0000 (0:00:00.032) 0:00:11.824 ********** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:16:49 +0000 (0:00:00.032) 0:00:11.857 ********** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:16:49 +0000 (0:00:00.035) 0:00:11.892 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:16:49 +0000 (0:00:00.037) 0:00:11.930 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.634) 0:00:12.564 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.048) 0:00:12.613 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.034) 0:00:12.647 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.032) 0:00:12.680 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:37 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.040) 0:00:12.720 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:42 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.021) 0:00:12.741 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.052) 0:00:12.793 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:16:50 +0000 (0:00:00.029) 0:00:12.823 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:16:51 +0000 (0:00:00.503) 0:00:13.326 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:16:52 +0000 (0:00:01.299) 0:00:14.625 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:16:52 +0000 (0:00:00.023) 0:00:14.649 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:16:53 +0000 (0:00:01.237) 0:00:15.886 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ActiveEnterTimestampMonotonic": "111339077", "ActiveExitTimestamp": "Tue 2022-06-21 11:16:43 EDT", "ActiveExitTimestampMonotonic": "110627586", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:16:44 EDT", "AssertTimestampMonotonic": "111092217", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ConditionTimestampMonotonic": "111092216", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25966", "ExecMainStartTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ExecMainStartTimestampMonotonic": "111094091", "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=[Tue 2022-06-21 11:16:44 EDT] ; stop_time=[n/a] ; pid=25966 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveEnterTimestampMonotonic": "111090650", "InactiveExitTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveExitTimestampMonotonic": "111094149", "InvocationID": "a5bd7d1c8f9c4f3e80e619b85c139035", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25966", "MemoryAccounting": "yes", "MemoryCurrent": "25997312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:16:44 EDT", "StateChangeTimestampMonotonic": "111339077", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:16:44 EDT", "WatchdogTimestampMonotonic": "111339075", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:16:54 +0000 (0:00:00.490) 0:00:16.377 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:16:54 +0000 (0:00:00.046) 0:00:16.423 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:16:54 +0000 (0:00:00.034) 0:00:16.458 ********** changed: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } changed: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:16:58 +0000 (0:00:04.045) 0:00:20.503 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.071) 0:00:20.575 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.037) 0:00:20.612 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.035) 0:00:20.647 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.034) 0:00:20.682 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.030) 0:00:20.712 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.033) 0:00:20.746 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:48 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.040) 0:00:20.786 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:53 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.021) 0:00:20.807 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.049) 0:00:20.857 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:16:58 +0000 (0:00:00.027) 0:00:20.884 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:16:59 +0000 (0:00:00.524) 0:00:21.408 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:00 +0000 (0:00:01.254) 0:00:22.663 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:00 +0000 (0:00:00.025) 0:00:22.688 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:01 +0000 (0:00:01.235) 0:00:23.923 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ActiveEnterTimestampMonotonic": "111339077", "ActiveExitTimestamp": "Tue 2022-06-21 11:16:43 EDT", "ActiveExitTimestampMonotonic": "110627586", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:16:44 EDT", "AssertTimestampMonotonic": "111092217", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ConditionTimestampMonotonic": "111092216", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25966", "ExecMainStartTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ExecMainStartTimestampMonotonic": "111094091", "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=[Tue 2022-06-21 11:16:44 EDT] ; stop_time=[n/a] ; pid=25966 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveEnterTimestampMonotonic": "111090650", "InactiveExitTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveExitTimestampMonotonic": "111094149", "InvocationID": "a5bd7d1c8f9c4f3e80e619b85c139035", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25966", "MemoryAccounting": "yes", "MemoryCurrent": "27398144", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:16:44 EDT", "StateChangeTimestampMonotonic": "111339077", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:16:44 EDT", "WatchdogTimestampMonotonic": "111339075", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:02 +0000 (0:00:00.498) 0:00:24.422 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:02 +0000 (0:00:00.049) 0:00:24.471 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:02 +0000 (0:00:00.034) 0:00:24.506 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:05 +0000 (0:00:03.291) 0:00:27.797 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.071) 0:00:27.869 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.034) 0:00:27.903 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.029) 0:00:27.933 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.031) 0:00:27.964 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.028) 0:00:27.993 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.030) 0:00:28.023 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:59 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.036) 0:00:28.060 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:64 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.019) 0:00:28.080 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.061) 0:00:28.142 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:05 +0000 (0:00:00.026) 0:00:28.168 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:06 +0000 (0:00:00.514) 0:00:28.683 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:07 +0000 (0:00:01.319) 0:00:30.002 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:07 +0000 (0:00:00.023) 0:00:30.026 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:08 +0000 (0:00:01.218) 0:00:31.244 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ActiveEnterTimestampMonotonic": "111339077", "ActiveExitTimestamp": "Tue 2022-06-21 11:16:43 EDT", "ActiveExitTimestampMonotonic": "110627586", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:16:44 EDT", "AssertTimestampMonotonic": "111092217", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ConditionTimestampMonotonic": "111092216", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25966", "ExecMainStartTimestamp": "Tue 2022-06-21 11:16:44 EDT", "ExecMainStartTimestampMonotonic": "111094091", "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=[Tue 2022-06-21 11:16:44 EDT] ; stop_time=[n/a] ; pid=25966 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveEnterTimestampMonotonic": "111090650", "InactiveExitTimestamp": "Tue 2022-06-21 11:16:44 EDT", "InactiveExitTimestampMonotonic": "111094149", "InvocationID": "a5bd7d1c8f9c4f3e80e619b85c139035", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25966", "MemoryAccounting": "yes", "MemoryCurrent": "27398144", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:16:44 EDT", "StateChangeTimestampMonotonic": "111339077", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:16:44 EDT", "WatchdogTimestampMonotonic": "111339075", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:09 +0000 (0:00:00.491) 0:00:31.736 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:09 +0000 (0:00:00.076) 0:00:31.813 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:10 +0000 (0:00:01.208) 0:00:33.021 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:14 +0000 (0:00:03.831) 0:00:36.852 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:14 +0000 (0:00:00.083) 0:00:36.936 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:14 +0000 (0:00:00.039) 0:00:36.976 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:14 +0000 (0:00:00.033) 0:00:37.009 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:14 +0000 (0:00:00.033) 0:00:37.043 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.342) 0:00:37.385 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.090) 0:00:37.475 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:70 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.041) 0:00:37.517 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:75 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.019) 0:00:37.536 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.091) 0:00:37.628 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.026) 0:00:37.654 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:15 +0000 (0:00:00.500) 0:00:38.155 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:17 +0000 (0:00:01.204) 0:00:39.359 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:17 +0000 (0:00:00.023) 0:00:39.382 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:18 +0000 (0:00:01.224) 0:00:40.606 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:10 EDT", "ActiveEnterTimestampMonotonic": "136979590", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:09 EDT", "ActiveExitTimestampMonotonic": "136114261", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:09 EDT", "AssertTimestampMonotonic": "136731979", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:09 EDT", "ConditionTimestampMonotonic": "136731979", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29044", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:09 EDT", "ExecMainStartTimestampMonotonic": "136733446", "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=[Tue 2022-06-21 11:17:09 EDT] ; stop_time=[n/a] ; pid=29044 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:09 EDT", "InactiveEnterTimestampMonotonic": "136730587", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:09 EDT", "InactiveExitTimestampMonotonic": "136733490", "InvocationID": "0f88df80547441f2b848e2655a8bcd45", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29044", "MemoryAccounting": "yes", "MemoryCurrent": "27389952", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:10 EDT", "StateChangeTimestampMonotonic": "136979590", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:10 EDT", "WatchdogTimestampMonotonic": "136979588", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:18 +0000 (0:00:00.477) 0:00:41.084 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:18 +0000 (0:00:00.046) 0:00:41.130 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:20 +0000 (0:00:01.198) 0:00:42.329 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:23 +0000 (0:00:03.943) 0:00:46.273 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.083) 0:00:46.357 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.038) 0:00:46.395 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.031) 0:00:46.427 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.031) 0:00:46.459 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.298) 0:00:46.757 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.045) 0:00:46.802 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:81 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.039) 0:00:46.842 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:86 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.018) 0:00:46.861 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.066) 0:00:46.927 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:24 +0000 (0:00:00.026) 0:00:46.954 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:25 +0000 (0:00:00.522) 0:00:47.476 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:26 +0000 (0:00:01.269) 0:00:48.745 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:26 +0000 (0:00:00.024) 0:00:48.770 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:27 +0000 (0:00:01.279) 0:00:50.050 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:19 EDT", "ActiveEnterTimestampMonotonic": "146291467", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:18 EDT", "ActiveExitTimestampMonotonic": "145399013", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:19 EDT", "AssertTimestampMonotonic": "146056493", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:19 EDT", "ConditionTimestampMonotonic": "146056492", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30346", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:19 EDT", "ExecMainStartTimestampMonotonic": "146057589", "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=[Tue 2022-06-21 11:17:19 EDT] ; stop_time=[n/a] ; pid=30346 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:19 EDT", "InactiveEnterTimestampMonotonic": "146055397", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:19 EDT", "InactiveExitTimestampMonotonic": "146057624", "InvocationID": "8f2a756a1c91441a9a41cb8876398b5e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30346", "MemoryAccounting": "yes", "MemoryCurrent": "27291648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:19 EDT", "StateChangeTimestampMonotonic": "146291467", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:19 EDT", "WatchdogTimestampMonotonic": "146291465", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:28 +0000 (0:00:00.496) 0:00:50.547 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:28 +0000 (0:00:00.116) 0:00:50.663 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:28 +0000 (0:00:00.031) 0:00:50.694 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:31 +0000 (0:00:03.272) 0:00:53.967 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.070) 0:00:54.038 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.036) 0:00:54.074 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.031) 0:00:54.105 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.031) 0:00:54.137 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.033) 0:00:54.171 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.032) 0:00:54.203 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:92 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.041) 0:00:54.245 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:97 Tuesday 21 June 2022 15:17:31 +0000 (0:00:00.021) 0:00:54.266 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:32 +0000 (0:00:00.076) 0:00:54.342 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:32 +0000 (0:00:00.030) 0:00:54.373 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:32 +0000 (0:00:00.533) 0:00:54.907 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:33 +0000 (0:00:01.258) 0:00:56.165 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:33 +0000 (0:00:00.026) 0:00:56.191 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:35 +0000 (0:00:01.284) 0:00:57.476 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:19 EDT", "ActiveEnterTimestampMonotonic": "146291467", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:18 EDT", "ActiveExitTimestampMonotonic": "145399013", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:19 EDT", "AssertTimestampMonotonic": "146056493", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:19 EDT", "ConditionTimestampMonotonic": "146056492", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30346", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:19 EDT", "ExecMainStartTimestampMonotonic": "146057589", "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=[Tue 2022-06-21 11:17:19 EDT] ; stop_time=[n/a] ; pid=30346 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:19 EDT", "InactiveEnterTimestampMonotonic": "146055397", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:19 EDT", "InactiveExitTimestampMonotonic": "146057624", "InvocationID": "8f2a756a1c91441a9a41cb8876398b5e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30346", "MemoryAccounting": "yes", "MemoryCurrent": "27291648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:19 EDT", "StateChangeTimestampMonotonic": "146291467", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:19 EDT", "WatchdogTimestampMonotonic": "146291465", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:35 +0000 (0:00:00.520) 0:00:57.997 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:35 +0000 (0:00:00.077) 0:00:58.075 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:37 +0000 (0:00:01.221) 0:00:59.296 ********** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.036) 0:00:59.333 ********** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.034) 0:00:59.367 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.040) 0:00:59.407 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.033) 0:00:59.441 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.034) 0:00:59.475 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.282) 0:00:59.758 ********** changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.077) 0:00:59.836 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:104 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.042) 0:00:59.878 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:109 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.021) 0:00:59.900 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.120) 0:01:00.020 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:37 +0000 (0:00:00.027) 0:01:00.048 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:38 +0000 (0:00:00.533) 0:01:00.581 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:39 +0000 (0:00:01.262) 0:01:01.843 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:39 +0000 (0:00:00.024) 0:01:01.868 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:40 +0000 (0:00:01.243) 0:01:03.111 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ActiveEnterTimestampMonotonic": "163260564", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:35 EDT", "ActiveExitTimestampMonotonic": "162357872", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:36 EDT", "AssertTimestampMonotonic": "163021443", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ConditionTimestampMonotonic": "163021443", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32597", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ExecMainStartTimestampMonotonic": "163023593", "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=[Tue 2022-06-21 11:17:36 EDT] ; stop_time=[n/a] ; pid=32597 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:36 EDT", "InactiveEnterTimestampMonotonic": "163019669", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:36 EDT", "InactiveExitTimestampMonotonic": "163023644", "InvocationID": "ea6c9075fca14f59a0975681e87f2867", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32597", "MemoryAccounting": "yes", "MemoryCurrent": "25067520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:36 EDT", "StateChangeTimestampMonotonic": "163260564", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:36 EDT", "WatchdogTimestampMonotonic": "163260562", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:41 +0000 (0:00:00.500) 0:01:03.612 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:41 +0000 (0:00:00.053) 0:01:03.665 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:41 +0000 (0:00:00.035) 0:01:03.701 ********** changed: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.617) 0:01:04.318 ********** skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.046) 0:01:04.365 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.046) 0:01:04.411 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.034) 0:01:04.446 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.045) 0:01:04.491 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.034) 0:01:04.525 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.033) 0:01:04.559 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:116 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.042) 0:01:04.601 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:121 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.021) 0:01:04.622 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.096) 0:01:04.719 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.029) 0:01:04.749 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:42 +0000 (0:00:00.497) 0:01:05.246 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:44 +0000 (0:00:01.250) 0:01:06.497 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:44 +0000 (0:00:00.024) 0:01:06.522 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:45 +0000 (0:00:01.243) 0:01:07.765 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ActiveEnterTimestampMonotonic": "163260564", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:35 EDT", "ActiveExitTimestampMonotonic": "162357872", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:36 EDT", "AssertTimestampMonotonic": "163021443", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ConditionTimestampMonotonic": "163021443", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32597", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ExecMainStartTimestampMonotonic": "163023593", "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=[Tue 2022-06-21 11:17:36 EDT] ; stop_time=[n/a] ; pid=32597 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:36 EDT", "InactiveEnterTimestampMonotonic": "163019669", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:36 EDT", "InactiveExitTimestampMonotonic": "163023644", "InvocationID": "ea6c9075fca14f59a0975681e87f2867", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32597", "MemoryAccounting": "yes", "MemoryCurrent": "25989120", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:36 EDT", "StateChangeTimestampMonotonic": "163260564", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:36 EDT", "WatchdogTimestampMonotonic": "163260562", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:45 +0000 (0:00:00.507) 0:01:08.273 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.104) 0:01:08.378 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.032) 0:01:08.411 ********** ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.619) 0:01:09.030 ********** skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.042) 0:01:09.073 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.036) 0:01:09.110 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.033) 0:01:09.143 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.033) 0:01:09.176 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.034) 0:01:09.211 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.033) 0:01:09.244 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:128 Tuesday 21 June 2022 15:17:46 +0000 (0:00:00.040) 0:01:09.284 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:133 Tuesday 21 June 2022 15:17:47 +0000 (0:00:00.020) 0:01:09.305 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:47 +0000 (0:00:00.144) 0:01:09.449 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:47 +0000 (0:00:00.029) 0:01:09.479 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:47 +0000 (0:00:00.526) 0:01:10.005 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:48 +0000 (0:00:01.235) 0:01:11.240 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:48 +0000 (0:00:00.025) 0:01:11.266 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:50 +0000 (0:00:01.244) 0:01:12.510 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ActiveEnterTimestampMonotonic": "163260564", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:35 EDT", "ActiveExitTimestampMonotonic": "162357872", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:36 EDT", "AssertTimestampMonotonic": "163021443", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ConditionTimestampMonotonic": "163021443", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32597", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:36 EDT", "ExecMainStartTimestampMonotonic": "163023593", "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=[Tue 2022-06-21 11:17:36 EDT] ; stop_time=[n/a] ; pid=32597 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:36 EDT", "InactiveEnterTimestampMonotonic": "163019669", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:36 EDT", "InactiveExitTimestampMonotonic": "163023644", "InvocationID": "ea6c9075fca14f59a0975681e87f2867", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32597", "MemoryAccounting": "yes", "MemoryCurrent": "26177536", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:36 EDT", "StateChangeTimestampMonotonic": "163260564", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:36 EDT", "WatchdogTimestampMonotonic": "163260562", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:50 +0000 (0:00:00.500) 0:01:13.010 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:50 +0000 (0:00:00.045) 0:01:13.056 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:51 +0000 (0:00:01.053) 0:01:14.109 ********** ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.638) 0:01:14.747 ********** skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.041) 0:01:14.789 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.035) 0:01:14.824 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.032) 0:01:14.856 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.033) 0:01:14.889 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.285) 0:01:15.175 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.044) 0:01:15.219 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:141 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.042) 0:01:15.262 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmp2h2yn3_1/tests/tests_purge_config.yml:146 Tuesday 21 June 2022 15:17:52 +0000 (0:00:00.020) 0:01:15.282 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:17:53 +0000 (0:00:00.106) 0:01:15.389 ********** included: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:17:53 +0000 (0:00:00.031) 0:01:15.420 ********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 21 June 2022 15:17:53 +0000 (0:00:00.580) 0:01:16.001 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 21 June 2022 15:17:54 +0000 (0:00:01.282) 0:01:17.283 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 21 June 2022 15:17:55 +0000 (0:00:00.025) 0:01:17.309 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:17:56 +0000 (0:00:01.258) 0:01:18.568 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:17:51 EDT", "ActiveEnterTimestampMonotonic": "178068477", "ActiveExitTimestamp": "Tue 2022-06-21 11:17:50 EDT", "ActiveExitTimestampMonotonic": "177312936", "ActiveState": "active", "After": "polkit.service sysinit.target system.slice basic.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:17:50 EDT", "AssertTimestampMonotonic": "177827255", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:17:50 EDT", "ConditionTimestampMonotonic": "177827254", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "34235", "ExecMainStartTimestamp": "Tue 2022-06-21 11:17:50 EDT", "ExecMainStartTimestampMonotonic": "177828582", "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=[Tue 2022-06-21 11:17:50 EDT] ; stop_time=[n/a] ; pid=34235 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:17:50 EDT", "InactiveEnterTimestampMonotonic": "177825674", "InactiveExitTimestamp": "Tue 2022-06-21 11:17:50 EDT", "InactiveExitTimestampMonotonic": "177828632", "InvocationID": "e395cd8e807248c2b72523f8795563a2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "34235", "MemoryAccounting": "yes", "MemoryCurrent": "26030080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:17:51 EDT", "StateChangeTimestampMonotonic": "178068477", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:17:51 EDT", "WatchdogTimestampMonotonic": "178068475", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:17:56 +0000 (0:00:00.506) 0:01:19.074 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 21 June 2022 15:17:56 +0000 (0:00:00.049) 0:01:19.123 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 21 June 2022 15:17:57 +0000 (0:00:01.052) 0:01:20.176 ********** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 21 June 2022 15:17:57 +0000 (0:00:00.036) 0:01:20.213 ********** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:96 Tuesday 21 June 2022 15:17:57 +0000 (0:00:00.035) 0:01:20.248 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Tuesday 21 June 2022 15:17:58 +0000 (0:00:00.038) 0:01:20.287 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Tuesday 21 June 2022 15:17:58 +0000 (0:00:00.032) 0:01:20.320 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:17:58 +0000 (0:00:00.031) 0:01:20.352 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Tuesday 21 June 2022 15:17:58 +0000 (0:00:00.248) 0:01:20.600 ********** changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Tuesday 21 June 2022 15:17:58 +0000 (0:00:00.045) 0:01:20.646 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=102 changed=5 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 21 June 2022 15:17:58 +0000 (0:00:00.050) 0:01:20.696 ********** =============================================================================== linux-system-roles.firewall : Configure firewall ----------------------- 10.61s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 7.78s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 3.25s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 2.41s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Enable and start firewalld service -------- 1.79s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 1.49s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Install firewalld ------------------------- 1.39s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.32s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.30s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.29s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.28s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.28s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.28s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.27s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.26s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.26s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.26s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.26s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.25s /tmp/tmp2h2yn3_1/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmph58l1vt6 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Tuesday 21 June 2022 15:21:50 +0000 (0:00:00.018) 0:00:00.018 ********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 21 June 2022 15:21:51 +0000 (0:00:01.288) 0:00:01.306 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:1 Tuesday 21 June 2022 15:21:51 +0000 (0:00:00.035) 0:00:01.341 ********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:24 Tuesday 21 June 2022 15:21:52 +0000 (0:00:01.052) 0:00:02.394 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:21:52 +0000 (0:00:00.044) 0:00:02.439 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:21:52 +0000 (0:00:00.029) 0:00:02.468 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:21:53 +0000 (0:00:00.520) 0:00:02.989 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:21:55 +0000 (0:00:01.509) 0:00:04.498 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:21:55 +0000 (0:00:00.023) 0:00:04.522 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:21:56 +0000 (0:00:01.217) 0:00:05.739 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:21:33 EDT", "ActiveEnterTimestampMonotonic": "87818846", "ActiveExitTimestamp": "Tue 2022-06-21 11:21:32 EDT", "ActiveExitTimestampMonotonic": "86921818", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:21:33 EDT", "AssertTimestampMonotonic": "87576014", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:21:33 EDT", "ConditionTimestampMonotonic": "87576014", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "23421", "ExecMainStartTimestamp": "Tue 2022-06-21 11:21:33 EDT", "ExecMainStartTimestampMonotonic": "87577462", "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=[Tue 2022-06-21 11:21:33 EDT] ; stop_time=[n/a] ; pid=23421 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:21:33 EDT", "InactiveEnterTimestampMonotonic": "87574580", "InactiveExitTimestamp": "Tue 2022-06-21 11:21:33 EDT", "InactiveExitTimestampMonotonic": "87577507", "InvocationID": "071d5a8a278748c6bfc09e81477a3730", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "23421", "MemoryAccounting": "yes", "MemoryCurrent": "25968640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:21:33 EDT", "StateChangeTimestampMonotonic": "87818846", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:21:33 EDT", "WatchdogTimestampMonotonic": "87818844", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:21:57 +0000 (0:00:00.769) 0:00:06.508 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:21:57 +0000 (0:00:00.047) 0:00:06.556 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: 4baa9218a023fc374a6d44f36e4d903f1704a4c6ea197ebbbf907d5d346c9855 /etc/firewalld/services/custom.xml 7c44251e16d40a2094acf19e89ee92e643144edca26c5799a43af016fa1e965a /etc/firewalld/zones/public.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.970) 0:00:07.527 ********** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.042) 0:00:07.570 ********** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.040) 0:00:07.610 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.037) 0:00:07.647 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.033) 0:00:07.681 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.033) 0:00:07.714 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.247) 0:00:07.962 ********** changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.047) 0:00:08.009 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Run the role with no config] ********************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:31 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.043) 0:00:08.052 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.047) 0:00:08.100 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:21:58 +0000 (0:00:00.029) 0:00:08.130 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:21:59 +0000 (0:00:00.511) 0:00:08.641 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:00 +0000 (0:00:01.245) 0:00:09.887 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:00 +0000 (0:00:00.026) 0:00:09.913 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:01 +0000 (0:00:01.236) 0:00:11.150 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ActiveEnterTimestampMonotonic": "110622629", "ActiveExitTimestamp": "Tue 2022-06-21 11:21:55 EDT", "ActiveExitTimestampMonotonic": "109918641", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:21:56 EDT", "AssertTimestampMonotonic": "110380932", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ConditionTimestampMonotonic": "110380931", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25963", "ExecMainStartTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ExecMainStartTimestampMonotonic": "110382347", "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=[Tue 2022-06-21 11:21:56 EDT] ; stop_time=[n/a] ; pid=25963 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveEnterTimestampMonotonic": "110379462", "InactiveExitTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveExitTimestampMonotonic": "110382389", "InvocationID": "587df778fb784e4486df766e7b761630", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25963", "MemoryAccounting": "yes", "MemoryCurrent": "25071616", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:21:56 EDT", "StateChangeTimestampMonotonic": "110622629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:21:56 EDT", "WatchdogTimestampMonotonic": "110622627", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:02 +0000 (0:00:00.540) 0:00:11.690 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:02 +0000 (0:00:00.073) 0:00:11.764 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:02 +0000 (0:00:00.035) 0:00:11.800 ********** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:02 +0000 (0:00:00.068) 0:00:11.868 ********** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:02 +0000 (0:00:00.040) 0:00:11.908 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:02 +0000 (0:00:00.041) 0:00:11.949 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.604) 0:00:12.553 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.046) 0:00:12.600 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.031) 0:00:12.631 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.030) 0:00:12.662 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:35 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.040) 0:00:12.702 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:40 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.018) 0:00:12.721 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.051) 0:00:12.772 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.028) 0:00:12.800 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:03 +0000 (0:00:00.500) 0:00:13.301 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:05 +0000 (0:00:01.282) 0:00:14.583 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:05 +0000 (0:00:00.025) 0:00:14.608 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:06 +0000 (0:00:01.227) 0:00:15.836 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ActiveEnterTimestampMonotonic": "110622629", "ActiveExitTimestamp": "Tue 2022-06-21 11:21:55 EDT", "ActiveExitTimestampMonotonic": "109918641", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:21:56 EDT", "AssertTimestampMonotonic": "110380932", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ConditionTimestampMonotonic": "110380931", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25963", "ExecMainStartTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ExecMainStartTimestampMonotonic": "110382347", "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=[Tue 2022-06-21 11:21:56 EDT] ; stop_time=[n/a] ; pid=25963 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveEnterTimestampMonotonic": "110379462", "InactiveExitTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveExitTimestampMonotonic": "110382389", "InvocationID": "587df778fb784e4486df766e7b761630", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25963", "MemoryAccounting": "yes", "MemoryCurrent": "25948160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:21:56 EDT", "StateChangeTimestampMonotonic": "110622629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:21:56 EDT", "WatchdogTimestampMonotonic": "110622627", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:06 +0000 (0:00:00.494) 0:00:16.330 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:06 +0000 (0:00:00.046) 0:00:16.377 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:06 +0000 (0:00:00.033) 0:00:16.410 ********** changed: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } changed: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:10 +0000 (0:00:04.048) 0:00:20.459 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.074) 0:00:20.533 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.038) 0:00:20.572 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.033) 0:00:20.605 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.036) 0:00:20.642 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.033) 0:00:20.675 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.032) 0:00:20.708 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:46 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.038) 0:00:20.747 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:51 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.020) 0:00:20.767 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.051) 0:00:20.818 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.029) 0:00:20.848 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:11 +0000 (0:00:00.538) 0:00:21.387 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:13 +0000 (0:00:01.328) 0:00:22.715 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:13 +0000 (0:00:00.025) 0:00:22.741 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:14 +0000 (0:00:01.249) 0:00:23.990 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ActiveEnterTimestampMonotonic": "110622629", "ActiveExitTimestamp": "Tue 2022-06-21 11:21:55 EDT", "ActiveExitTimestampMonotonic": "109918641", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:21:56 EDT", "AssertTimestampMonotonic": "110380932", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ConditionTimestampMonotonic": "110380931", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25963", "ExecMainStartTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ExecMainStartTimestampMonotonic": "110382347", "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=[Tue 2022-06-21 11:21:56 EDT] ; stop_time=[n/a] ; pid=25963 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveEnterTimestampMonotonic": "110379462", "InactiveExitTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveExitTimestampMonotonic": "110382389", "InvocationID": "587df778fb784e4486df766e7b761630", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25963", "MemoryAccounting": "yes", "MemoryCurrent": "27275264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:21:56 EDT", "StateChangeTimestampMonotonic": "110622629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:21:56 EDT", "WatchdogTimestampMonotonic": "110622627", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:14 +0000 (0:00:00.497) 0:00:24.487 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:15 +0000 (0:00:00.048) 0:00:24.535 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:15 +0000 (0:00:00.032) 0:00:24.568 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:18 +0000 (0:00:03.276) 0:00:27.845 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.074) 0:00:27.919 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.040) 0:00:27.959 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.036) 0:00:27.995 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.035) 0:00:28.030 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.033) 0:00:28.064 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.032) 0:00:28.097 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:57 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.039) 0:00:28.136 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:62 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.020) 0:00:28.157 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.067) 0:00:28.224 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:18 +0000 (0:00:00.029) 0:00:28.254 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:19 +0000 (0:00:00.509) 0:00:28.764 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:20 +0000 (0:00:01.216) 0:00:29.981 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:20 +0000 (0:00:00.026) 0:00:30.007 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:21 +0000 (0:00:01.209) 0:00:31.216 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ActiveEnterTimestampMonotonic": "110622629", "ActiveExitTimestamp": "Tue 2022-06-21 11:21:55 EDT", "ActiveExitTimestampMonotonic": "109918641", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:21:56 EDT", "AssertTimestampMonotonic": "110380932", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ConditionTimestampMonotonic": "110380931", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25963", "ExecMainStartTimestamp": "Tue 2022-06-21 11:21:56 EDT", "ExecMainStartTimestampMonotonic": "110382347", "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=[Tue 2022-06-21 11:21:56 EDT] ; stop_time=[n/a] ; pid=25963 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveEnterTimestampMonotonic": "110379462", "InactiveExitTimestamp": "Tue 2022-06-21 11:21:56 EDT", "InactiveExitTimestampMonotonic": "110382389", "InvocationID": "587df778fb784e4486df766e7b761630", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25963", "MemoryAccounting": "yes", "MemoryCurrent": "27283456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:21:56 EDT", "StateChangeTimestampMonotonic": "110622629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:21:56 EDT", "WatchdogTimestampMonotonic": "110622627", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:22 +0000 (0:00:00.518) 0:00:31.735 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:22 +0000 (0:00:00.048) 0:00:31.783 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:23 +0000 (0:00:01.150) 0:00:32.933 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:27 +0000 (0:00:03.888) 0:00:36.821 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:27 +0000 (0:00:00.091) 0:00:36.913 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:27 +0000 (0:00:00.042) 0:00:36.955 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:27 +0000 (0:00:00.036) 0:00:36.992 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:27 +0000 (0:00:00.036) 0:00:37.028 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:27 +0000 (0:00:00.353) 0:00:37.382 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:27 +0000 (0:00:00.086) 0:00:37.468 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:68 Tuesday 21 June 2022 15:22:28 +0000 (0:00:00.043) 0:00:37.512 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:73 Tuesday 21 June 2022 15:22:28 +0000 (0:00:00.021) 0:00:37.533 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:28 +0000 (0:00:00.063) 0:00:37.596 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:28 +0000 (0:00:00.067) 0:00:37.663 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:28 +0000 (0:00:00.515) 0:00:38.179 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:29 +0000 (0:00:01.232) 0:00:39.411 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:29 +0000 (0:00:00.027) 0:00:39.438 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:31 +0000 (0:00:01.245) 0:00:40.684 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:22:22 EDT", "ActiveEnterTimestampMonotonic": "136026629", "ActiveExitTimestamp": "Tue 2022-06-21 11:22:21 EDT", "ActiveExitTimestampMonotonic": "135205096", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:22:21 EDT", "AssertTimestampMonotonic": "135786977", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:22:21 EDT", "ConditionTimestampMonotonic": "135786976", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29039", "ExecMainStartTimestamp": "Tue 2022-06-21 11:22:21 EDT", "ExecMainStartTimestampMonotonic": "135788404", "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=[Tue 2022-06-21 11:22:21 EDT] ; stop_time=[n/a] ; pid=29039 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:22:21 EDT", "InactiveEnterTimestampMonotonic": "135785502", "InactiveExitTimestamp": "Tue 2022-06-21 11:22:21 EDT", "InactiveExitTimestampMonotonic": "135788434", "InvocationID": "44a21facb1324d5aa54a9bca32212eca", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29039", "MemoryAccounting": "yes", "MemoryCurrent": "29347840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:22:22 EDT", "StateChangeTimestampMonotonic": "136026629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:22:22 EDT", "WatchdogTimestampMonotonic": "136026628", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:31 +0000 (0:00:00.513) 0:00:41.197 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:31 +0000 (0:00:00.048) 0:00:41.245 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:33 +0000 (0:00:01.252) 0:00:42.498 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:36 +0000 (0:00:03.949) 0:00:46.447 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.081) 0:00:46.529 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.040) 0:00:46.570 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.036) 0:00:46.606 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.035) 0:00:46.641 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.309) 0:00:46.950 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.046) 0:00:46.997 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:79 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.042) 0:00:47.040 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:84 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.020) 0:00:47.060 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.067) 0:00:47.128 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:37 +0000 (0:00:00.030) 0:00:47.158 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:38 +0000 (0:00:00.546) 0:00:47.704 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:39 +0000 (0:00:01.280) 0:00:48.984 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:39 +0000 (0:00:00.026) 0:00:49.010 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:40 +0000 (0:00:01.237) 0:00:50.248 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:22:31 EDT", "ActiveEnterTimestampMonotonic": "145590933", "ActiveExitTimestamp": "Tue 2022-06-21 11:22:30 EDT", "ActiveExitTimestampMonotonic": "144663277", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:22:31 EDT", "AssertTimestampMonotonic": "145351976", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:22:31 EDT", "ConditionTimestampMonotonic": "145351976", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30342", "ExecMainStartTimestamp": "Tue 2022-06-21 11:22:31 EDT", "ExecMainStartTimestampMonotonic": "145353307", "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=[Tue 2022-06-21 11:22:31 EDT] ; stop_time=[n/a] ; pid=30342 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:22:31 EDT", "InactiveEnterTimestampMonotonic": "145350535", "InactiveExitTimestamp": "Tue 2022-06-21 11:22:31 EDT", "InactiveExitTimestampMonotonic": "145353356", "InvocationID": "a4ddcc0177ae48e3bbbda282c85e5296", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30342", "MemoryAccounting": "yes", "MemoryCurrent": "31444992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:22:31 EDT", "StateChangeTimestampMonotonic": "145590933", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:22:31 EDT", "WatchdogTimestampMonotonic": "145590931", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:41 +0000 (0:00:00.535) 0:00:50.783 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:41 +0000 (0:00:00.082) 0:00:50.866 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:41 +0000 (0:00:00.035) 0:00:50.901 ********** ok: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:44 +0000 (0:00:03.330) 0:00:54.232 ********** skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:44 +0000 (0:00:00.075) 0:00:54.308 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:44 +0000 (0:00:00.040) 0:00:54.349 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:44 +0000 (0:00:00.036) 0:00:54.385 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:44 +0000 (0:00:00.035) 0:00:54.420 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:44 +0000 (0:00:00.033) 0:00:54.454 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:45 +0000 (0:00:00.034) 0:00:54.488 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:90 Tuesday 21 June 2022 15:22:45 +0000 (0:00:00.039) 0:00:54.528 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:95 Tuesday 21 June 2022 15:22:45 +0000 (0:00:00.021) 0:00:54.549 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:45 +0000 (0:00:00.076) 0:00:54.626 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:45 +0000 (0:00:00.028) 0:00:54.655 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:45 +0000 (0:00:00.508) 0:00:55.164 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:46 +0000 (0:00:01.228) 0:00:56.393 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:46 +0000 (0:00:00.025) 0:00:56.418 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:48 +0000 (0:00:01.365) 0:00:57.784 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:22:31 EDT", "ActiveEnterTimestampMonotonic": "145590933", "ActiveExitTimestamp": "Tue 2022-06-21 11:22:30 EDT", "ActiveExitTimestampMonotonic": "144663277", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:22:31 EDT", "AssertTimestampMonotonic": "145351976", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:22:31 EDT", "ConditionTimestampMonotonic": "145351976", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30342", "ExecMainStartTimestamp": "Tue 2022-06-21 11:22:31 EDT", "ExecMainStartTimestampMonotonic": "145353307", "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=[Tue 2022-06-21 11:22:31 EDT] ; stop_time=[n/a] ; pid=30342 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:22:31 EDT", "InactiveEnterTimestampMonotonic": "145350535", "InactiveExitTimestamp": "Tue 2022-06-21 11:22:31 EDT", "InactiveExitTimestampMonotonic": "145353356", "InvocationID": "a4ddcc0177ae48e3bbbda282c85e5296", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30342", "MemoryAccounting": "yes", "MemoryCurrent": "31547392", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:22:31 EDT", "StateChangeTimestampMonotonic": "145590933", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:22:31 EDT", "WatchdogTimestampMonotonic": "145590931", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:48 +0000 (0:00:00.494) 0:00:58.278 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:48 +0000 (0:00:00.045) 0:00:58.324 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:49 +0000 (0:00:01.138) 0:00:59.463 ********** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.036) 0:00:59.500 ********** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.036) 0:00:59.536 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.039) 0:00:59.576 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.032) 0:00:59.609 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.031) 0:00:59.641 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.294) 0:00:59.935 ********** changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.079) 0:01:00.015 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:102 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.042) 0:01:00.057 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:107 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.021) 0:01:00.079 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.127) 0:01:00.206 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:50 +0000 (0:00:00.029) 0:01:00.236 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:51 +0000 (0:00:00.503) 0:01:00.739 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:52 +0000 (0:00:01.233) 0:01:01.972 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:52 +0000 (0:00:00.024) 0:01:01.997 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:53 +0000 (0:00:01.233) 0:01:03.230 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ActiveEnterTimestampMonotonic": "162557342", "ActiveExitTimestamp": "Tue 2022-06-21 11:22:47 EDT", "ActiveExitTimestampMonotonic": "161725649", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:22:48 EDT", "AssertTimestampMonotonic": "162313518", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ConditionTimestampMonotonic": "162313517", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32594", "ExecMainStartTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ExecMainStartTimestampMonotonic": "162314609", "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=[Tue 2022-06-21 11:22:48 EDT] ; stop_time=[n/a] ; pid=32594 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:22:48 EDT", "InactiveEnterTimestampMonotonic": "162312491", "InactiveExitTimestamp": "Tue 2022-06-21 11:22:48 EDT", "InactiveExitTimestampMonotonic": "162314645", "InvocationID": "6f944cb7dd9a4f07811ac30f4e1afbfa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32594", "MemoryAccounting": "yes", "MemoryCurrent": "25079808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:22:48 EDT", "StateChangeTimestampMonotonic": "162557342", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:22:48 EDT", "WatchdogTimestampMonotonic": "162557340", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:54 +0000 (0:00:00.496) 0:01:03.726 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:54 +0000 (0:00:00.049) 0:01:03.776 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:54 +0000 (0:00:00.032) 0:01:03.809 ********** changed: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:54 +0000 (0:00:00.609) 0:01:04.418 ********** skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:54 +0000 (0:00:00.044) 0:01:04.462 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.037) 0:01:04.499 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.032) 0:01:04.531 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.034) 0:01:04.566 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.031) 0:01:04.597 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.034) 0:01:04.631 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:114 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.040) 0:01:04.672 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:119 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.020) 0:01:04.693 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.084) 0:01:04.777 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.028) 0:01:04.806 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:22:55 +0000 (0:00:00.517) 0:01:05.324 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:22:57 +0000 (0:00:01.217) 0:01:06.541 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:22:57 +0000 (0:00:00.024) 0:01:06.565 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:22:58 +0000 (0:00:01.224) 0:01:07.790 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ActiveEnterTimestampMonotonic": "162557342", "ActiveExitTimestamp": "Tue 2022-06-21 11:22:47 EDT", "ActiveExitTimestampMonotonic": "161725649", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:22:48 EDT", "AssertTimestampMonotonic": "162313518", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ConditionTimestampMonotonic": "162313517", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32594", "ExecMainStartTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ExecMainStartTimestampMonotonic": "162314609", "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=[Tue 2022-06-21 11:22:48 EDT] ; stop_time=[n/a] ; pid=32594 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:22:48 EDT", "InactiveEnterTimestampMonotonic": "162312491", "InactiveExitTimestamp": "Tue 2022-06-21 11:22:48 EDT", "InactiveExitTimestampMonotonic": "162314645", "InvocationID": "6f944cb7dd9a4f07811ac30f4e1afbfa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32594", "MemoryAccounting": "yes", "MemoryCurrent": "26001408", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:22:48 EDT", "StateChangeTimestampMonotonic": "162557342", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:22:48 EDT", "WatchdogTimestampMonotonic": "162557340", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:22:58 +0000 (0:00:00.564) 0:01:08.355 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:22:58 +0000 (0:00:00.084) 0:01:08.439 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:22:58 +0000 (0:00:00.031) 0:01:08.471 ********** ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.607) 0:01:09.078 ********** skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.041) 0:01:09.120 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.034) 0:01:09.154 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.030) 0:01:09.185 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.030) 0:01:09.215 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.029) 0:01:09.245 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.029) 0:01:09.275 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:126 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.038) 0:01:09.313 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:131 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.056) 0:01:09.370 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:22:59 +0000 (0:00:00.104) 0:01:09.474 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:23:00 +0000 (0:00:00.030) 0:01:09.505 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:23:00 +0000 (0:00:00.520) 0:01:10.025 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:23:01 +0000 (0:00:01.210) 0:01:11.235 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:23:01 +0000 (0:00:00.026) 0:01:11.262 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:23:03 +0000 (0:00:01.298) 0:01:12.560 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ActiveEnterTimestampMonotonic": "162557342", "ActiveExitTimestamp": "Tue 2022-06-21 11:22:47 EDT", "ActiveExitTimestampMonotonic": "161725649", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:22:48 EDT", "AssertTimestampMonotonic": "162313518", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ConditionTimestampMonotonic": "162313517", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32594", "ExecMainStartTimestamp": "Tue 2022-06-21 11:22:48 EDT", "ExecMainStartTimestampMonotonic": "162314609", "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=[Tue 2022-06-21 11:22:48 EDT] ; stop_time=[n/a] ; pid=32594 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:22:48 EDT", "InactiveEnterTimestampMonotonic": "162312491", "InactiveExitTimestamp": "Tue 2022-06-21 11:22:48 EDT", "InactiveExitTimestampMonotonic": "162314645", "InvocationID": "6f944cb7dd9a4f07811ac30f4e1afbfa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32594", "MemoryAccounting": "yes", "MemoryCurrent": "26202112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:22:48 EDT", "StateChangeTimestampMonotonic": "162557342", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:22:48 EDT", "WatchdogTimestampMonotonic": "162557340", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:23:03 +0000 (0:00:00.515) 0:01:13.076 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:23:03 +0000 (0:00:00.048) 0:01:13.125 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:23:04 +0000 (0:00:01.119) 0:01:14.245 ********** ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.638) 0:01:14.883 ********** skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.044) 0:01:14.928 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.037) 0:01:14.965 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.033) 0:01:14.998 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.035) 0:01:15.033 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.302) 0:01:15.336 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.047) 0:01:15.384 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:139 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.041) 0:01:15.426 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpx0o7_kl6/tests/firewall/tests_purge_config.yml:144 Tuesday 21 June 2022 15:23:05 +0000 (0:00:00.020) 0:01:15.446 ********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 21 June 2022 15:23:06 +0000 (0:00:00.135) 0:01:15.581 ********** included: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 21 June 2022 15:23:06 +0000 (0:00:00.030) 0:01:15.611 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 21 June 2022 15:23:06 +0000 (0:00:00.552) 0:01:16.163 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Tuesday 21 June 2022 15:23:07 +0000 (0:00:01.258) 0:01:17.422 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Tuesday 21 June 2022 15:23:07 +0000 (0:00:00.031) 0:01:17.453 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 21 June 2022 15:23:09 +0000 (0:00:01.212) 0:01:18.665 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-21 11:23:03 EDT", "ActiveEnterTimestampMonotonic": "177337149", "ActiveExitTimestamp": "Tue 2022-06-21 11:23:02 EDT", "ActiveExitTimestampMonotonic": "176548208", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-21 11:23:03 EDT", "AssertTimestampMonotonic": "177097757", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-06-21 11:23:03 EDT", "ConditionTimestampMonotonic": "177097757", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "34234", "ExecMainStartTimestamp": "Tue 2022-06-21 11:23:03 EDT", "ExecMainStartTimestampMonotonic": "177099060", "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=[Tue 2022-06-21 11:23:03 EDT] ; stop_time=[n/a] ; pid=34234 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-21 11:23:03 EDT", "InactiveEnterTimestampMonotonic": "177096452", "InactiveExitTimestamp": "Tue 2022-06-21 11:23:03 EDT", "InactiveExitTimestampMonotonic": "177099098", "InvocationID": "962b7739d39a49e6ab45a9dfbf90816d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "34234", "MemoryAccounting": "yes", "MemoryCurrent": "25985024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-21 11:23:03 EDT", "StateChangeTimestampMonotonic": "177337149", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-06-21 11:23:03 EDT", "WatchdogTimestampMonotonic": "177337148", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 21 June 2022 15:23:09 +0000 (0:00:00.497) 0:01:19.163 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 21 June 2022 15:23:09 +0000 (0:00:00.049) 0:01:19.213 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 21 June 2022 15:23:10 +0000 (0:00:01.045) 0:01:20.258 ********** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:78 Tuesday 21 June 2022 15:23:10 +0000 (0:00:00.036) 0:01:20.294 ********** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:88 Tuesday 21 June 2022 15:23:10 +0000 (0:00:00.033) 0:01:20.328 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 21 June 2022 15:23:10 +0000 (0:00:00.035) 0:01:20.363 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 21 June 2022 15:23:10 +0000 (0:00:00.033) 0:01:20.396 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 21 June 2022 15:23:10 +0000 (0:00:00.034) 0:01:20.431 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 21 June 2022 15:23:11 +0000 (0:00:00.250) 0:01:20.681 ********** changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 21 June 2022 15:23:11 +0000 (0:00:00.049) 0:01:20.731 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=102 changed=5 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 21 June 2022 15:23:11 +0000 (0:00:00.051) 0:01:20.783 ********** =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ---------------- 10.66s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 7.84s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 3.15s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 2.40s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.76s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.53s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.51s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.37s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.33s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.30s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.28s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.28s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.26s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.25s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.25s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.25s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.24s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.24s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.23s /tmp/tmph58l1vt6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7