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/tmprzrc8rs_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 23 June 2022 17:08:38 +0000 (0:00:00.017) 0:00:00.017 ********* 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 Thursday 23 June 2022 17:08:39 +0000 (0:00:01.276) 0:00:01.294 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpulwi5xtv/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:1 Thursday 23 June 2022 17:08:39 +0000 (0:00:00.011) 0:00:01.306 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:5 Thursday 23 June 2022 17:08:40 +0000 (0:00:01.037) 0:00:02.343 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 17:08:40 +0000 (0:00:00.035) 0:00:02.378 ********* included: /tmp/tmpulwi5xtv/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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:08:40 +0000 (0:00:00.026) 0:00:02.405 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 17:08:41 +0000 (0:00:00.510) 0:00:02.916 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 17:08:42 +0000 (0:00:01.456) 0:00:04.372 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 17:08:42 +0000 (0:00:00.023) 0:00:04.396 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 17:08:43 +0000 (0:00:01.212) 0:00:05.608 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 13:08:36 EDT", "ActiveEnterTimestampMonotonic": "260198896", "ActiveExitTimestamp": "Thu 2022-06-23 13:08:35 EDT", "ActiveExitTimestampMonotonic": "259475505", "ActiveState": "active", "After": "polkit.service system.slice dbus.service dbus.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 13:08:36 EDT", "AssertTimestampMonotonic": "259952689", "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": "Thu 2022-06-23 13:08:36 EDT", "ConditionTimestampMonotonic": "259952689", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service ebtables.service shutdown.target nftables.service ip6tables.service iptables.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": "42995", "ExecMainStartTimestamp": "Thu 2022-06-23 13:08:36 EDT", "ExecMainStartTimestampMonotonic": "259954114", "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=[Thu 2022-06-23 13:08:36 EDT] ; stop_time=[n/a] ; pid=42995 ; 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": "Thu 2022-06-23 13:08:36 EDT", "InactiveEnterTimestampMonotonic": "259951610", "InactiveExitTimestamp": "Thu 2022-06-23 13:08:36 EDT", "InactiveExitTimestampMonotonic": "259954153", "InvocationID": "28c18daa6e9a4aed8a3e30eb624057ab", "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": "42995", "MemoryAccounting": "yes", "MemoryCurrent": "25047040", "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": "Thu 2022-06-23 13:08:36 EDT", "StateChangeTimestampMonotonic": "260198896", "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": "Thu 2022-06-23 13:08:36 EDT", "WatchdogTimestampMonotonic": "260198894", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 17:08:44 +0000 (0:00:00.764) 0:00:06.373 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 17:08:44 +0000 (0:00:00.047) 0:00:06.420 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 17:08:44 +0000 (0:00:00.032) 0:00:06.453 ********* ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'public', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" } } changed: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Thursday 23 June 2022 17:08:46 +0000 (0:00:01.698) 0:00:08.151 ********* skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'public', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "enabled", "target": "DROP" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.044) 0:00:08.196 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.034) 0:00:08.231 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.034) 0:00:08.265 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.037) 0:00:08.303 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.030) 0:00:08.334 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.032) 0:00:08.366 ********* skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:16 Thursday 23 June 2022 17:08:46 +0000 (0:00:00.038) 0:00:08.405 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.268296", "end": "2022-06-23 13:08:46.755846", "rc": 0, "start": "2022-06-23 13:08:46.487550" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:21 Thursday 23 June 2022 17:08:47 +0000 (0:00:00.771) 0:00:09.176 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:27 Thursday 23 June 2022 17:08:47 +0000 (0:00:00.030) 0:00:09.207 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 17:08:47 +0000 (0:00:00.039) 0:00:09.246 ********* included: /tmp/tmpulwi5xtv/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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:08:47 +0000 (0:00:00.025) 0:00:09.271 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 17:08:48 +0000 (0:00:00.536) 0:00:09.807 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 17:08:49 +0000 (0:00:01.265) 0:00:11.073 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 17:08:49 +0000 (0:00:00.023) 0:00:11.096 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 17:08:50 +0000 (0:00:01.286) 0:00:12.383 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 13:08:36 EDT", "ActiveEnterTimestampMonotonic": "260198896", "ActiveExitTimestamp": "Thu 2022-06-23 13:08:35 EDT", "ActiveExitTimestampMonotonic": "259475505", "ActiveState": "active", "After": "polkit.service system.slice dbus.service dbus.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 13:08:36 EDT", "AssertTimestampMonotonic": "259952689", "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": "Thu 2022-06-23 13:08:36 EDT", "ConditionTimestampMonotonic": "259952689", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service ebtables.service shutdown.target nftables.service ip6tables.service iptables.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": "42995", "ExecMainStartTimestamp": "Thu 2022-06-23 13:08:36 EDT", "ExecMainStartTimestampMonotonic": "259954114", "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=[Thu 2022-06-23 13:08:36 EDT] ; stop_time=[n/a] ; pid=42995 ; 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": "Thu 2022-06-23 13:08:36 EDT", "InactiveEnterTimestampMonotonic": "259951610", "InactiveExitTimestamp": "Thu 2022-06-23 13:08:36 EDT", "InactiveExitTimestampMonotonic": "259954153", "InvocationID": "28c18daa6e9a4aed8a3e30eb624057ab", "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": "42995", "MemoryAccounting": "yes", "MemoryCurrent": "27230208", "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": "Thu 2022-06-23 13:08:36 EDT", "StateChangeTimestampMonotonic": "260198896", "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": "Thu 2022-06-23 13:08:36 EDT", "WatchdogTimestampMonotonic": "260198894", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 17:08:51 +0000 (0:00:00.528) 0:00:12.911 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 17:08:51 +0000 (0:00:00.071) 0:00:12.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 17:08:51 +0000 (0:00:00.033) 0:00:13.016 ********* changed: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Thursday 23 June 2022 17:08:52 +0000 (0:00:01.038) 0:00:14.054 ********* skipping: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "absent", "target": "DROP" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.042) 0:00:14.097 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.033) 0:00:14.130 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.032) 0:00:14.162 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.032) 0:00:14.194 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.080) 0:00:14.275 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.032) 0:00:14.308 ********* skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:36 Thursday 23 June 2022 17:08:52 +0000 (0:00:00.039) 0:00:14.348 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.276085", "end": "2022-06-23 13:08:52.577628", "rc": 0, "start": "2022-06-23 13:08:52.301543" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:41 Thursday 23 June 2022 17:08:53 +0000 (0:00:00.650) 0:00:14.998 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_target.yml:47 Thursday 23 June 2022 17:08:53 +0000 (0:00:00.031) 0:00:15.030 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 17:08:53 +0000 (0:00:00.047) 0:00:15.077 ********* included: /tmp/tmpulwi5xtv/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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:08:53 +0000 (0:00:00.027) 0:00:15.105 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 17:08:53 +0000 (0:00:00.512) 0:00:15.617 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 17:08:55 +0000 (0:00:01.317) 0:00:16.935 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 17:08:55 +0000 (0:00:00.025) 0:00:16.960 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 17:08:56 +0000 (0:00:01.221) 0:00:18.182 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 13:08:36 EDT", "ActiveEnterTimestampMonotonic": "260198896", "ActiveExitTimestamp": "Thu 2022-06-23 13:08:35 EDT", "ActiveExitTimestampMonotonic": "259475505", "ActiveState": "active", "After": "polkit.service system.slice dbus.service dbus.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 13:08:36 EDT", "AssertTimestampMonotonic": "259952689", "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": "Thu 2022-06-23 13:08:36 EDT", "ConditionTimestampMonotonic": "259952689", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service ebtables.service shutdown.target nftables.service ip6tables.service iptables.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": "42995", "ExecMainStartTimestamp": "Thu 2022-06-23 13:08:36 EDT", "ExecMainStartTimestampMonotonic": "259954114", "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=[Thu 2022-06-23 13:08:36 EDT] ; stop_time=[n/a] ; pid=42995 ; 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": "Thu 2022-06-23 13:08:36 EDT", "InactiveEnterTimestampMonotonic": "259951610", "InactiveExitTimestamp": "Thu 2022-06-23 13:08:36 EDT", "InactiveExitTimestampMonotonic": "259954153", "InvocationID": "28c18daa6e9a4aed8a3e30eb624057ab", "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": "42995", "MemoryAccounting": "yes", "MemoryCurrent": "27607040", "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": "Thu 2022-06-23 13:08:36 EDT", "StateChangeTimestampMonotonic": "260198896", "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": "Thu 2022-06-23 13:08:36 EDT", "WatchdogTimestampMonotonic": "260198894", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 17:08:57 +0000 (0:00:00.506) 0:00:18.689 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 17:08:57 +0000 (0:00:00.046) 0:00:18.735 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.971) 0:00:19.707 ********* TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.035) 0:00:19.742 ********* TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.034) 0:00:19.777 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.038) 0:00:19.816 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.032) 0:00:19.848 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.032) 0:00:19.881 ********* 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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.244) 0:00:20.125 ********* changed: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.045) 0:00:20.171 ********* 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=29 changed=3 unreachable=0 failed=0 skipped=25 rescued=0 ignored=0 Thursday 23 June 2022 17:08:58 +0000 (0:00:00.048) 0:00:20.219 ********* =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.70s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 1.46s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.32s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.29s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.27s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.22s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.21s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 1.04s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpulwi5xtv/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.97s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Get target setting ------------------------------------------------------ 0.77s /tmp/tmpulwi5xtv/tests/tests_target.yml:16 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.76s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Get target setting ------------------------------------------------------ 0.65s /tmp/tmpulwi5xtv/tests/tests_target.yml:36 ------------------------------------ linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.54s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.53s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.51s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Get config files, checksums after --------- 0.24s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 --- 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/tmprzrc8rs_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 23 June 2022 17:13:58 +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 Thursday 23 June 2022 17:13:59 +0000 (0:00:01.299) 0:00:01.317 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmp4_njao04/tests/firewall/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:1 Thursday 23 June 2022 17:13:59 +0000 (0:00:00.011) 0:00:01.329 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:5 Thursday 23 June 2022 17:14:00 +0000 (0:00:01.040) 0:00:02.369 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 17:14:00 +0000 (0:00:00.043) 0:00:02.412 ********* included: /tmp/tmprzrc8rs_/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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:14:01 +0000 (0:00:00.029) 0:00:02.442 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 17:14:01 +0000 (0:00:00.511) 0:00:02.954 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 17:14:02 +0000 (0:00:01.471) 0:00:04.425 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 17:14:03 +0000 (0:00:00.025) 0:00:04.451 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 17:14:04 +0000 (0:00:01.270) 0:00:05.722 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 13:13:56 EDT", "ActiveEnterTimestampMonotonic": "261482404", "ActiveExitTimestamp": "Thu 2022-06-23 13:13:55 EDT", "ActiveExitTimestampMonotonic": "260770534", "ActiveState": "active", "After": "sysinit.target system.slice basic.target dbus.socket dbus.service polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 13:13:56 EDT", "AssertTimestampMonotonic": "261239523", "Before": "network-pre.target multi-user.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": "Thu 2022-06-23 13:13:56 EDT", "ConditionTimestampMonotonic": "261239523", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ip6tables.service ebtables.service ipset.service shutdown.target", "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": "42995", "ExecMainStartTimestamp": "Thu 2022-06-23 13:13:56 EDT", "ExecMainStartTimestampMonotonic": "261241897", "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=[Thu 2022-06-23 13:13:56 EDT] ; stop_time=[n/a] ; pid=42995 ; 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": "Thu 2022-06-23 13:13:56 EDT", "InactiveEnterTimestampMonotonic": "261236964", "InactiveExitTimestamp": "Thu 2022-06-23 13:13:56 EDT", "InactiveExitTimestampMonotonic": "261241957", "InvocationID": "b7fe4491dcae4cfd99f6c9c06e2fc840", "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": "42995", "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": "sysinit.target system.slice 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": "Thu 2022-06-23 13:13:56 EDT", "StateChangeTimestampMonotonic": "261482404", "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": "Thu 2022-06-23 13:13:56 EDT", "WatchdogTimestampMonotonic": "261482402", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 17:14:05 +0000 (0:00:00.762) 0:00:06.484 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 17:14:05 +0000 (0:00:00.049) 0:00:06.533 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 17:14:05 +0000 (0:00:00.032) 0:00:06.566 ********* ok: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'public', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" } } changed: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Thursday 23 June 2022 17:14:06 +0000 (0:00:01.689) 0:00:08.255 ********* skipping: [/cache/rhel-8.qcow2] => (item={'set_default_zone': 'public', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "enabled", "target": "DROP" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Thursday 23 June 2022 17:14:06 +0000 (0:00:00.052) 0:00:08.307 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Thursday 23 June 2022 17:14:06 +0000 (0:00:00.036) 0:00:08.343 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Thursday 23 June 2022 17:14:06 +0000 (0:00:00.034) 0:00:08.378 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Thursday 23 June 2022 17:14:06 +0000 (0:00:00.036) 0:00:08.414 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.030) 0:00:08.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.033) 0:00:08.477 ********* skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:16 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.041) 0:00:08.518 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.244427", "end": "2022-06-23 13:14:07.009495", "rc": 0, "start": "2022-06-23 13:14:06.765068" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:21 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.742) 0:00:09.261 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:27 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.030) 0:00:09.292 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.045) 0:00:09.338 ********* included: /tmp/tmprzrc8rs_/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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:14:07 +0000 (0:00:00.027) 0:00:09.366 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 17:14:08 +0000 (0:00:00.516) 0:00:09.882 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 17:14:09 +0000 (0:00:01.284) 0:00:11.166 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 17:14:09 +0000 (0:00:00.024) 0:00:11.191 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 17:14:11 +0000 (0:00:01.260) 0:00:12.451 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 13:13:56 EDT", "ActiveEnterTimestampMonotonic": "261482404", "ActiveExitTimestamp": "Thu 2022-06-23 13:13:55 EDT", "ActiveExitTimestampMonotonic": "260770534", "ActiveState": "active", "After": "sysinit.target system.slice basic.target dbus.socket dbus.service polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 13:13:56 EDT", "AssertTimestampMonotonic": "261239523", "Before": "network-pre.target multi-user.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": "Thu 2022-06-23 13:13:56 EDT", "ConditionTimestampMonotonic": "261239523", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ip6tables.service ebtables.service ipset.service shutdown.target", "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": "42995", "ExecMainStartTimestamp": "Thu 2022-06-23 13:13:56 EDT", "ExecMainStartTimestampMonotonic": "261241897", "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=[Thu 2022-06-23 13:13:56 EDT] ; stop_time=[n/a] ; pid=42995 ; 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": "Thu 2022-06-23 13:13:56 EDT", "InactiveEnterTimestampMonotonic": "261236964", "InactiveExitTimestamp": "Thu 2022-06-23 13:13:56 EDT", "InactiveExitTimestampMonotonic": "261241957", "InvocationID": "b7fe4491dcae4cfd99f6c9c06e2fc840", "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": "42995", "MemoryAccounting": "yes", "MemoryCurrent": "27238400", "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": "sysinit.target system.slice 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": "Thu 2022-06-23 13:13:56 EDT", "StateChangeTimestampMonotonic": "261482404", "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": "Thu 2022-06-23 13:13:56 EDT", "WatchdogTimestampMonotonic": "261482402", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 17:14:11 +0000 (0:00:00.491) 0:00:12.943 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 17:14:11 +0000 (0:00:00.074) 0:00:13.018 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 17:14:11 +0000 (0:00:00.033) 0:00:13.052 ********* changed: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Thursday 23 June 2022 17:14:12 +0000 (0:00:01.037) 0:00:14.090 ********* skipping: [/cache/rhel-8.qcow2] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "absent", "target": "DROP" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.040) 0:00:14.131 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.030) 0:00:14.162 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.029) 0:00:14.192 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.033) 0:00:14.225 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.087) 0:00:14.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.033) 0:00:14.346 ********* skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:36 Thursday 23 June 2022 17:14:12 +0000 (0:00:00.039) 0:00:14.385 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.244723", "end": "2022-06-23 13:14:12.744129", "rc": 0, "start": "2022-06-23 13:14:12.499406" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:41 Thursday 23 June 2022 17:14:13 +0000 (0:00:00.607) 0:00:14.993 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_target.yml:47 Thursday 23 June 2022 17:14:13 +0000 (0:00:00.029) 0:00:15.023 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 17:14:13 +0000 (0:00:00.051) 0:00:15.074 ********* included: /tmp/tmprzrc8rs_/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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:14:13 +0000 (0:00:00.028) 0:00:15.103 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 17:14:14 +0000 (0:00:00.497) 0:00:15.600 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 17:14:15 +0000 (0:00:01.240) 0:00:16.841 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 17:14:15 +0000 (0:00:00.023) 0:00:16.864 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 17:14:16 +0000 (0:00:01.224) 0:00:18.089 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 13:13:56 EDT", "ActiveEnterTimestampMonotonic": "261482404", "ActiveExitTimestamp": "Thu 2022-06-23 13:13:55 EDT", "ActiveExitTimestampMonotonic": "260770534", "ActiveState": "active", "After": "sysinit.target system.slice basic.target dbus.socket dbus.service polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 13:13:56 EDT", "AssertTimestampMonotonic": "261239523", "Before": "network-pre.target multi-user.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": "Thu 2022-06-23 13:13:56 EDT", "ConditionTimestampMonotonic": "261239523", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ip6tables.service ebtables.service ipset.service shutdown.target", "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": "42995", "ExecMainStartTimestamp": "Thu 2022-06-23 13:13:56 EDT", "ExecMainStartTimestampMonotonic": "261241897", "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=[Thu 2022-06-23 13:13:56 EDT] ; stop_time=[n/a] ; pid=42995 ; 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": "Thu 2022-06-23 13:13:56 EDT", "InactiveEnterTimestampMonotonic": "261236964", "InactiveExitTimestamp": "Thu 2022-06-23 13:13:56 EDT", "InactiveExitTimestampMonotonic": "261241957", "InvocationID": "b7fe4491dcae4cfd99f6c9c06e2fc840", "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": "42995", "MemoryAccounting": "yes", "MemoryCurrent": "27619328", "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": "sysinit.target system.slice 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": "Thu 2022-06-23 13:13:56 EDT", "StateChangeTimestampMonotonic": "261482404", "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": "Thu 2022-06-23 13:13:56 EDT", "WatchdogTimestampMonotonic": "261482402", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 17:14:17 +0000 (0:00:00.496) 0:00:18.585 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 17:14:17 +0000 (0:00:00.047) 0:00:18.633 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.945) 0:00:19.579 ********* TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.033) 0:00:19.612 ********* TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.035) 0:00:19.648 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.037) 0:00:19.686 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.031) 0:00:19.717 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.032) 0:00:19.750 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.244) 0:00:19.995 ********* 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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.045) 0:00:20.040 ********* 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=29 changed=3 unreachable=0 failed=0 skipped=25 rescued=0 ignored=0 Thursday 23 June 2022 17:14:18 +0000 (0:00:00.048) 0:00:20.089 ********* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.69s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.47s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.28s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.27s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.26s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.24s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.22s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp4_njao04/tests/firewall/tests_target.yml:1 ---------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.04s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.95s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.76s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Get target setting ------------------------------------------------------ 0.74s /tmp/tmp4_njao04/tests/firewall/tests_target.yml:16 --------------------------- Get target setting ------------------------------------------------------ 0.61s /tmp/tmp4_njao04/tests/firewall/tests_target.yml:36 --------------------------- fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.52s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.51s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.50s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.50s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.49s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.24s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114