Formatting '/cache/rhel-9.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/rhel-9.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/tmpvyhyaxwy 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-9_setup.yml ***************************************************** 2 plays in /cache/rhel-9_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-9_setup.yml:5 Friday 22 July 2022 00:17:10 +0000 (0:00:00.017) 0:00:00.017 *********** changed: [/cache/rhel-9.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-9.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-9.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-9.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-9_setup.yml:19 Friday 22 July 2022 00:17:12 +0000 (0:00:01.334) 0:00:01.352 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Create EPEL 9 repo] ****************************************************** task path: /cache/rhel-9_setup.yml:23 Friday 22 July 2022 00:17:13 +0000 (0:00:01.028) 0:00:02.380 *********** skipping: [/cache/rhel-9.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 yum cache] ******************************************************** task path: /cache/rhel-9_setup.yml:33 Friday 22 July 2022 00:17:13 +0000 (0:00:00.018) 0:00:02.399 *********** skipping: [/cache/rhel-9.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-9_setup.yml:39 Friday 22 July 2022 00:17:13 +0000 (0:00:00.016) 0:00:02.416 *********** changed: [/cache/rhel-9.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-9_setup.yml:45 Friday 22 July 2022 00:17:16 +0000 (0:00:02.956) 0:00:05.372 *********** skipping: [/cache/rhel-9.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-9_setup.yml:53 Friday 22 July 2022 00:17:16 +0000 (0:00:00.021) 0:00:05.393 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Friday 22 July 2022 00:17:16 +0000 (0:00:00.028) 0:00:05.421 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 2.96s /cache/rhel-9_setup.yml:39 ---------------------------------------------------- set up internal repositories -------------------------------------------- 1.33s /cache/rhel-9_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.03s /cache/rhel-9_setup.yml:19 ---------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/rhel-9_setup.yml:53 ---------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-9_setup.yml:45 ---------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/rhel-9_setup.yml:23 ---------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-9_setup.yml:33 ---------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp55lbl9aa/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp55lbl9aa/tests/setup-snapshot.yml:1 Friday 22 July 2022 00:17:16 +0000 (0:00:00.010) 0:00:05.432 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp55lbl9aa/tests/setup-snapshot.yml:3 Friday 22 July 2022 00:17:17 +0000 (0:00:00.901) 0:00:06.333 *********** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:17:17 +0000 (0:00:00.032) 0:00:06.366 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:17:17 +0000 (0:00:00.676) 0:00:07.042 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.11-6.el9.x86_64", "Installed: python3-firewall-1.0.0-4.el9.noarch", "Installed: ipset-libs-7.11-6.el9.x86_64", "Installed: nftables-1:0.9.8-12.el9.x86_64", "Installed: libnftnl-1.1.9-4.el9.x86_64", "Installed: iptables-nft-1.8.7-28.el9.x86_64", "Installed: firewalld-1.0.0-4.el9.noarch", "Installed: firewalld-filesystem-1.0.0-4.el9.noarch", "Installed: python3-nftables-1:0.9.8-12.el9.x86_64", "Installed: libcap-ng-python3-0.8.2-7.el9.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:17:20 +0000 (0:00:02.422) 0:00:09.464 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:17:20 +0000 (0:00:00.028) 0:00:09.493 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=7 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:17:21 +0000 (0:00:00.874) 0:00:10.368 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 2.96s /cache/rhel-9_setup.yml:39 ---------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 2.42s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.33s /cache/rhel-9_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.03s /cache/rhel-9_setup.yml:19 ---------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmp55lbl9aa/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.87s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.68s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp55lbl9aa/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/rhel-9_setup.yml:53 ---------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-9_setup.yml:45 ---------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/rhel-9_setup.yml:23 ---------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-9_setup.yml:33 ---------------------------------------------------- PLAYBOOK: rhel-9_post_setup.yml ************************************************ 1 plays in /cache/rhel-9_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-9_post_setup.yml:5 Friday 22 July 2022 00:17:21 +0000 (0:00:00.019) 0:00:10.387 *********** changed: [/cache/rhel-9.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-9_post_setup.yml:8 Friday 22 July 2022 00:17:21 +0000 (0:00:00.343) 0:00:10.731 *********** changed: [/cache/rhel-9.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-9.qcow2.snap : ok=9 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:17:22 +0000 (0:00:00.513) 0:00:11.245 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 2.96s /cache/rhel-9_setup.yml:39 ---------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 2.42s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.33s /cache/rhel-9_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.03s /cache/rhel-9_setup.yml:19 ---------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmp55lbl9aa/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.87s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.68s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 shutdown guest ---------------------------------------------------------- 0.51s /cache/rhel-9_post_setup.yml:8 ------------------------------------------------ force sync of filesystems - ensure setup changes are made to snapshot --- 0.34s /cache/rhel-9_post_setup.yml:5 ------------------------------------------------ Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp55lbl9aa/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/rhel-9_setup.yml:53 ---------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-9_setup.yml:45 ---------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/rhel-9_setup.yml:23 ---------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-9_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/tmpvyhyaxwy 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/tmp55lbl9aa/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:1 Friday 22 July 2022 00:18:06 +0000 (0:00:00.015) 0:00:00.015 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:18:07 +0000 (0:00:01.140) 0:00:01.156 *********** included: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:18:07 +0000 (0:00:00.030) 0:00:01.186 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:18:07 +0000 (0:00:00.491) 0:00:01.677 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:18:09 +0000 (0:00:01.223) 0:00:02.900 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:18:09 +0000 (0:00:00.025) 0:00:02.925 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:18:09 +0000 (0:00:00.817) 0:00:03.743 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ActiveEnterTimestampMonotonic": "4287123", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus-broker.service sysinit.target dbus.socket system.slice polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:17:59 EDT", "AssertTimestampMonotonic": "4093214", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "344216000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ConditionTimestampMonotonic": "4093212", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target iptables.service ebtables.service ipset.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1095", "ExecMainStartTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ExecMainStartTimestampMonotonic": "4094587", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:17:59 EDT", "InactiveExitTimestampMonotonic": "4094863", "InvocationID": "63bfb2b55b464a9284a7ab5dfad846c8", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1095", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "31469568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "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:17:59 EDT", "StateChangeTimestampMonotonic": "4287123", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:18:10 +0000 (0:00:00.779) 0:00:04.522 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:18:10 +0000 (0:00:00.046) 0:00:04.569 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:18:10 +0000 (0:00:00.032) 0:00:04.601 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:18:10 +0000 (0:00:00.033) 0:00:04.635 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:18:10 +0000 (0:00:00.031) 0:00:04.666 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:18:10 +0000 (0:00:00.029) 0:00:04.695 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:14 Friday 22 July 2022 00:18:10 +0000 (0:00:00.036) 0:00:04.732 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.290306", "end": "2022-07-21 20:18:10.566893", "failed_when_result": false, "rc": 112, "start": "2022-07-21 20:18:10.276587" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:19 Friday 22 July 2022 00:18:11 +0000 (0:00:00.770) 0:00:05.503 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.210976", "end": "2022-07-21 20:18:11.142217", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:10.931241" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:24 Friday 22 July 2022 00:18:12 +0000 (0:00:00.576) 0:00:06.079 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.215573", "end": "2022-07-21 20:18:11.718904", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:11.503331" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:29 Friday 22 July 2022 00:18:12 +0000 (0:00:00.577) 0:00:06.657 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.223242", "end": "2022-07-21 20:18:12.298268", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:12.075026" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:34 Friday 22 July 2022 00:18:13 +0000 (0:00:00.581) 0:00:07.238 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.209877", "end": "2022-07-21 20:18:12.870016", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:12.660139" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:39 Friday 22 July 2022 00:18:13 +0000 (0:00:00.569) 0:00:07.807 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.208588", "end": "2022-07-21 20:18:13.427100", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:13.218512" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:44 Friday 22 July 2022 00:18:14 +0000 (0:00:00.555) 0:00:08.362 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.425423", "end": "2022-07-21 20:18:14.232851", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:13.807428" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:52 Friday 22 July 2022 00:18:15 +0000 (0:00:00.804) 0:00:09.167 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.206683", "end": "2022-07-21 20:18:14.784276", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:14.577593" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:57 Friday 22 July 2022 00:18:15 +0000 (0:00:00.553) 0:00:09.720 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.345792", "end": "2022-07-21 20:18:15.480312", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:15.134520" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:64 Friday 22 July 2022 00:18:16 +0000 (0:00:00.696) 0:00:10.417 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:72 Friday 22 July 2022 00:18:17 +0000 (0:00:00.600) 0:00:11.017 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:80 Friday 22 July 2022 00:18:17 +0000 (0:00:00.503) 0:00:11.520 *********** changed: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:88 Friday 22 July 2022 00:18:18 +0000 (0:00:00.475) 0:00:11.996 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:96 Friday 22 July 2022 00:18:18 +0000 (0:00:00.515) 0:00:12.511 *********** changed: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:104 Friday 22 July 2022 00:18:19 +0000 (0:00:00.500) 0:00:13.011 *********** ok: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:112 Friday 22 July 2022 00:18:19 +0000 (0:00:00.474) 0:00:13.486 *********** changed: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:120 Friday 22 July 2022 00:18:20 +0000 (0:00:00.476) 0:00:13.962 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:128 Friday 22 July 2022 00:18:20 +0000 (0:00:00.459) 0:00:14.421 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:137 Friday 22 July 2022 00:18:20 +0000 (0:00:00.458) 0:00:14.880 *********** ok: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:146 Friday 22 July 2022 00:18:21 +0000 (0:00:00.509) 0:00:15.389 *********** changed: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:155 Friday 22 July 2022 00:18:21 +0000 (0:00:00.480) 0:00:15.870 *********** ok: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:164 Friday 22 July 2022 00:18:22 +0000 (0:00:00.473) 0:00:16.343 *********** changed: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:173 Friday 22 July 2022 00:18:22 +0000 (0:00:00.495) 0:00:16.839 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:182 Friday 22 July 2022 00:18:23 +0000 (0:00:00.480) 0:00:17.320 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:191 Friday 22 July 2022 00:18:23 +0000 (0:00:00.489) 0:00:17.810 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:200 Friday 22 July 2022 00:18:24 +0000 (0:00:00.495) 0:00:18.306 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:208 Friday 22 July 2022 00:18:24 +0000 (0:00:00.476) 0:00:18.782 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:216 Friday 22 July 2022 00:18:25 +0000 (0:00:00.465) 0:00:19.248 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:224 Friday 22 July 2022 00:18:25 +0000 (0:00:00.465) 0:00:19.713 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:232 Friday 22 July 2022 00:18:26 +0000 (0:00:00.478) 0:00:20.192 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:240 Friday 22 July 2022 00:18:26 +0000 (0:00:00.464) 0:00:20.657 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:249 Friday 22 July 2022 00:18:27 +0000 (0:00:00.473) 0:00:21.130 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:258 Friday 22 July 2022 00:18:27 +0000 (0:00:00.496) 0:00:21.626 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:267 Friday 22 July 2022 00:18:28 +0000 (0:00:00.502) 0:00:22.129 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:276 Friday 22 July 2022 00:18:29 +0000 (0:00:00.829) 0:00:22.958 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:285 Friday 22 July 2022 00:18:29 +0000 (0:00:00.514) 0:00:23.472 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:294 Friday 22 July 2022 00:18:30 +0000 (0:00:00.672) 0:00:24.144 *********** ok: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:303 Friday 22 July 2022 00:18:30 +0000 (0:00:00.507) 0:00:24.652 *********** changed: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:315 Friday 22 July 2022 00:18:31 +0000 (0:00:00.558) 0:00:25.210 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:327 Friday 22 July 2022 00:18:31 +0000 (0:00:00.503) 0:00:25.714 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:335 Friday 22 July 2022 00:18:32 +0000 (0:00:00.622) 0:00:26.336 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:340 Friday 22 July 2022 00:18:32 +0000 (0:00:00.033) 0:00:26.370 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:350 Friday 22 July 2022 00:18:32 +0000 (0:00:00.484) 0:00:26.855 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:360 Friday 22 July 2022 00:18:33 +0000 (0:00:00.476) 0:00:27.332 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.226171", "end": "2022-07-21 20:18:32.978562", "rc": 0, "start": "2022-07-21 20:18:32.752391" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:363 Friday 22 July 2022 00:18:34 +0000 (0:00:00.580) 0:00:27.912 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:370 Friday 22 July 2022 00:18:34 +0000 (0:00:00.548) 0:00:28.460 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:377 Friday 22 July 2022 00:18:35 +0000 (0:00:00.475) 0:00:28.936 *********** ok: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:387 Friday 22 July 2022 00:18:35 +0000 (0:00:00.397) 0:00:29.334 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:395 Friday 22 July 2022 00:18:36 +0000 (0:00:00.651) 0:00:29.985 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:403 Friday 22 July 2022 00:18:36 +0000 (0:00:00.482) 0:00:30.468 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:412 Friday 22 July 2022 00:18:37 +0000 (0:00:00.637) 0:00:31.105 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:421 Friday 22 July 2022 00:18:37 +0000 (0:00:00.611) 0:00:31.716 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:430 Friday 22 July 2022 00:18:38 +0000 (0:00:00.649) 0:00:32.365 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:439 Friday 22 July 2022 00:18:38 +0000 (0:00:00.479) 0:00:32.845 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:448 Friday 22 July 2022 00:18:39 +0000 (0:00:00.496) 0:00:33.342 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:457 Friday 22 July 2022 00:18:40 +0000 (0:00:00.631) 0:00:33.973 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:466 Friday 22 July 2022 00:18:40 +0000 (0:00:00.621) 0:00:34.595 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:475 Friday 22 July 2022 00:18:41 +0000 (0:00:00.647) 0:00:35.243 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:486 Friday 22 July 2022 00:18:41 +0000 (0:00:00.627) 0:00:35.871 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:494 Friday 22 July 2022 00:18:42 +0000 (0:00:00.635) 0:00:36.506 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:502 Friday 22 July 2022 00:18:43 +0000 (0:00:00.483) 0:00:36.990 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:519 Friday 22 July 2022 00:18:43 +0000 (0:00:00.632) 0:00:37.622 *********** ok: [/cache/rhel-9.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/tmp55lbl9aa/tests/tests_ansible.yml:528 Friday 22 July 2022 00:18:44 +0000 (0:00:00.513) 0:00:38.135 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:535 Friday 22 July 2022 00:18:44 +0000 (0:00:00.534) 0:00:38.670 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:542 Friday 22 July 2022 00:18:45 +0000 (0:00:00.526) 0:00:39.197 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:549 Friday 22 July 2022 00:18:45 +0000 (0:00:00.496) 0:00:39.693 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:560 Friday 22 July 2022 00:18:46 +0000 (0:00:00.533) 0:00:40.227 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:571 Friday 22 July 2022 00:18:46 +0000 (0:00:00.515) 0:00:40.742 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:590 Friday 22 July 2022 00:18:47 +0000 (0:00:00.497) 0:00:41.240 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.218290", "end": "2022-07-21 20:18:46.877889", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:46.659599" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:595 Friday 22 July 2022 00:18:47 +0000 (0:00:00.592) 0:00:41.832 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.235727", "end": "2022-07-21 20:18:47.501182", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:47.265455" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:600 Friday 22 July 2022 00:18:48 +0000 (0:00:00.613) 0:00:42.446 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.251413", "end": "2022-07-21 20:18:48.107944", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:47.856531" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:605 Friday 22 July 2022 00:18:49 +0000 (0:00:00.603) 0:00:43.049 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.224981", "end": "2022-07-21 20:18:48.687603", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:48.462622" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:610 Friday 22 July 2022 00:18:49 +0000 (0:00:00.583) 0:00:43.633 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.219779", "end": "2022-07-21 20:18:49.293795", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:49.074016" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:615 Friday 22 July 2022 00:18:50 +0000 (0:00:00.598) 0:00:44.231 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.221758", "end": "2022-07-21 20:18:49.869398", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:49.647640" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:620 Friday 22 July 2022 00:18:50 +0000 (0:00:00.577) 0:00:44.809 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.212353", "end": "2022-07-21 20:18:50.439406", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:50.227053" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:625 Friday 22 July 2022 00:18:51 +0000 (0:00:00.567) 0:00:45.376 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.227540", "end": "2022-07-21 20:18:51.023858", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:18:50.796318" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp55lbl9aa/tests/tests_ansible.yml:630 Friday 22 July 2022 00:18:52 +0000 (0:00:00.586) 0:00:45.963 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.341820", "end": "2022-07-21 20:18:51.719626", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:18:51.377806" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:18:52 +0000 (0:00:00.702) 0:00:46.665 *********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.22s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 0.83s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:267 ---------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.82s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Reset default zone to defaults ------------------------------------------ 0.80s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:44 ----------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.78s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Remove custom zone ------------------------------------------------------ 0.77s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:14 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.70s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:630 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.70s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:57 ----------------------------------- Ensure default target in permanent internal zone ------------------------ 0.67s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:285 ---------------------------------- add custom service without details -------------------------------------- 0.65s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:387 ---------------------------------- add source_ports to custom service -------------------------------------- 0.65s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:421 ---------------------------------- remove ports from custom service without deleting service --------------- 0.65s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:466 ---------------------------------- add description to custom service --------------------------------------- 0.64s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:403 ---------------------------------- delete custom service --------------------------------------------------- 0.64s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:486 ---------------------------------- add custom service with all the elements at once ------------------------ 0.63s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:502 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.63s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:448 ---------------------------------- add destination addresses ----------------------------------------------- 0.63s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:475 ---------------------------------- Firewalld custom zone --------------------------------------------------- 0.62s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:327 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.62s /tmp/tmp55lbl9aa/tests/tests_ansible.yml:457 ---------------------------------- 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/tmpvyhyaxwy 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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:1 Friday 22 July 2022 00:22:23 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:22:24 +0000 (0:00:01.157) 0:00:01.172 *********** included: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:22:24 +0000 (0:00:00.031) 0:00:01.204 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:22:25 +0000 (0:00:00.492) 0:00:01.696 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:22:26 +0000 (0:00:01.219) 0:00:02.916 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:22:26 +0000 (0:00:00.025) 0:00:02.942 *********** ok: [/cache/rhel-9.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/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:22:27 +0000 (0:00:00.816) 0:00:03.758 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ActiveEnterTimestampMonotonic": "3845116", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service sysinit.target polkit.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:15 EDT", "AssertTimestampMonotonic": "3660160", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "344431000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ConditionTimestampMonotonic": "3660158", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service shutdown.target iptables.service ebtables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "970", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ExecMainStartTimestampMonotonic": "3661506", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:15 EDT", "InactiveExitTimestampMonotonic": "3661802", "InvocationID": "ae7fc8f3177941f3a6f0656e9349e6e2", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "970", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "31461376", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "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:22:15 EDT", "StateChangeTimestampMonotonic": "3845116", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:22:27 +0000 (0:00:00.735) 0:00:04.494 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:22:27 +0000 (0:00:00.048) 0:00:04.542 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:22:27 +0000 (0:00:00.032) 0:00:04.575 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:22:27 +0000 (0:00:00.034) 0:00:04.609 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:22:27 +0000 (0:00:00.030) 0:00:04.639 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:22:27 +0000 (0:00:00.031) 0:00:04.671 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:14 Friday 22 July 2022 00:22:28 +0000 (0:00:00.037) 0:00:04.708 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.228858", "end": "2022-07-21 20:22:27.646633", "failed_when_result": false, "rc": 112, "start": "2022-07-21 20:22:27.417775" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:19 Friday 22 July 2022 00:22:28 +0000 (0:00:00.716) 0:00:05.425 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.212441", "end": "2022-07-21 20:22:28.215221", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:22:28.002780" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:24 Friday 22 July 2022 00:22:29 +0000 (0:00:00.572) 0:00:05.998 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.235375", "end": "2022-07-21 20:22:28.847631", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:22:28.612256" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:29 Friday 22 July 2022 00:22:29 +0000 (0:00:00.629) 0:00:06.628 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.261845", "end": "2022-07-21 20:22:29.488669", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:22:29.226824" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:34 Friday 22 July 2022 00:22:30 +0000 (0:00:00.642) 0:00:07.271 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.218873", "end": "2022-07-21 20:22:30.069573", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:22:29.850700" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:39 Friday 22 July 2022 00:22:31 +0000 (0:00:00.578) 0:00:07.849 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.215007", "end": "2022-07-21 20:22:30.661350", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:22:30.446343" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:44 Friday 22 July 2022 00:22:31 +0000 (0:00:00.591) 0:00:08.441 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.442089", "end": "2022-07-21 20:22:31.456651", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:22:31.014562" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:52 Friday 22 July 2022 00:22:32 +0000 (0:00:00.796) 0:00:09.237 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.209006", "end": "2022-07-21 20:22:32.025514", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:22:31.816508" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:57 Friday 22 July 2022 00:22:33 +0000 (0:00:00.567) 0:00:09.804 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.346259", "end": "2022-07-21 20:22:32.729011", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:22:32.382752" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:64 Friday 22 July 2022 00:22:33 +0000 (0:00:00.706) 0:00:10.510 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:72 Friday 22 July 2022 00:22:34 +0000 (0:00:00.626) 0:00:11.137 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:80 Friday 22 July 2022 00:22:34 +0000 (0:00:00.499) 0:00:11.637 *********** changed: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:88 Friday 22 July 2022 00:22:35 +0000 (0:00:00.507) 0:00:12.144 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:96 Friday 22 July 2022 00:22:35 +0000 (0:00:00.490) 0:00:12.634 *********** changed: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:104 Friday 22 July 2022 00:22:36 +0000 (0:00:00.523) 0:00:13.158 *********** ok: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:112 Friday 22 July 2022 00:22:36 +0000 (0:00:00.505) 0:00:13.663 *********** changed: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:120 Friday 22 July 2022 00:22:37 +0000 (0:00:00.503) 0:00:14.167 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:128 Friday 22 July 2022 00:22:37 +0000 (0:00:00.479) 0:00:14.646 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:137 Friday 22 July 2022 00:22:38 +0000 (0:00:00.484) 0:00:15.131 *********** ok: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:146 Friday 22 July 2022 00:22:38 +0000 (0:00:00.490) 0:00:15.621 *********** changed: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:154 Friday 22 July 2022 00:22:39 +0000 (0:00:00.502) 0:00:16.124 *********** ok: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:162 Friday 22 July 2022 00:22:39 +0000 (0:00:00.484) 0:00:16.608 *********** changed: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:171 Friday 22 July 2022 00:22:40 +0000 (0:00:00.499) 0:00:17.108 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:180 Friday 22 July 2022 00:22:40 +0000 (0:00:00.476) 0:00:17.585 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:189 Friday 22 July 2022 00:22:41 +0000 (0:00:00.489) 0:00:18.075 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:198 Friday 22 July 2022 00:22:41 +0000 (0:00:00.507) 0:00:18.582 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:206 Friday 22 July 2022 00:22:42 +0000 (0:00:00.484) 0:00:19.066 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:214 Friday 22 July 2022 00:22:42 +0000 (0:00:00.501) 0:00:19.567 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:222 Friday 22 July 2022 00:22:43 +0000 (0:00:00.479) 0:00:20.047 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:230 Friday 22 July 2022 00:22:43 +0000 (0:00:00.503) 0:00:20.551 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:238 Friday 22 July 2022 00:22:44 +0000 (0:00:00.481) 0:00:21.032 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:247 Friday 22 July 2022 00:22:44 +0000 (0:00:00.512) 0:00:21.545 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:256 Friday 22 July 2022 00:22:45 +0000 (0:00:00.499) 0:00:22.044 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:265 Friday 22 July 2022 00:22:45 +0000 (0:00:00.466) 0:00:22.511 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:274 Friday 22 July 2022 00:22:46 +0000 (0:00:00.818) 0:00:23.329 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:283 Friday 22 July 2022 00:22:47 +0000 (0:00:00.502) 0:00:23.831 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:292 Friday 22 July 2022 00:22:47 +0000 (0:00:00.657) 0:00:24.488 *********** ok: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:301 Friday 22 July 2022 00:22:48 +0000 (0:00:00.505) 0:00:24.994 *********** changed: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:311 Friday 22 July 2022 00:22:48 +0000 (0:00:00.542) 0:00:25.537 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:321 Friday 22 July 2022 00:22:49 +0000 (0:00:00.527) 0:00:26.064 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:329 Friday 22 July 2022 00:22:50 +0000 (0:00:00.649) 0:00:26.714 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:334 Friday 22 July 2022 00:22:50 +0000 (0:00:00.065) 0:00:26.779 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:344 Friday 22 July 2022 00:22:50 +0000 (0:00:00.515) 0:00:27.295 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:354 Friday 22 July 2022 00:22:51 +0000 (0:00:00.477) 0:00:27.772 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.221894", "end": "2022-07-21 20:22:50.576827", "rc": 0, "start": "2022-07-21 20:22:50.354933" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:357 Friday 22 July 2022 00:22:51 +0000 (0:00:00.580) 0:00:28.353 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:364 Friday 22 July 2022 00:22:52 +0000 (0:00:00.528) 0:00:28.881 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:371 Friday 22 July 2022 00:22:52 +0000 (0:00:00.482) 0:00:29.364 *********** ok: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:381 Friday 22 July 2022 00:22:53 +0000 (0:00:00.396) 0:00:29.760 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:389 Friday 22 July 2022 00:22:53 +0000 (0:00:00.671) 0:00:30.432 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:397 Friday 22 July 2022 00:22:54 +0000 (0:00:00.492) 0:00:30.925 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:406 Friday 22 July 2022 00:22:54 +0000 (0:00:00.645) 0:00:31.571 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:415 Friday 22 July 2022 00:22:55 +0000 (0:00:00.627) 0:00:32.199 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:424 Friday 22 July 2022 00:22:56 +0000 (0:00:00.637) 0:00:32.837 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:433 Friday 22 July 2022 00:22:56 +0000 (0:00:00.490) 0:00:33.327 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:442 Friday 22 July 2022 00:22:57 +0000 (0:00:00.499) 0:00:33.827 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:451 Friday 22 July 2022 00:22:57 +0000 (0:00:00.668) 0:00:34.496 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:460 Friday 22 July 2022 00:22:58 +0000 (0:00:00.654) 0:00:35.150 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:469 Friday 22 July 2022 00:22:59 +0000 (0:00:00.680) 0:00:35.831 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:480 Friday 22 July 2022 00:22:59 +0000 (0:00:00.657) 0:00:36.488 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:488 Friday 22 July 2022 00:23:00 +0000 (0:00:00.653) 0:00:37.142 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:496 Friday 22 July 2022 00:23:00 +0000 (0:00:00.491) 0:00:37.633 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:513 Friday 22 July 2022 00:23:01 +0000 (0:00:00.721) 0:00:38.355 *********** ok: [/cache/rhel-9.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/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:522 Friday 22 July 2022 00:23:02 +0000 (0:00:00.511) 0:00:38.867 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:529 Friday 22 July 2022 00:23:02 +0000 (0:00:00.561) 0:00:39.428 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:536 Friday 22 July 2022 00:23:03 +0000 (0:00:00.526) 0:00:39.955 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:543 Friday 22 July 2022 00:23:03 +0000 (0:00:00.501) 0:00:40.457 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:554 Friday 22 July 2022 00:23:04 +0000 (0:00:00.533) 0:00:40.990 *********** ok: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:565 Friday 22 July 2022 00:23:04 +0000 (0:00:00.529) 0:00:41.520 *********** changed: [/cache/rhel-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:584 Friday 22 July 2022 00:23:05 +0000 (0:00:00.504) 0:00:42.025 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.219752", "end": "2022-07-21 20:23:04.824105", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:04.604353" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:589 Friday 22 July 2022 00:23:05 +0000 (0:00:00.581) 0:00:42.607 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.216329", "end": "2022-07-21 20:23:05.403528", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:05.187199" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:594 Friday 22 July 2022 00:23:06 +0000 (0:00:00.576) 0:00:43.183 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.231168", "end": "2022-07-21 20:23:05.987309", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:05.756141" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:599 Friday 22 July 2022 00:23:07 +0000 (0:00:00.585) 0:00:43.769 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.209965", "end": "2022-07-21 20:23:06.566446", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:06.356481" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:604 Friday 22 July 2022 00:23:07 +0000 (0:00:00.578) 0:00:44.347 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.210926", "end": "2022-07-21 20:23:07.151261", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:06.940335" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:609 Friday 22 July 2022 00:23:08 +0000 (0:00:00.584) 0:00:44.932 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.229179", "end": "2022-07-21 20:23:07.740714", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:07.511535" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:614 Friday 22 July 2022 00:23:08 +0000 (0:00:00.590) 0:00:45.522 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.221602", "end": "2022-07-21 20:23:08.328169", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:08.106567" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:619 Friday 22 July 2022 00:23:09 +0000 (0:00:00.586) 0:00:46.109 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.216201", "end": "2022-07-21 20:23:08.892969", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:23:08.676768" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:624 Friday 22 July 2022 00:23:09 +0000 (0:00:00.564) 0:00:46.673 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.343734", "end": "2022-07-21 20:23:09.595621", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:23:09.251887" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:23:10 +0000 (0:00:00.711) 0:00:47.384 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.22s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:1 --------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.82s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:265 ------------------------- fedora.linux_system_roles.firewall : Install python3-firewall ----------- 0.82s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Reset default zone to defaults ------------------------------------------ 0.80s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:44 -------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.74s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 add custom service with all the elements at once ------------------------ 0.72s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:496 ------------------------- Remove custom zone ------------------------------------------------------ 0.72s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:14 -------------------------- Reload firewalld -------------------------------------------------------- 0.71s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:624 ------------------------- Reload firewalld -------------------------------------------------------- 0.71s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:57 -------------------------- remove ports from custom service without deleting service --------------- 0.68s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:460 ------------------------- add custom service without details -------------------------------------- 0.67s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:381 ------------------------- add valid protocol to custom service ------------------------------------ 0.67s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:442 ------------------------- add destination addresses ----------------------------------------------- 0.66s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:469 ------------------------- Ensure default target in permanent internal zone ------------------------ 0.66s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:283 ------------------------- remove valid protocol from customservice -------------------------------- 0.65s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:451 ------------------------- delete custom service --------------------------------------------------- 0.65s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:480 ------------------------- Firewalld custom zone --------------------------------------------------- 0.65s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:321 ------------------------- add description to custom service --------------------------------------- 0.65s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:397 ------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.64s /tmp/tmpwsd_sg3v/tests/firewall/tests_ansible.yml:29 --------------------------