Formatting '/cache/rhel-8-y.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/rhel-8-y.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpv5gmvypb 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-y_setup.yml *************************************************** 2 plays in /cache/rhel-8-y_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8-y_setup.yml:5 Friday 22 July 2022 00:25:14 +0000 (0:00:00.017) 0:00:00.017 *********** changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/rhel-8-y_setup.yml:19 Friday 22 July 2022 00:25:15 +0000 (0:00:01.399) 0:00:01.417 *********** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Create EPEL 8 repo] ****************************************************** task path: /cache/rhel-8-y_setup.yml:23 Friday 22 July 2022 00:25:16 +0000 (0:00:01.108) 0:00:02.525 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/rhel-8-y_setup.yml:33 Friday 22 July 2022 00:25:23 +0000 (0:00:06.433) 0:00:08.959 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/rhel-8-y_setup.yml:39 Friday 22 July 2022 00:25:23 +0000 (0:00:00.019) 0:00:08.979 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/rhel-8-y_setup.yml:45 Friday 22 July 2022 00:25:31 +0000 (0:00:08.185) 0:00:17.165 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/rhel-8-y_setup.yml:53 Friday 22 July 2022 00:25:31 +0000 (0:00:00.023) 0:00:17.188 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=5 changed=4 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Friday 22 July 2022 00:25:32 +0000 (0:00:00.792) 0:00:17.980 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 8.19s /cache/rhel-8-y_setup.yml:39 -------------------------------------------------- Create EPEL 8 repo ------------------------------------------------------ 6.43s /cache/rhel-8-y_setup.yml:23 -------------------------------------------------- set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8-y_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.11s /cache/rhel-8-y_setup.yml:19 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.79s /cache/rhel-8-y_setup.yml:53 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:45 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:33 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml:1 Friday 22 July 2022 00:25:32 +0000 (0:00:00.012) 0:00:17.993 *********** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml:3 Friday 22 July 2022 00:25:33 +0000 (0:00:00.814) 0:00:18.808 *********** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:25:33 +0000 (0:00:00.034) 0:00:18.842 *********** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:25:33 +0000 (0:00:00.532) 0:00:19.375 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: python3-nftables-1:0.9.3-26.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: iptables-libs-1.8.4-22.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: nftables-1:0.9.3-26.el8.x86_64", "Installed: python3-slip-0.6.4-13.el8.noarch", "Installed: python3-slip-dbus-0.6.4-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:25:36 +0000 (0:00:03.352) 0:00:22.727 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:25:36 +0000 (0:00:00.023) 0:00:22.751 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=9 changed=5 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Friday 22 July 2022 00:25:38 +0000 (0:00:01.333) 0:00:24.084 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 8.19s /cache/rhel-8-y_setup.yml:39 -------------------------------------------------- Create EPEL 8 repo ------------------------------------------------------ 6.43s /cache/rhel-8-y_setup.yml:23 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.35s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8-y_setup.yml:5 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.33s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.11s /cache/rhel-8-y_setup.yml:19 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.79s /cache/rhel-8-y_setup.yml:53 -------------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.53s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:45 -------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:33 -------------------------------------------------- PLAYBOOK: rhel-8-y_post_setup.yml ********************************************** 1 plays in /cache/rhel-8-y_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/rhel-8-y_post_setup.yml:5 Friday 22 July 2022 00:25:38 +0000 (0:00:00.018) 0:00:24.103 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/rhel-8-y_post_setup.yml:8 Friday 22 July 2022 00:25:38 +0000 (0:00:00.446) 0:00:24.550 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=11 changed=7 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Friday 22 July 2022 00:25:39 +0000 (0:00:00.537) 0:00:25.087 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 8.19s /cache/rhel-8-y_setup.yml:39 -------------------------------------------------- Create EPEL 8 repo ------------------------------------------------------ 6.43s /cache/rhel-8-y_setup.yml:23 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.35s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8-y_setup.yml:5 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.33s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.11s /cache/rhel-8-y_setup.yml:19 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.79s /cache/rhel-8-y_setup.yml:53 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.54s /cache/rhel-8-y_post_setup.yml:8 ---------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.53s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.45s /cache/rhel-8-y_post_setup.yml:5 ---------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpt2nwa_5x/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:45 -------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:33 -------------------------------------------------- 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/tmpv5gmvypb executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpt2nwa_5x/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:1 Friday 22 July 2022 00:26:23 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:26:24 +0000 (0:00:01.176) 0:00:01.191 *********** included: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:26:24 +0000 (0:00:00.030) 0:00:01.221 *********** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:26:25 +0000 (0:00:00.507) 0:00:01.729 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:26:27 +0000 (0:00:01.969) 0:00:03.698 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:26:27 +0000 (0:00:00.025) 0:00:03.724 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:26:28 +0000 (0:00:01.323) 0:00:05.047 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:26:18 EDT", "ActiveEnterTimestampMonotonic": "4590752", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:26:18 EDT", "AssertTimestampMonotonic": "4251567", "Before": "network-pre.target shutdown.target multi-user.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-07-21 20:26:18 EDT", "ConditionTimestampMonotonic": "4251567", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service nftables.service shutdown.target ip6tables.service ipset.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": "964", "ExecMainStartTimestamp": "Thu 2022-07-21 20:26:18 EDT", "ExecMainStartTimestampMonotonic": "4252747", "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-07-21 20:26:18 EDT] ; stop_time=[n/a] ; pid=964 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:26:18 EDT", "InactiveExitTimestampMonotonic": "4252792", "InvocationID": "64510a5b976644dfb0c94967197b415c", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "964", "MemoryAccounting": "yes", "MemoryCurrent": "34197504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:26:18 EDT", "StateChangeTimestampMonotonic": "4590752", "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": "11140", "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-07-21 20:26:18 EDT", "WatchdogTimestampMonotonic": "4590750", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:26:29 +0000 (0:00:00.766) 0:00:05.813 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:26:29 +0000 (0:00:00.045) 0:00:05.858 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:26:29 +0000 (0:00:00.033) 0:00:05.892 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:26:29 +0000 (0:00:00.033) 0:00:05.925 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:26:29 +0000 (0:00:00.030) 0:00:05.955 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:26:29 +0000 (0:00:00.031) 0:00:05.987 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:14 Friday 22 July 2022 00:26:29 +0000 (0:00:00.041) 0:00:06.029 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.272567", "end": "2022-07-21 20:26:30.439360", "failed_when_result": false, "rc": 112, "start": "2022-07-21 20:26:30.166793" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:19 Friday 22 July 2022 00:26:30 +0000 (0:00:00.757) 0:00:06.787 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.268790", "end": "2022-07-21 20:26:31.091213", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:26:30.822423" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:24 Friday 22 July 2022 00:26:30 +0000 (0:00:00.651) 0:00:07.438 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.254675", "end": "2022-07-21 20:26:31.702007", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:26:31.447332" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:29 Friday 22 July 2022 00:26:31 +0000 (0:00:00.612) 0:00:08.051 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.249408", "end": "2022-07-21 20:26:32.316284", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:26:32.066876" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:34 Friday 22 July 2022 00:26:32 +0000 (0:00:00.616) 0:00:08.668 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.266997", "end": "2022-07-21 20:26:32.951253", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:26:32.684256" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:39 Friday 22 July 2022 00:26:32 +0000 (0:00:00.631) 0:00:09.299 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.254729", "end": "2022-07-21 20:26:33.567704", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:26:33.312975" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:44 Friday 22 July 2022 00:26:33 +0000 (0:00:00.616) 0:00:09.916 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.522351", "end": "2022-07-21 20:26:34.455163", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:26:33.932812" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:52 Friday 22 July 2022 00:26:34 +0000 (0:00:00.888) 0:00:10.805 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.244744", "end": "2022-07-21 20:26:35.060023", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:26:34.815279" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:57 Friday 22 July 2022 00:26:34 +0000 (0:00:00.605) 0:00:11.410 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.639936", "end": "2022-07-21 20:26:36.068422", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:26:35.428486" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:64 Friday 22 July 2022 00:26:35 +0000 (0:00:01.006) 0:00:12.417 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:72 Friday 22 July 2022 00:26:36 +0000 (0:00:00.662) 0:00:13.079 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:80 Friday 22 July 2022 00:26:37 +0000 (0:00:00.539) 0:00:13.619 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:88 Friday 22 July 2022 00:26:37 +0000 (0:00:00.581) 0:00:14.200 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:96 Friday 22 July 2022 00:26:38 +0000 (0:00:00.554) 0:00:14.754 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:104 Friday 22 July 2022 00:26:38 +0000 (0:00:00.558) 0:00:15.313 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:112 Friday 22 July 2022 00:26:39 +0000 (0:00:00.565) 0:00:15.878 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:120 Friday 22 July 2022 00:26:39 +0000 (0:00:00.526) 0:00:16.404 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:128 Friday 22 July 2022 00:26:40 +0000 (0:00:00.546) 0:00:16.951 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:137 Friday 22 July 2022 00:26:40 +0000 (0:00:00.557) 0:00:17.508 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:146 Friday 22 July 2022 00:26:41 +0000 (0:00:00.540) 0:00:18.049 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:155 Friday 22 July 2022 00:26:42 +0000 (0:00:00.558) 0:00:18.608 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:164 Friday 22 July 2022 00:26:42 +0000 (0:00:00.522) 0:00:19.131 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:173 Friday 22 July 2022 00:26:43 +0000 (0:00:00.537) 0:00:19.668 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:182 Friday 22 July 2022 00:26:43 +0000 (0:00:00.523) 0:00:20.192 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:191 Friday 22 July 2022 00:26:44 +0000 (0:00:00.554) 0:00:20.747 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:200 Friday 22 July 2022 00:26:44 +0000 (0:00:00.532) 0:00:21.280 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:208 Friday 22 July 2022 00:26:45 +0000 (0:00:00.532) 0:00:21.812 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:216 Friday 22 July 2022 00:26:45 +0000 (0:00:00.532) 0:00:22.345 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:224 Friday 22 July 2022 00:26:46 +0000 (0:00:00.537) 0:00:22.882 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:232 Friday 22 July 2022 00:26:46 +0000 (0:00:00.530) 0:00:23.412 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:240 Friday 22 July 2022 00:26:47 +0000 (0:00:00.544) 0:00:23.957 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:249 Friday 22 July 2022 00:26:47 +0000 (0:00:00.557) 0:00:24.514 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:258 Friday 22 July 2022 00:26:48 +0000 (0:00:00.537) 0:00:25.052 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:267 Friday 22 July 2022 00:26:49 +0000 (0:00:00.540) 0:00:25.592 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:276 Friday 22 July 2022 00:26:50 +0000 (0:00:01.122) 0:00:26.715 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:285 Friday 22 July 2022 00:26:50 +0000 (0:00:00.552) 0:00:27.267 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:294 Friday 22 July 2022 00:26:51 +0000 (0:00:00.990) 0:00:28.257 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:303 Friday 22 July 2022 00:26:52 +0000 (0:00:00.553) 0:00:28.810 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:315 Friday 22 July 2022 00:26:52 +0000 (0:00:00.578) 0:00:29.389 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:327 Friday 22 July 2022 00:26:53 +0000 (0:00:00.596) 0:00:29.986 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:335 Friday 22 July 2022 00:26:54 +0000 (0:00:01.009) 0:00:30.995 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:340 Friday 22 July 2022 00:26:54 +0000 (0:00:00.034) 0:00:31.029 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:350 Friday 22 July 2022 00:26:55 +0000 (0:00:00.581) 0:00:31.611 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:360 Friday 22 July 2022 00:26:55 +0000 (0:00:00.566) 0:00:32.178 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.259589", "end": "2022-07-21 20:26:56.467032", "rc": 0, "start": "2022-07-21 20:26:56.207443" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:363 Friday 22 July 2022 00:26:56 +0000 (0:00:00.633) 0:00:32.811 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:370 Friday 22 July 2022 00:26:56 +0000 (0:00:00.593) 0:00:33.405 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:377 Friday 22 July 2022 00:26:57 +0000 (0:00:00.565) 0:00:33.970 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:387 Friday 22 July 2022 00:26:57 +0000 (0:00:00.474) 0:00:34.445 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:395 Friday 22 July 2022 00:26:58 +0000 (0:00:00.983) 0:00:35.428 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:403 Friday 22 July 2022 00:26:59 +0000 (0:00:00.544) 0:00:35.972 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:412 Friday 22 July 2022 00:27:00 +0000 (0:00:00.980) 0:00:36.953 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:421 Friday 22 July 2022 00:27:01 +0000 (0:00:00.994) 0:00:37.947 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:430 Friday 22 July 2022 00:27:02 +0000 (0:00:00.974) 0:00:38.922 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:439 Friday 22 July 2022 00:27:02 +0000 (0:00:00.558) 0:00:39.480 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:448 Friday 22 July 2022 00:27:03 +0000 (0:00:00.572) 0:00:40.052 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:457 Friday 22 July 2022 00:27:04 +0000 (0:00:00.983) 0:00:41.036 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:466 Friday 22 July 2022 00:27:05 +0000 (0:00:00.963) 0:00:41.999 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:475 Friday 22 July 2022 00:27:06 +0000 (0:00:00.981) 0:00:42.981 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:486 Friday 22 July 2022 00:27:07 +0000 (0:00:01.006) 0:00:43.987 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:494 Friday 22 July 2022 00:27:08 +0000 (0:00:00.986) 0:00:44.974 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:502 Friday 22 July 2022 00:27:08 +0000 (0:00:00.544) 0:00:45.519 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:519 Friday 22 July 2022 00:27:09 +0000 (0:00:01.056) 0:00:46.575 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:528 Friday 22 July 2022 00:27:10 +0000 (0:00:00.600) 0:00:47.175 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:535 Friday 22 July 2022 00:27:11 +0000 (0:00:00.640) 0:00:47.816 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:542 Friday 22 July 2022 00:27:11 +0000 (0:00:00.620) 0:00:48.436 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:549 Friday 22 July 2022 00:27:12 +0000 (0:00:00.596) 0:00:49.033 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:560 Friday 22 July 2022 00:27:13 +0000 (0:00:00.583) 0:00:49.616 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:571 Friday 22 July 2022 00:27:13 +0000 (0:00:00.617) 0:00:50.234 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:590 Friday 22 July 2022 00:27:14 +0000 (0:00:00.556) 0:00:50.790 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.270566", "end": "2022-07-21 20:27:15.090247", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:14.819681" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:595 Friday 22 July 2022 00:27:14 +0000 (0:00:00.650) 0:00:51.440 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.262298", "end": "2022-07-21 20:27:15.717608", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:15.455310" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:600 Friday 22 July 2022 00:27:15 +0000 (0:00:00.635) 0:00:52.075 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.262019", "end": "2022-07-21 20:27:16.355053", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:16.093034" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:605 Friday 22 July 2022 00:27:16 +0000 (0:00:00.630) 0:00:52.706 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.258247", "end": "2022-07-21 20:27:16.992297", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:16.734050" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:610 Friday 22 July 2022 00:27:16 +0000 (0:00:00.635) 0:00:53.342 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.272936", "end": "2022-07-21 20:27:17.645240", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:17.372304" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:615 Friday 22 July 2022 00:27:17 +0000 (0:00:00.661) 0:00:54.003 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.257663", "end": "2022-07-21 20:27:18.281347", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:18.023684" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:620 Friday 22 July 2022 00:27:18 +0000 (0:00:00.629) 0:00:54.633 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.256779", "end": "2022-07-21 20:27:18.914500", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:18.657721" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:625 Friday 22 July 2022 00:27:18 +0000 (0:00:00.630) 0:00:55.264 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.259374", "end": "2022-07-21 20:27:19.545124", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:27:19.285750" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:630 Friday 22 July 2022 00:27:19 +0000 (0:00:00.630) 0:00:55.894 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.635432", "end": "2022-07-21 20:27:20.550920", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:27:19.915488" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:27:20 +0000 (0:00:01.015) 0:00:56.910 *********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.97s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.32s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.18s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 1.12s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:267 ---------------------------------- add custom service with all the elements at once ------------------------ 1.06s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:502 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.02s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:630 ---------------------------------- Firewalld custom zone --------------------------------------------------- 1.01s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:327 ---------------------------------- add destination addresses ----------------------------------------------- 1.01s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:475 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.01s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:57 ----------------------------------- add short description to custom service --------------------------------- 0.99s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:412 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.99s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:285 ---------------------------------- delete custom service --------------------------------------------------- 0.99s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:486 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.98s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:448 ---------------------------------- add custom service without details -------------------------------------- 0.98s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:387 ---------------------------------- remove ports from custom service without deleting service --------------- 0.98s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:466 ---------------------------------- add description to custom service --------------------------------------- 0.98s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:403 ---------------------------------- add source_ports to custom service -------------------------------------- 0.97s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:421 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.96s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:457 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.89s /tmp/tmpt2nwa_5x/tests/tests_ansible.yml:44 ----------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.77s /tmp/tmpt2nwa_5x/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- 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/tmpv5gmvypb executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:1 Friday 22 July 2022 00:31:39 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:31:40 +0000 (0:00:01.241) 0:00:01.256 *********** included: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:31:40 +0000 (0:00:00.036) 0:00:01.292 *********** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:31:40 +0000 (0:00:00.551) 0:00:01.844 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:31:42 +0000 (0:00:01.818) 0:00:03.662 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:31:42 +0000 (0:00:00.025) 0:00:03.688 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:31:44 +0000 (0:00:01.303) 0:00:04.992 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:31:33 EDT", "ActiveEnterTimestampMonotonic": "4542801", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:31:33 EDT", "AssertTimestampMonotonic": "4117919", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:31:33 EDT", "ConditionTimestampMonotonic": "4117919", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service iptables.service nftables.service ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "952", "ExecMainStartTimestamp": "Thu 2022-07-21 20:31:33 EDT", "ExecMainStartTimestampMonotonic": "4119919", "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-07-21 20:31:33 EDT] ; stop_time=[n/a] ; pid=952 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:31:33 EDT", "InactiveExitTimestampMonotonic": "4119991", "InvocationID": "6250a7cfdcbd4f48bf726f0ee643b591", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "952", "MemoryAccounting": "yes", "MemoryCurrent": "34312192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:31:33 EDT", "StateChangeTimestampMonotonic": "4542801", "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": "11140", "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-07-21 20:31:33 EDT", "WatchdogTimestampMonotonic": "4542799", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:31:44 +0000 (0:00:00.781) 0:00:05.774 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:31:44 +0000 (0:00:00.053) 0:00:05.827 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:31:44 +0000 (0:00:00.034) 0:00:05.861 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:31:44 +0000 (0:00:00.034) 0:00:05.896 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:31:45 +0000 (0:00:00.032) 0:00:05.928 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:31:45 +0000 (0:00:00.033) 0:00:05.962 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:14 Friday 22 July 2022 00:31:45 +0000 (0:00:00.040) 0:00:06.003 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.282237", "end": "2022-07-21 20:31:45.651079", "failed_when_result": false, "rc": 112, "start": "2022-07-21 20:31:45.368842" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:19 Friday 22 July 2022 00:31:45 +0000 (0:00:00.776) 0:00:06.779 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.268958", "end": "2022-07-21 20:31:46.308062", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:31:46.039104" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:24 Friday 22 July 2022 00:31:46 +0000 (0:00:00.657) 0:00:07.437 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.273286", "end": "2022-07-21 20:31:46.960301", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:31:46.687015" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:29 Friday 22 July 2022 00:31:47 +0000 (0:00:00.652) 0:00:08.089 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.258689", "end": "2022-07-21 20:31:47.602340", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:31:47.343651" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:34 Friday 22 July 2022 00:31:47 +0000 (0:00:00.643) 0:00:08.733 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.282212", "end": "2022-07-21 20:31:48.290987", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:31:48.008775" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:39 Friday 22 July 2022 00:31:48 +0000 (0:00:00.687) 0:00:09.420 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.260054", "end": "2022-07-21 20:31:48.929401", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:31:48.669347" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:44 Friday 22 July 2022 00:31:49 +0000 (0:00:00.634) 0:00:10.055 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.517517", "end": "2022-07-21 20:31:49.805340", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:31:49.287823" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:52 Friday 22 July 2022 00:31:50 +0000 (0:00:00.874) 0:00:10.930 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.249474", "end": "2022-07-21 20:31:50.423553", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:31:50.174079" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:57 Friday 22 July 2022 00:31:50 +0000 (0:00:00.620) 0:00:11.550 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.640982", "end": "2022-07-21 20:31:51.433904", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:31:50.792922" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:64 Friday 22 July 2022 00:31:51 +0000 (0:00:01.015) 0:00:12.566 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:72 Friday 22 July 2022 00:31:52 +0000 (0:00:00.695) 0:00:13.261 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:80 Friday 22 July 2022 00:31:52 +0000 (0:00:00.574) 0:00:13.836 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:88 Friday 22 July 2022 00:31:53 +0000 (0:00:00.588) 0:00:14.424 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:96 Friday 22 July 2022 00:31:54 +0000 (0:00:00.550) 0:00:14.974 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:104 Friday 22 July 2022 00:31:54 +0000 (0:00:00.673) 0:00:15.648 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:112 Friday 22 July 2022 00:31:55 +0000 (0:00:00.681) 0:00:16.330 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:120 Friday 22 July 2022 00:31:56 +0000 (0:00:00.666) 0:00:16.996 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:128 Friday 22 July 2022 00:31:56 +0000 (0:00:00.576) 0:00:17.572 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:137 Friday 22 July 2022 00:31:57 +0000 (0:00:00.669) 0:00:18.241 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:146 Friday 22 July 2022 00:31:57 +0000 (0:00:00.646) 0:00:18.888 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:154 Friday 22 July 2022 00:31:58 +0000 (0:00:00.607) 0:00:19.496 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:162 Friday 22 July 2022 00:31:59 +0000 (0:00:00.611) 0:00:20.108 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:171 Friday 22 July 2022 00:31:59 +0000 (0:00:00.560) 0:00:20.668 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:180 Friday 22 July 2022 00:32:00 +0000 (0:00:00.573) 0:00:21.242 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:189 Friday 22 July 2022 00:32:00 +0000 (0:00:00.601) 0:00:21.843 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:198 Friday 22 July 2022 00:32:01 +0000 (0:00:00.571) 0:00:22.414 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:206 Friday 22 July 2022 00:32:02 +0000 (0:00:00.576) 0:00:22.991 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:214 Friday 22 July 2022 00:32:02 +0000 (0:00:00.555) 0:00:23.547 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:222 Friday 22 July 2022 00:32:03 +0000 (0:00:00.574) 0:00:24.121 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:230 Friday 22 July 2022 00:32:03 +0000 (0:00:00.572) 0:00:24.693 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:238 Friday 22 July 2022 00:32:04 +0000 (0:00:00.736) 0:00:25.430 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:247 Friday 22 July 2022 00:32:05 +0000 (0:00:00.605) 0:00:26.035 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:256 Friday 22 July 2022 00:32:05 +0000 (0:00:00.589) 0:00:26.625 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:265 Friday 22 July 2022 00:32:06 +0000 (0:00:00.577) 0:00:27.203 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:274 Friday 22 July 2022 00:32:07 +0000 (0:00:01.165) 0:00:28.368 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:283 Friday 22 July 2022 00:32:08 +0000 (0:00:00.576) 0:00:28.945 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:292 Friday 22 July 2022 00:32:09 +0000 (0:00:00.999) 0:00:29.944 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:301 Friday 22 July 2022 00:32:09 +0000 (0:00:00.600) 0:00:30.545 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:311 Friday 22 July 2022 00:32:10 +0000 (0:00:00.642) 0:00:31.187 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:321 Friday 22 July 2022 00:32:10 +0000 (0:00:00.639) 0:00:31.827 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:329 Friday 22 July 2022 00:32:11 +0000 (0:00:01.012) 0:00:32.839 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:334 Friday 22 July 2022 00:32:11 +0000 (0:00:00.037) 0:00:32.876 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:344 Friday 22 July 2022 00:32:12 +0000 (0:00:00.619) 0:00:33.496 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:354 Friday 22 July 2022 00:32:13 +0000 (0:00:00.776) 0:00:34.273 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.306948", "end": "2022-07-21 20:32:13.894783", "rc": 0, "start": "2022-07-21 20:32:13.587835" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:357 Friday 22 July 2022 00:32:14 +0000 (0:00:00.749) 0:00:35.022 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:364 Friday 22 July 2022 00:32:14 +0000 (0:00:00.705) 0:00:35.728 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:371 Friday 22 July 2022 00:32:15 +0000 (0:00:00.721) 0:00:36.449 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:381 Friday 22 July 2022 00:32:16 +0000 (0:00:00.548) 0:00:36.998 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:389 Friday 22 July 2022 00:32:17 +0000 (0:00:01.052) 0:00:38.050 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:397 Friday 22 July 2022 00:32:17 +0000 (0:00:00.589) 0:00:38.639 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:406 Friday 22 July 2022 00:32:18 +0000 (0:00:01.030) 0:00:39.669 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:415 Friday 22 July 2022 00:32:19 +0000 (0:00:01.055) 0:00:40.725 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:424 Friday 22 July 2022 00:32:20 +0000 (0:00:00.987) 0:00:41.713 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:433 Friday 22 July 2022 00:32:21 +0000 (0:00:00.573) 0:00:42.286 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:442 Friday 22 July 2022 00:32:21 +0000 (0:00:00.589) 0:00:42.875 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:451 Friday 22 July 2022 00:32:22 +0000 (0:00:01.023) 0:00:43.899 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:460 Friday 22 July 2022 00:32:24 +0000 (0:00:01.211) 0:00:45.110 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:469 Friday 22 July 2022 00:32:25 +0000 (0:00:01.094) 0:00:46.205 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:480 Friday 22 July 2022 00:32:26 +0000 (0:00:01.113) 0:00:47.318 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:488 Friday 22 July 2022 00:32:27 +0000 (0:00:01.020) 0:00:48.339 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:496 Friday 22 July 2022 00:32:28 +0000 (0:00:00.569) 0:00:48.909 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:513 Friday 22 July 2022 00:32:29 +0000 (0:00:01.074) 0:00:49.983 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:522 Friday 22 July 2022 00:32:29 +0000 (0:00:00.618) 0:00:50.601 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:529 Friday 22 July 2022 00:32:30 +0000 (0:00:00.590) 0:00:51.192 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:536 Friday 22 July 2022 00:32:30 +0000 (0:00:00.555) 0:00:51.748 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:543 Friday 22 July 2022 00:32:31 +0000 (0:00:00.578) 0:00:52.327 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:554 Friday 22 July 2022 00:32:31 +0000 (0:00:00.561) 0:00:52.889 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:565 Friday 22 July 2022 00:32:32 +0000 (0:00:00.616) 0:00:53.505 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:584 Friday 22 July 2022 00:32:33 +0000 (0:00:00.590) 0:00:54.096 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.267774", "end": "2022-07-21 20:32:33.631066", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:33.363292" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:589 Friday 22 July 2022 00:32:33 +0000 (0:00:00.664) 0:00:54.761 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.257580", "end": "2022-07-21 20:32:34.272679", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:34.015099" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:594 Friday 22 July 2022 00:32:34 +0000 (0:00:00.641) 0:00:55.402 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.254348", "end": "2022-07-21 20:32:34.894230", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:34.639882" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:599 Friday 22 July 2022 00:32:35 +0000 (0:00:00.620) 0:00:56.023 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.268690", "end": "2022-07-21 20:32:35.552469", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:35.283779" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:604 Friday 22 July 2022 00:32:35 +0000 (0:00:00.658) 0:00:56.681 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.278262", "end": "2022-07-21 20:32:36.203027", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:35.924765" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:609 Friday 22 July 2022 00:32:36 +0000 (0:00:00.653) 0:00:57.335 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:01.268698", "end": "2022-07-21 20:32:37.857675", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:36.588977" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:614 Friday 22 July 2022 00:32:38 +0000 (0:00:01.652) 0:00:58.988 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.265305", "end": "2022-07-21 20:32:38.504710", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:38.239405" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:619 Friday 22 July 2022 00:32:38 +0000 (0:00:00.647) 0:00:59.635 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.264065", "end": "2022-07-21 20:32:39.142906", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:32:38.878841" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:624 Friday 22 July 2022 00:32:39 +0000 (0:00:00.637) 0:01:00.272 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.696175", "end": "2022-07-21 20:32:40.216330", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:32:39.520155" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:32:40 +0000 (0:00:01.082) 0:01:01.355 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.82s /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Reset drop zone to defaults --------------------------------------------- 1.65s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:609 ------------------------- fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.30s /tmp/tmpv5gmvypb/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.24s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:1 --------------------------- remove valid protocol from customservice -------------------------------- 1.21s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:451 ------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 1.17s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:265 ------------------------- add destination addresses ----------------------------------------------- 1.11s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:469 ------------------------- remove ports from custom service without deleting service --------------- 1.09s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:460 ------------------------- Reload firewalld -------------------------------------------------------- 1.08s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:624 ------------------------- add custom service with all the elements at once ------------------------ 1.07s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:496 ------------------------- add short description to custom service --------------------------------- 1.06s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:406 ------------------------- add custom service without details -------------------------------------- 1.05s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:381 ------------------------- add description to custom service --------------------------------------- 1.03s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:397 ------------------------- add valid protocol to custom service ------------------------------------ 1.02s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:442 ------------------------- delete custom service --------------------------------------------------- 1.02s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:480 ------------------------- Reload firewalld -------------------------------------------------------- 1.02s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:57 -------------------------- Firewalld custom zone --------------------------------------------------- 1.01s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:321 ------------------------- Ensure default target in permanent internal zone ------------------------ 1.00s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:283 ------------------------- add source_ports to custom service -------------------------------------- 0.99s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:415 ------------------------- Reset default zone to defaults ------------------------------------------ 0.87s /tmp/tmpq16vk_0i/tests/firewall/tests_ansible.yml:44 --------------------------