Formatting '/cache/rhel-8-y.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/rhel-8-y.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpub2e7hs4 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8-y_setup.yml *************************************************** 2 plays in /cache/rhel-8-y_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8-y_setup.yml:5 Wednesday 22 June 2022 21:02:34 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/rhel-8-y_setup.yml:19 Wednesday 22 June 2022 21:02:35 +0000 (0:00:01.508) 0:00:01.527 ******** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Create EPEL 8 repo] ****************************************************** task path: /cache/rhel-8-y_setup.yml:23 Wednesday 22 June 2022 21:02:37 +0000 (0:00:01.753) 0:00:03.281 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/rhel-8-y_setup.yml:33 Wednesday 22 June 2022 21:02:46 +0000 (0:00:08.700) 0:00:11.981 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/rhel-8-y_setup.yml:39 Wednesday 22 June 2022 21:02:46 +0000 (0:00:00.021) 0:00:12.002 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/rhel-8-y_setup.yml:45 Wednesday 22 June 2022 21:02:53 +0000 (0:00:07.328) 0:00:19.331 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/rhel-8-y_setup.yml:53 Wednesday 22 June 2022 21:02:53 +0000 (0:00:00.019) 0:00:19.351 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=5 changed=4 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 22 June 2022 21:02:54 +0000 (0:00:00.756) 0:00:20.107 ******** =============================================================================== Create EPEL 8 repo ------------------------------------------------------ 8.70s /cache/rhel-8-y_setup.yml:23 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 7.33s /cache/rhel-8-y_setup.yml:39 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.75s /cache/rhel-8-y_setup.yml:19 -------------------------------------------------- set up internal repositories -------------------------------------------- 1.51s /cache/rhel-8-y_setup.yml:5 --------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.76s /cache/rhel-8-y_setup.yml:53 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:33 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:45 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpms3vcxej/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpms3vcxej/tests/setup-snapshot.yml:1 Wednesday 22 June 2022 21:02:54 +0000 (0:00:00.012) 0:00:20.120 ******** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmpms3vcxej/tests/setup-snapshot.yml:3 Wednesday 22 June 2022 21:02:55 +0000 (0:00:00.811) 0:00:20.932 ******** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 22 June 2022 21:02:55 +0000 (0:00:00.033) 0:00:20.965 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 22 June 2022 21:02:55 +0000 (0:00:00.505) 0:00:21.471 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: python3-slip-0.6.4-13.el8.noarch", "Installed: python3-slip-dbus-0.6.4-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: python3-nftables-1:0.9.3-26.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: iptables-libs-1.8.4-22.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: nftables-1:0.9.3-26.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 22 June 2022 21:02:59 +0000 (0:00:03.306) 0:00:24.777 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 22 June 2022 21:02:59 +0000 (0:00:00.025) 0:00:24.802 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=9 changed=5 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Wednesday 22 June 2022 21:03:00 +0000 (0:00:01.352) 0:00:26.154 ******** =============================================================================== Create EPEL 8 repo ------------------------------------------------------ 8.70s /cache/rhel-8-y_setup.yml:23 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 7.33s /cache/rhel-8-y_setup.yml:39 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.31s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 1.75s /cache/rhel-8-y_setup.yml:19 -------------------------------------------------- set up internal repositories -------------------------------------------- 1.51s /cache/rhel-8-y_setup.yml:5 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.35s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpms3vcxej/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.76s /cache/rhel-8-y_setup.yml:53 -------------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpms3vcxej/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:33 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:45 -------------------------------------------------- PLAYBOOK: rhel-8-y_post_setup.yml ********************************************** 1 plays in /cache/rhel-8-y_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/rhel-8-y_post_setup.yml:5 Wednesday 22 June 2022 21:03:00 +0000 (0:00:00.020) 0:00:26.175 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/rhel-8-y_post_setup.yml:8 Wednesday 22 June 2022 21:03:00 +0000 (0:00:00.402) 0:00:26.577 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=11 changed=7 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Wednesday 22 June 2022 21:03:01 +0000 (0:00:00.526) 0:00:27.104 ******** =============================================================================== Create EPEL 8 repo ------------------------------------------------------ 8.70s /cache/rhel-8-y_setup.yml:23 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 7.33s /cache/rhel-8-y_setup.yml:39 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.31s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 1.75s /cache/rhel-8-y_setup.yml:19 -------------------------------------------------- set up internal repositories -------------------------------------------- 1.51s /cache/rhel-8-y_setup.yml:5 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.35s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpms3vcxej/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.76s /cache/rhel-8-y_setup.yml:53 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.53s /cache/rhel-8-y_post_setup.yml:8 ---------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.40s /cache/rhel-8-y_post_setup.yml:5 ---------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpms3vcxej/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Create yum cache -------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:33 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:45 -------------------------------------------------- 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/tmpub2e7hs4 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/tmpms3vcxej/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:1 Wednesday 22 June 2022 21:03:46 +0000 (0:00:00.014) 0:00:00.014 ******** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 22 June 2022 21:03:47 +0000 (0:00:01.245) 0:00:01.259 ******** included: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 22 June 2022 21:03:47 +0000 (0:00:00.029) 0:00:01.289 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 22 June 2022 21:03:47 +0000 (0:00:00.509) 0:00:01.799 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 22 June 2022 21:03:49 +0000 (0:00:01.861) 0:00:03.660 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 22 June 2022 21:03:49 +0000 (0:00:00.025) 0:00:03.685 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 22 June 2022 21:03:50 +0000 (0:00:01.289) 0:00:04.975 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-06-22 17:03:40 EDT", "ActiveEnterTimestampMonotonic": "4097946", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service sysinit.target basic.target polkit.service dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-06-22 17:03:39 EDT", "AssertTimestampMonotonic": "3750415", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-06-22 17:03:39 EDT", "ConditionTimestampMonotonic": "3750414", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service ipset.service shutdown.target ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "979", "ExecMainStartTimestamp": "Wed 2022-06-22 17:03:39 EDT", "ExecMainStartTimestampMonotonic": "3753099", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-06-22 17:03:39 EDT] ; stop_time=[n/a] ; pid=979 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-06-22 17:03:39 EDT", "InactiveExitTimestampMonotonic": "3753144", "InvocationID": "dcc620ee62e743a7947bb95de1ce196b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "979", "MemoryAccounting": "yes", "MemoryCurrent": "34074624", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-06-22 17:03:40 EDT", "StateChangeTimestampMonotonic": "4097946", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-06-22 17:03:40 EDT", "WatchdogTimestampMonotonic": "4097944", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 22 June 2022 21:03:51 +0000 (0:00:00.768) 0:00:05.744 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 22 June 2022 21:03:51 +0000 (0:00:00.048) 0:00:05.792 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 22 June 2022 21:03:51 +0000 (0:00:00.033) 0:00:05.825 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 22 June 2022 21:03:51 +0000 (0:00:00.035) 0:00:05.861 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 22 June 2022 21:03:51 +0000 (0:00:00.035) 0:00:05.896 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:106 Wednesday 22 June 2022 21:03:51 +0000 (0:00:00.037) 0:00:05.934 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:111 Wednesday 22 June 2022 21:03:52 +0000 (0:00:00.629) 0:00:06.563 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:121 Wednesday 22 June 2022 21:03:52 +0000 (0:00:00.051) 0:00:06.615 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Wednesday 22 June 2022 21:03:52 +0000 (0:00:00.033) 0:00:06.649 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/main.yml:138 Wednesday 22 June 2022 21:03:52 +0000 (0:00:00.033) 0:00:06.682 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:14 Wednesday 22 June 2022 21:03:52 +0000 (0:00:00.047) 0:00:06.729 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.256947", "end": "2022-06-22 17:03:53.789031", "failed_when_result": false, "rc": 112, "start": "2022-06-22 17:03:53.532084" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:19 Wednesday 22 June 2022 21:03:53 +0000 (0:00:00.777) 0:00:07.507 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.259092", "end": "2022-06-22 17:03:54.417166", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:03:54.158074" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:24 Wednesday 22 June 2022 21:03:54 +0000 (0:00:00.630) 0:00:08.138 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.282681", "end": "2022-06-22 17:03:55.073069", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:03:54.790388" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:29 Wednesday 22 June 2022 21:03:54 +0000 (0:00:00.653) 0:00:08.792 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.257861", "end": "2022-06-22 17:03:55.713137", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:03:55.455276" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:34 Wednesday 22 June 2022 21:03:55 +0000 (0:00:00.648) 0:00:09.441 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.263215", "end": "2022-06-22 17:03:56.366974", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:03:56.103759" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:39 Wednesday 22 June 2022 21:03:56 +0000 (0:00:00.646) 0:00:10.087 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.259401", "end": "2022-06-22 17:03:56.999429", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:03:56.740028" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:44 Wednesday 22 June 2022 21:03:56 +0000 (0:00:00.632) 0:00:10.720 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.514561", "end": "2022-06-22 17:03:57.892767", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:03:57.378206" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:52 Wednesday 22 June 2022 21:03:57 +0000 (0:00:00.893) 0:00:11.613 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.247422", "end": "2022-06-22 17:03:58.516134", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:03:58.268712" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:57 Wednesday 22 June 2022 21:03:58 +0000 (0:00:00.624) 0:00:12.237 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.655236", "end": "2022-06-22 17:03:59.545335", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:03:58.890099" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:64 Wednesday 22 June 2022 21:03:59 +0000 (0:00:01.027) 0:00:13.265 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:72 Wednesday 22 June 2022 21:03:59 +0000 (0:00:00.662) 0:00:13.927 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:80 Wednesday 22 June 2022 21:04:00 +0000 (0:00:00.554) 0:00:14.482 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:88 Wednesday 22 June 2022 21:04:01 +0000 (0:00:00.588) 0:00:15.070 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:96 Wednesday 22 June 2022 21:04:01 +0000 (0:00:00.578) 0:00:15.649 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:104 Wednesday 22 June 2022 21:04:02 +0000 (0:00:00.579) 0:00:16.228 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:112 Wednesday 22 June 2022 21:04:02 +0000 (0:00:00.564) 0:00:16.792 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:120 Wednesday 22 June 2022 21:04:03 +0000 (0:00:00.560) 0:00:17.353 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:128 Wednesday 22 June 2022 21:04:03 +0000 (0:00:00.554) 0:00:17.908 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:137 Wednesday 22 June 2022 21:04:04 +0000 (0:00:00.555) 0:00:18.464 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:146 Wednesday 22 June 2022 21:04:05 +0000 (0:00:00.554) 0:00:19.019 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:155 Wednesday 22 June 2022 21:04:05 +0000 (0:00:00.574) 0:00:19.593 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:164 Wednesday 22 June 2022 21:04:06 +0000 (0:00:00.536) 0:00:20.129 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:173 Wednesday 22 June 2022 21:04:06 +0000 (0:00:00.546) 0:00:20.676 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:182 Wednesday 22 June 2022 21:04:07 +0000 (0:00:00.541) 0:00:21.217 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:191 Wednesday 22 June 2022 21:04:07 +0000 (0:00:00.605) 0:00:21.823 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:200 Wednesday 22 June 2022 21:04:08 +0000 (0:00:00.545) 0:00:22.369 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:208 Wednesday 22 June 2022 21:04:08 +0000 (0:00:00.558) 0:00:22.927 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:216 Wednesday 22 June 2022 21:04:09 +0000 (0:00:00.548) 0:00:23.476 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:224 Wednesday 22 June 2022 21:04:10 +0000 (0:00:00.531) 0:00:24.007 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:232 Wednesday 22 June 2022 21:04:10 +0000 (0:00:00.555) 0:00:24.563 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:240 Wednesday 22 June 2022 21:04:11 +0000 (0:00:00.545) 0:00:25.108 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:249 Wednesday 22 June 2022 21:04:11 +0000 (0:00:00.556) 0:00:25.665 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:258 Wednesday 22 June 2022 21:04:12 +0000 (0:00:00.549) 0:00:26.215 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:267 Wednesday 22 June 2022 21:04:12 +0000 (0:00:00.535) 0:00:26.750 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:276 Wednesday 22 June 2022 21:04:13 +0000 (0:00:01.134) 0:00:27.884 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:285 Wednesday 22 June 2022 21:04:14 +0000 (0:00:00.554) 0:00:28.439 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:294 Wednesday 22 June 2022 21:04:15 +0000 (0:00:00.976) 0:00:29.416 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:303 Wednesday 22 June 2022 21:04:15 +0000 (0:00:00.527) 0:00:29.944 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:315 Wednesday 22 June 2022 21:04:16 +0000 (0:00:00.594) 0:00:30.538 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:327 Wednesday 22 June 2022 21:04:17 +0000 (0:00:00.575) 0:00:31.113 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:335 Wednesday 22 June 2022 21:04:18 +0000 (0:00:00.982) 0:00:32.096 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:340 Wednesday 22 June 2022 21:04:18 +0000 (0:00:00.065) 0:00:32.162 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:350 Wednesday 22 June 2022 21:04:18 +0000 (0:00:00.573) 0:00:32.736 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:360 Wednesday 22 June 2022 21:04:19 +0000 (0:00:00.534) 0:00:33.270 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.257049", "end": "2022-06-22 17:04:20.165034", "rc": 0, "start": "2022-06-22 17:04:19.907985" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:363 Wednesday 22 June 2022 21:04:19 +0000 (0:00:00.613) 0:00:33.884 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:370 Wednesday 22 June 2022 21:04:20 +0000 (0:00:00.589) 0:00:34.473 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:377 Wednesday 22 June 2022 21:04:21 +0000 (0:00:00.555) 0:00:35.028 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:387 Wednesday 22 June 2022 21:04:21 +0000 (0:00:00.498) 0:00:35.526 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:395 Wednesday 22 June 2022 21:04:22 +0000 (0:00:01.051) 0:00:36.578 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:403 Wednesday 22 June 2022 21:04:23 +0000 (0:00:00.546) 0:00:37.124 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:412 Wednesday 22 June 2022 21:04:24 +0000 (0:00:01.012) 0:00:38.137 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:421 Wednesday 22 June 2022 21:04:25 +0000 (0:00:01.012) 0:00:39.150 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:430 Wednesday 22 June 2022 21:04:26 +0000 (0:00:00.999) 0:00:40.150 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:439 Wednesday 22 June 2022 21:04:26 +0000 (0:00:00.566) 0:00:40.716 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:448 Wednesday 22 June 2022 21:04:27 +0000 (0:00:00.541) 0:00:41.258 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:457 Wednesday 22 June 2022 21:04:28 +0000 (0:00:01.045) 0:00:42.303 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:466 Wednesday 22 June 2022 21:04:29 +0000 (0:00:00.970) 0:00:43.274 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:475 Wednesday 22 June 2022 21:04:30 +0000 (0:00:00.990) 0:00:44.264 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:486 Wednesday 22 June 2022 21:04:31 +0000 (0:00:00.992) 0:00:45.256 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:494 Wednesday 22 June 2022 21:04:32 +0000 (0:00:00.982) 0:00:46.238 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:502 Wednesday 22 June 2022 21:04:32 +0000 (0:00:00.549) 0:00:46.788 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:519 Wednesday 22 June 2022 21:04:33 +0000 (0:00:01.030) 0:00:47.818 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:536 Wednesday 22 June 2022 21:04:34 +0000 (0:00:00.561) 0:00:48.379 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.272172", "end": "2022-06-22 17:04:35.347093", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:35.074921" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:541 Wednesday 22 June 2022 21:04:35 +0000 (0:00:00.689) 0:00:49.069 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.255099", "end": "2022-06-22 17:04:35.975101", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:35.720002" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:546 Wednesday 22 June 2022 21:04:35 +0000 (0:00:00.628) 0:00:49.697 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.257529", "end": "2022-06-22 17:04:36.606579", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:36.349050" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:551 Wednesday 22 June 2022 21:04:36 +0000 (0:00:00.629) 0:00:50.327 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.258736", "end": "2022-06-22 17:04:37.224847", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:36.966111" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:556 Wednesday 22 June 2022 21:04:36 +0000 (0:00:00.623) 0:00:50.951 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.320329", "end": "2022-06-22 17:04:37.963432", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:37.643103" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:561 Wednesday 22 June 2022 21:04:37 +0000 (0:00:00.730) 0:00:51.681 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.283302", "end": "2022-06-22 17:04:38.664303", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:38.381001" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:566 Wednesday 22 June 2022 21:04:38 +0000 (0:00:00.712) 0:00:52.394 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.258732", "end": "2022-06-22 17:04:39.310607", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:39.051875" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:571 Wednesday 22 June 2022 21:04:39 +0000 (0:00:00.637) 0:00:53.032 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.260191", "end": "2022-06-22 17:04:39.937748", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:04:39.677557" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpms3vcxej/tests/tests_ansible.yml:576 Wednesday 22 June 2022 21:04:39 +0000 (0:00:00.628) 0:00:53.660 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.675548", "end": "2022-06-22 17:04:40.989199", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:04:40.313651" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=80 changed=46 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 22 June 2022 21:04:40 +0000 (0:00:01.068) 0:00:54.729 ******** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.86s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.29s /tmp/tmpms3vcxej/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.25s /tmp/tmpms3vcxej/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 1.13s /tmp/tmpms3vcxej/tests/tests_ansible.yml:267 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.07s /tmp/tmpms3vcxej/tests/tests_ansible.yml:576 ---------------------------------- add custom service without details -------------------------------------- 1.05s /tmp/tmpms3vcxej/tests/tests_ansible.yml:387 ---------------------------------- add valid protocol to custom service ------------------------------------ 1.05s /tmp/tmpms3vcxej/tests/tests_ansible.yml:448 ---------------------------------- add custom service with all the elements at once ------------------------ 1.03s /tmp/tmpms3vcxej/tests/tests_ansible.yml:502 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.03s /tmp/tmpms3vcxej/tests/tests_ansible.yml:57 ----------------------------------- add description to custom service --------------------------------------- 1.01s /tmp/tmpms3vcxej/tests/tests_ansible.yml:403 ---------------------------------- add short description to custom service --------------------------------- 1.01s /tmp/tmpms3vcxej/tests/tests_ansible.yml:412 ---------------------------------- add source_ports to custom service -------------------------------------- 1.00s /tmp/tmpms3vcxej/tests/tests_ansible.yml:421 ---------------------------------- add destination addresses ----------------------------------------------- 0.99s /tmp/tmpms3vcxej/tests/tests_ansible.yml:475 ---------------------------------- remove ports from custom service without deleting service --------------- 0.99s /tmp/tmpms3vcxej/tests/tests_ansible.yml:466 ---------------------------------- Firewalld custom zone --------------------------------------------------- 0.98s /tmp/tmpms3vcxej/tests/tests_ansible.yml:327 ---------------------------------- delete custom service --------------------------------------------------- 0.98s /tmp/tmpms3vcxej/tests/tests_ansible.yml:486 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.98s /tmp/tmpms3vcxej/tests/tests_ansible.yml:285 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.97s /tmp/tmpms3vcxej/tests/tests_ansible.yml:457 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.89s /tmp/tmpms3vcxej/tests/tests_ansible.yml:44 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.78s /tmp/tmpms3vcxej/tests/tests_ansible.yml:14 ----------------------------------- 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/tmpub2e7hs4 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/tmp3u0hvfw7/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:1 Wednesday 22 June 2022 21:08:53 +0000 (0:00:00.015) 0:00:00.015 ******** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 22 June 2022 21:08:54 +0000 (0:00:01.195) 0:00:01.211 ******** included: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 22 June 2022 21:08:54 +0000 (0:00:00.030) 0:00:01.241 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 22 June 2022 21:08:55 +0000 (0:00:00.508) 0:00:01.750 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 22 June 2022 21:08:57 +0000 (0:00:01.729) 0:00:03.479 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 22 June 2022 21:08:57 +0000 (0:00:00.023) 0:00:03.503 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 22 June 2022 21:08:58 +0000 (0:00:01.297) 0:00:04.801 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-06-22 17:08:47 EDT", "ActiveEnterTimestampMonotonic": "3913452", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service dbus.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-06-22 17:08:46 EDT", "AssertTimestampMonotonic": "3582402", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-06-22 17:08:46 EDT", "ConditionTimestampMonotonic": "3582401", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "992", "ExecMainStartTimestamp": "Wed 2022-06-22 17:08:46 EDT", "ExecMainStartTimestampMonotonic": "3583482", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-06-22 17:08:46 EDT] ; stop_time=[n/a] ; pid=992 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-06-22 17:08:46 EDT", "InactiveExitTimestampMonotonic": "3583528", "InvocationID": "08a1b355bff742b683b5319f294758cd", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "992", "MemoryAccounting": "yes", "MemoryCurrent": "34189312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-06-22 17:08:47 EDT", "StateChangeTimestampMonotonic": "3913452", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-06-22 17:08:47 EDT", "WatchdogTimestampMonotonic": "3913451", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.748) 0:00:05.549 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.048) 0:00:05.598 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.032) 0:00:05.630 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.034) 0:00:05.665 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.032) 0:00:05.697 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:98 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.033) 0:00:05.731 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:103 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.617) 0:00:06.348 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] } } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:113 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.048) 0:00:06.397 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Wednesday 22 June 2022 21:08:59 +0000 (0:00:00.031) 0:00:06.428 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:127 Wednesday 22 June 2022 21:09:00 +0000 (0:00:00.037) 0:00:06.466 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:14 Wednesday 22 June 2022 21:09:00 +0000 (0:00:00.047) 0:00:06.513 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.249512", "end": "2022-06-22 17:09:00.347912", "failed_when_result": false, "rc": 112, "start": "2022-06-22 17:09:00.098400" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:19 Wednesday 22 June 2022 21:09:00 +0000 (0:00:00.737) 0:00:07.251 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.258579", "end": "2022-06-22 17:09:00.964411", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:00.705832" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:24 Wednesday 22 June 2022 21:09:01 +0000 (0:00:00.612) 0:00:07.864 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.249577", "end": "2022-06-22 17:09:01.561479", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:01.311902" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:29 Wednesday 22 June 2022 21:09:02 +0000 (0:00:00.597) 0:00:08.462 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.240007", "end": "2022-06-22 17:09:02.149204", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:01.909197" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:34 Wednesday 22 June 2022 21:09:02 +0000 (0:00:00.592) 0:00:09.054 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.280212", "end": "2022-06-22 17:09:02.819771", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:02.539559" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:39 Wednesday 22 June 2022 21:09:03 +0000 (0:00:00.670) 0:00:09.725 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.271646", "end": "2022-06-22 17:09:03.471139", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:03.199493" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:44 Wednesday 22 June 2022 21:09:03 +0000 (0:00:00.652) 0:00:10.377 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.544117", "end": "2022-06-22 17:09:04.389762", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:03.845645" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:52 Wednesday 22 June 2022 21:09:04 +0000 (0:00:00.915) 0:00:11.292 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.242366", "end": "2022-06-22 17:09:04.996909", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:04.754543" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:57 Wednesday 22 June 2022 21:09:05 +0000 (0:00:00.608) 0:00:11.900 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.652970", "end": "2022-06-22 17:09:06.000203", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:05.347233" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:64 Wednesday 22 June 2022 21:09:06 +0000 (0:00:01.002) 0:00:12.902 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:72 Wednesday 22 June 2022 21:09:07 +0000 (0:00:00.645) 0:00:13.548 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:80 Wednesday 22 June 2022 21:09:07 +0000 (0:00:00.600) 0:00:14.149 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:88 Wednesday 22 June 2022 21:09:08 +0000 (0:00:00.576) 0:00:14.725 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:96 Wednesday 22 June 2022 21:09:08 +0000 (0:00:00.533) 0:00:15.259 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:104 Wednesday 22 June 2022 21:09:09 +0000 (0:00:00.511) 0:00:15.770 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:112 Wednesday 22 June 2022 21:09:09 +0000 (0:00:00.512) 0:00:16.283 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:120 Wednesday 22 June 2022 21:09:10 +0000 (0:00:00.513) 0:00:16.796 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:128 Wednesday 22 June 2022 21:09:10 +0000 (0:00:00.531) 0:00:17.328 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:137 Wednesday 22 June 2022 21:09:11 +0000 (0:00:00.520) 0:00:17.848 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:146 Wednesday 22 June 2022 21:09:11 +0000 (0:00:00.516) 0:00:18.365 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:154 Wednesday 22 June 2022 21:09:12 +0000 (0:00:00.561) 0:00:18.926 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:162 Wednesday 22 June 2022 21:09:13 +0000 (0:00:00.577) 0:00:19.503 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:171 Wednesday 22 June 2022 21:09:13 +0000 (0:00:00.537) 0:00:20.040 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:180 Wednesday 22 June 2022 21:09:14 +0000 (0:00:00.527) 0:00:20.568 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:189 Wednesday 22 June 2022 21:09:14 +0000 (0:00:00.542) 0:00:21.111 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:198 Wednesday 22 June 2022 21:09:15 +0000 (0:00:00.558) 0:00:21.669 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:206 Wednesday 22 June 2022 21:09:15 +0000 (0:00:00.553) 0:00:22.222 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:214 Wednesday 22 June 2022 21:09:16 +0000 (0:00:00.522) 0:00:22.745 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:222 Wednesday 22 June 2022 21:09:16 +0000 (0:00:00.525) 0:00:23.271 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:230 Wednesday 22 June 2022 21:09:17 +0000 (0:00:00.536) 0:00:23.807 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:238 Wednesday 22 June 2022 21:09:17 +0000 (0:00:00.542) 0:00:24.350 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:247 Wednesday 22 June 2022 21:09:18 +0000 (0:00:00.525) 0:00:24.876 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:256 Wednesday 22 June 2022 21:09:18 +0000 (0:00:00.537) 0:00:25.413 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:265 Wednesday 22 June 2022 21:09:19 +0000 (0:00:00.541) 0:00:25.954 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:274 Wednesday 22 June 2022 21:09:20 +0000 (0:00:01.110) 0:00:27.065 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:283 Wednesday 22 June 2022 21:09:21 +0000 (0:00:00.544) 0:00:27.609 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:292 Wednesday 22 June 2022 21:09:22 +0000 (0:00:00.945) 0:00:28.555 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:301 Wednesday 22 June 2022 21:09:22 +0000 (0:00:00.550) 0:00:29.106 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:311 Wednesday 22 June 2022 21:09:23 +0000 (0:00:00.607) 0:00:29.714 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:321 Wednesday 22 June 2022 21:09:23 +0000 (0:00:00.553) 0:00:30.267 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:329 Wednesday 22 June 2022 21:09:24 +0000 (0:00:01.013) 0:00:31.281 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:334 Wednesday 22 June 2022 21:09:24 +0000 (0:00:00.035) 0:00:31.316 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:344 Wednesday 22 June 2022 21:09:25 +0000 (0:00:00.551) 0:00:31.867 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:354 Wednesday 22 June 2022 21:09:25 +0000 (0:00:00.533) 0:00:32.401 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.253259", "end": "2022-06-22 17:09:26.119083", "rc": 0, "start": "2022-06-22 17:09:25.865824" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:357 Wednesday 22 June 2022 21:09:26 +0000 (0:00:00.617) 0:00:33.019 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:364 Wednesday 22 June 2022 21:09:27 +0000 (0:00:00.597) 0:00:33.616 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:371 Wednesday 22 June 2022 21:09:27 +0000 (0:00:00.564) 0:00:34.181 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:381 Wednesday 22 June 2022 21:09:28 +0000 (0:00:00.494) 0:00:34.675 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:389 Wednesday 22 June 2022 21:09:29 +0000 (0:00:00.993) 0:00:35.668 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:397 Wednesday 22 June 2022 21:09:29 +0000 (0:00:00.542) 0:00:36.211 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:406 Wednesday 22 June 2022 21:09:30 +0000 (0:00:00.950) 0:00:37.162 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:415 Wednesday 22 June 2022 21:09:31 +0000 (0:00:01.004) 0:00:38.167 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:424 Wednesday 22 June 2022 21:09:32 +0000 (0:00:00.967) 0:00:39.134 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:433 Wednesday 22 June 2022 21:09:33 +0000 (0:00:00.547) 0:00:39.682 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:442 Wednesday 22 June 2022 21:09:33 +0000 (0:00:00.558) 0:00:40.240 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:451 Wednesday 22 June 2022 21:09:34 +0000 (0:00:00.958) 0:00:41.199 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:460 Wednesday 22 June 2022 21:09:35 +0000 (0:00:00.979) 0:00:42.178 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:469 Wednesday 22 June 2022 21:09:36 +0000 (0:00:00.976) 0:00:43.155 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:480 Wednesday 22 June 2022 21:09:37 +0000 (0:00:00.991) 0:00:44.146 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:488 Wednesday 22 June 2022 21:09:38 +0000 (0:00:01.009) 0:00:45.156 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:496 Wednesday 22 June 2022 21:09:39 +0000 (0:00:00.555) 0:00:45.712 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:513 Wednesday 22 June 2022 21:09:40 +0000 (0:00:01.019) 0:00:46.731 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:530 Wednesday 22 June 2022 21:09:40 +0000 (0:00:00.642) 0:00:47.374 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.259748", "end": "2022-06-22 17:09:41.086973", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:40.827225" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:535 Wednesday 22 June 2022 21:09:41 +0000 (0:00:00.621) 0:00:47.996 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.272065", "end": "2022-06-22 17:09:41.755386", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:41.483321" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:540 Wednesday 22 June 2022 21:09:42 +0000 (0:00:00.663) 0:00:48.659 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.267792", "end": "2022-06-22 17:09:42.386800", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:42.119008" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:545 Wednesday 22 June 2022 21:09:42 +0000 (0:00:00.634) 0:00:49.294 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.263096", "end": "2022-06-22 17:09:43.030689", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:42.767593" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:550 Wednesday 22 June 2022 21:09:43 +0000 (0:00:00.646) 0:00:49.940 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.252302", "end": "2022-06-22 17:09:43.660089", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:43.407787" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:555 Wednesday 22 June 2022 21:09:44 +0000 (0:00:00.625) 0:00:50.566 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.244783", "end": "2022-06-22 17:09:44.277840", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:44.033057" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:560 Wednesday 22 June 2022 21:09:44 +0000 (0:00:00.618) 0:00:51.184 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.250759", "end": "2022-06-22 17:09:44.892170", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:44.641411" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:565 Wednesday 22 June 2022 21:09:45 +0000 (0:00:00.613) 0:00:51.798 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.246726", "end": "2022-06-22 17:09:45.506450", "failed_when_result": false, "rc": 22, "start": "2022-06-22 17:09:45.259724" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:570 Wednesday 22 June 2022 21:09:45 +0000 (0:00:00.612) 0:00:52.411 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.628920", "end": "2022-06-22 17:09:46.501550", "failed_when_result": false, "rc": 0, "start": "2022-06-22 17:09:45.872630" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=80 changed=46 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 22 June 2022 21:09:46 +0000 (0:00:01.005) 0:00:53.416 ******** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.73s /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.30s /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.20s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:1 --------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 1.11s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:265 ------------------------- add custom service with all the elements at once ------------------------ 1.02s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:496 ------------------------- Firewalld custom zone --------------------------------------------------- 1.01s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:321 ------------------------- delete custom service --------------------------------------------------- 1.01s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:480 ------------------------- Reload firewalld -------------------------------------------------------- 1.01s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:570 ------------------------- add short description to custom service --------------------------------- 1.00s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:406 ------------------------- Reload firewalld -------------------------------------------------------- 1.00s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:57 -------------------------- add custom service without details -------------------------------------- 0.99s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:381 ------------------------- add destination addresses ----------------------------------------------- 0.99s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:469 ------------------------- remove valid protocol from customservice -------------------------------- 0.98s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:451 ------------------------- remove ports from custom service without deleting service --------------- 0.98s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:460 ------------------------- add source_ports to custom service -------------------------------------- 0.97s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:415 ------------------------- add valid protocol to custom service ------------------------------------ 0.96s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:442 ------------------------- add description to custom service --------------------------------------- 0.95s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:397 ------------------------- Ensure default target in permanent internal zone ------------------------ 0.95s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:283 ------------------------- Reset default zone to defaults ------------------------------------------ 0.92s /tmp/tmp3u0hvfw7/tests/firewall/tests_ansible.yml:44 -------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.75s /tmp/tmpub2e7hs4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3