Formatting '/cache/centos-9.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/centos-9.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmprq_10wm9 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: centos-9_setup.yml *************************************************** 2 plays in /cache/centos-9_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-9_setup.yml:5 Friday 22 July 2022 00:34:30 +0000 (0:00:00.020) 0:00:00.020 *********** changed: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "highavailability" ], "delta": "0:00:00.582849", "end": "2022-07-21 20:34:31.701918", "rc": 0, "start": "2022-07-21 20:34:31.119069" } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-9_setup.yml:7 Friday 22 July 2022 00:34:31 +0000 (0:00:01.301) 0:00:01.321 *********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Create EPEL 9 repo] ****************************************************** task path: /cache/centos-9_setup.yml:11 Friday 22 July 2022 00:34:32 +0000 (0:00:01.176) 0:00:02.497 *********** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create yum cache] ******************************************************** task path: /cache/centos-9_setup.yml:21 Friday 22 July 2022 00:34:32 +0000 (0:00:00.020) 0:00:02.518 *********** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-9_setup.yml:27 Friday 22 July 2022 00:34:32 +0000 (0:00:00.017) 0:00:02.535 *********** changed: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-9_setup.yml:33 Friday 22 July 2022 00:34:41 +0000 (0:00:08.577) 0:00:11.112 *********** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-9_setup.yml:41 Friday 22 July 2022 00:34:41 +0000 (0:00:00.022) 0:00:11.134 *********** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Friday 22 July 2022 00:34:41 +0000 (0:00:00.030) 0:00:11.165 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 8.58s /cache/centos-9_setup.yml:27 -------------------------------------------------- Enable HA repos --------------------------------------------------------- 1.30s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.18s /cache/centos-9_setup.yml:7 --------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp0v2t93yu/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0v2t93yu/tests/setup-snapshot.yml:1 Friday 22 July 2022 00:34:41 +0000 (0:00:00.012) 0:00:11.178 *********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp0v2t93yu/tests/setup-snapshot.yml:3 Friday 22 July 2022 00:34:42 +0000 (0:00:00.813) 0:00:11.991 *********** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:34:42 +0000 (0:00:00.035) 0:00:12.026 *********** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:34:42 +0000 (0:00:00.499) 0:00:12.525 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: python3-firewall-1.0.0-2.el9.noarch", "Installed: libnftnl-1.2.2-1.el9.x86_64", "Installed: ipset-7.11-6.el9.x86_64", "Installed: libcap-ng-python3-0.8.2-7.el9.x86_64", "Installed: ipset-libs-7.11-6.el9.x86_64", "Installed: python3-nftables-1:0.9.8-12.el9.x86_64", "Installed: iptables-nft-1.8.7-28.el9.x86_64", "Installed: firewalld-1.0.0-2.el9.noarch", "Installed: firewalld-filesystem-1.0.0-2.el9.noarch", "Installed: nftables-1:0.9.8-12.el9.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:34:46 +0000 (0:00:03.532) 0:00:16.058 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:34:46 +0000 (0:00:00.022) 0:00:16.081 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=7 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:34:47 +0000 (0:00:00.882) 0:00:16.964 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 8.58s /cache/centos-9_setup.yml:27 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.53s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Enable HA repos --------------------------------------------------------- 1.30s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.18s /cache/centos-9_setup.yml:7 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.88s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp0v2t93yu/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.50s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Set platform/version specific variables --------------------------------- 0.04s /tmp/tmp0v2t93yu/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-9_post_setup.yml ********************************************** 1 plays in /cache/centos-9_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-9_post_setup.yml:5 Friday 22 July 2022 00:34:47 +0000 (0:00:00.018) 0:00:16.982 *********** changed: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-9_post_setup.yml:8 Friday 22 July 2022 00:34:47 +0000 (0:00:00.390) 0:00:17.373 *********** changed: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=9 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:34:48 +0000 (0:00:00.532) 0:00:17.905 *********** =============================================================================== Create dnf cache -------------------------------------------------------- 8.58s /cache/centos-9_setup.yml:27 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.53s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Enable HA repos --------------------------------------------------------- 1.30s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.18s /cache/centos-9_setup.yml:7 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.88s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp0v2t93yu/tests/setup-snapshot.yml:1 ----------------------------------- shutdown guest ---------------------------------------------------------- 0.53s /cache/centos-9_post_setup.yml:8 ---------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.50s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.39s /cache/centos-9_post_setup.yml:5 ---------------------------------------------- Set platform/version specific variables --------------------------------- 0.04s /tmp/tmp0v2t93yu/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- 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/tmprq_10wm9 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/tmp0v2t93yu/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:1 Friday 22 July 2022 00:35:34 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:35:35 +0000 (0:00:01.193) 0:00:01.207 *********** included: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:35:35 +0000 (0:00:00.028) 0:00:01.236 *********** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:35:35 +0000 (0:00:00.526) 0:00:01.762 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:35:37 +0000 (0:00:01.256) 0:00:03.019 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:35:37 +0000 (0:00:00.024) 0:00:03.043 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:35:37 +0000 (0:00:00.807) 0:00:03.851 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:35:25 EDT", "ActiveEnterTimestampMonotonic": "3747238", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.socket sysinit.target dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:35:25 EDT", "AssertTimestampMonotonic": "3344350", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "374411000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:35:25 EDT", "ConditionTimestampMonotonic": "3344348", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service nftables.service ebtables.service ip6tables.service shutdown.target ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "668", "ExecMainStartTimestamp": "Thu 2022-07-21 20:35:25 EDT", "ExecMainStartTimestampMonotonic": "3345987", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:35:25 EDT", "InactiveExitTimestampMonotonic": "3346064", "InvocationID": "6010043d0aa04e05a0bdd1dd16e1870e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "668", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "40665088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:35:25 EDT", "StateChangeTimestampMonotonic": "3747238", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:35:38 +0000 (0:00:00.783) 0:00:04.634 *********** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:35:38 +0000 (0:00:00.048) 0:00:04.683 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:35:38 +0000 (0:00:00.034) 0:00:04.717 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:35:38 +0000 (0:00:00.035) 0:00:04.753 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:35:38 +0000 (0:00:00.032) 0:00:04.786 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:35:38 +0000 (0:00:00.033) 0:00:04.819 *********** skipping: [/cache/centos-9.qcow2.snap] => {} META: role_complete for /cache/centos-9.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:14 Friday 22 July 2022 00:35:38 +0000 (0:00:00.042) 0:00:04.861 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.239892", "end": "2022-07-21 20:35:38.288710", "failed_when_result": false, "rc": 112, "start": "2022-07-21 20:35:38.048818" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:19 Friday 22 July 2022 00:35:39 +0000 (0:00:00.739) 0:00:05.601 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.215027", "end": "2022-07-21 20:35:38.879587", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:35:38.664560" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:24 Friday 22 July 2022 00:35:40 +0000 (0:00:00.592) 0:00:06.194 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.216607", "end": "2022-07-21 20:35:39.461987", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:35:39.245380" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:29 Friday 22 July 2022 00:35:40 +0000 (0:00:00.586) 0:00:06.780 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.226569", "end": "2022-07-21 20:35:40.075933", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:35:39.849364" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:34 Friday 22 July 2022 00:35:41 +0000 (0:00:00.612) 0:00:07.393 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.223664", "end": "2022-07-21 20:35:40.687785", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:35:40.464121" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:39 Friday 22 July 2022 00:35:42 +0000 (0:00:00.609) 0:00:08.002 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.211856", "end": "2022-07-21 20:35:41.260957", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:35:41.049101" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:44 Friday 22 July 2022 00:35:42 +0000 (0:00:00.573) 0:00:08.576 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.434812", "end": "2022-07-21 20:35:42.069919", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:35:41.635107" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:52 Friday 22 July 2022 00:35:43 +0000 (0:00:00.809) 0:00:09.385 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.209999", "end": "2022-07-21 20:35:42.651895", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:35:42.441896" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:57 Friday 22 July 2022 00:35:44 +0000 (0:00:00.582) 0:00:09.968 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.352979", "end": "2022-07-21 20:35:43.410474", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:35:43.057495" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:64 Friday 22 July 2022 00:35:44 +0000 (0:00:00.757) 0:00:10.725 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:72 Friday 22 July 2022 00:35:45 +0000 (0:00:00.654) 0:00:11.379 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:80 Friday 22 July 2022 00:35:45 +0000 (0:00:00.513) 0:00:11.893 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:88 Friday 22 July 2022 00:35:46 +0000 (0:00:00.535) 0:00:12.428 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:96 Friday 22 July 2022 00:35:47 +0000 (0:00:00.564) 0:00:12.993 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:104 Friday 22 July 2022 00:35:47 +0000 (0:00:00.551) 0:00:13.544 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:112 Friday 22 July 2022 00:35:48 +0000 (0:00:00.533) 0:00:14.078 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:120 Friday 22 July 2022 00:35:48 +0000 (0:00:00.507) 0:00:14.585 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:128 Friday 22 July 2022 00:35:49 +0000 (0:00:00.515) 0:00:15.100 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:137 Friday 22 July 2022 00:35:49 +0000 (0:00:00.508) 0:00:15.609 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:146 Friday 22 July 2022 00:35:50 +0000 (0:00:00.496) 0:00:16.106 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:155 Friday 22 July 2022 00:35:50 +0000 (0:00:00.514) 0:00:16.621 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:164 Friday 22 July 2022 00:35:51 +0000 (0:00:00.515) 0:00:17.136 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:173 Friday 22 July 2022 00:35:51 +0000 (0:00:00.559) 0:00:17.696 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:182 Friday 22 July 2022 00:35:52 +0000 (0:00:00.547) 0:00:18.244 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:191 Friday 22 July 2022 00:35:52 +0000 (0:00:00.525) 0:00:18.770 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:200 Friday 22 July 2022 00:35:53 +0000 (0:00:00.523) 0:00:19.293 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:208 Friday 22 July 2022 00:35:53 +0000 (0:00:00.512) 0:00:19.805 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:216 Friday 22 July 2022 00:35:54 +0000 (0:00:00.506) 0:00:20.312 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:224 Friday 22 July 2022 00:35:54 +0000 (0:00:00.497) 0:00:20.809 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:232 Friday 22 July 2022 00:35:55 +0000 (0:00:00.526) 0:00:21.336 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:240 Friday 22 July 2022 00:35:55 +0000 (0:00:00.509) 0:00:21.846 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:249 Friday 22 July 2022 00:35:56 +0000 (0:00:00.515) 0:00:22.361 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:258 Friday 22 July 2022 00:35:56 +0000 (0:00:00.538) 0:00:22.900 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:267 Friday 22 July 2022 00:35:57 +0000 (0:00:00.500) 0:00:23.400 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:276 Friday 22 July 2022 00:35:58 +0000 (0:00:00.858) 0:00:24.259 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:285 Friday 22 July 2022 00:35:58 +0000 (0:00:00.557) 0:00:24.817 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:294 Friday 22 July 2022 00:35:59 +0000 (0:00:00.647) 0:00:25.464 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:303 Friday 22 July 2022 00:36:00 +0000 (0:00:00.574) 0:00:26.039 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:315 Friday 22 July 2022 00:36:00 +0000 (0:00:00.539) 0:00:26.579 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:327 Friday 22 July 2022 00:36:01 +0000 (0:00:00.512) 0:00:27.091 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:335 Friday 22 July 2022 00:36:01 +0000 (0:00:00.714) 0:00:27.806 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:340 Friday 22 July 2022 00:36:01 +0000 (0:00:00.042) 0:00:27.848 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:350 Friday 22 July 2022 00:36:02 +0000 (0:00:00.548) 0:00:28.397 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:360 Friday 22 July 2022 00:36:02 +0000 (0:00:00.504) 0:00:28.901 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.237969", "end": "2022-07-21 20:36:02.224396", "rc": 0, "start": "2022-07-21 20:36:01.986427" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:363 Friday 22 July 2022 00:36:03 +0000 (0:00:00.636) 0:00:29.538 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:370 Friday 22 July 2022 00:36:04 +0000 (0:00:00.557) 0:00:30.095 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:377 Friday 22 July 2022 00:36:04 +0000 (0:00:00.544) 0:00:30.639 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:387 Friday 22 July 2022 00:36:05 +0000 (0:00:00.568) 0:00:31.207 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:395 Friday 22 July 2022 00:36:06 +0000 (0:00:00.710) 0:00:31.918 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:403 Friday 22 July 2022 00:36:06 +0000 (0:00:00.506) 0:00:32.424 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:412 Friday 22 July 2022 00:36:07 +0000 (0:00:00.666) 0:00:33.091 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:421 Friday 22 July 2022 00:36:07 +0000 (0:00:00.664) 0:00:33.755 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:430 Friday 22 July 2022 00:36:08 +0000 (0:00:00.668) 0:00:34.424 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:439 Friday 22 July 2022 00:36:09 +0000 (0:00:00.514) 0:00:34.938 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:448 Friday 22 July 2022 00:36:09 +0000 (0:00:00.520) 0:00:35.459 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:457 Friday 22 July 2022 00:36:10 +0000 (0:00:00.679) 0:00:36.139 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:466 Friday 22 July 2022 00:36:10 +0000 (0:00:00.666) 0:00:36.806 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:475 Friday 22 July 2022 00:36:11 +0000 (0:00:00.675) 0:00:37.481 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:486 Friday 22 July 2022 00:36:12 +0000 (0:00:00.695) 0:00:38.176 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:494 Friday 22 July 2022 00:36:12 +0000 (0:00:00.691) 0:00:38.868 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:502 Friday 22 July 2022 00:36:13 +0000 (0:00:00.517) 0:00:39.386 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:519 Friday 22 July 2022 00:36:14 +0000 (0:00:00.696) 0:00:40.082 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:528 Friday 22 July 2022 00:36:14 +0000 (0:00:00.564) 0:00:40.647 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:535 Friday 22 July 2022 00:36:15 +0000 (0:00:00.548) 0:00:41.196 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:542 Friday 22 July 2022 00:36:15 +0000 (0:00:00.523) 0:00:41.719 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:549 Friday 22 July 2022 00:36:16 +0000 (0:00:00.566) 0:00:42.286 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:560 Friday 22 July 2022 00:36:16 +0000 (0:00:00.556) 0:00:42.842 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:571 Friday 22 July 2022 00:36:17 +0000 (0:00:00.518) 0:00:43.360 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:590 Friday 22 July 2022 00:36:17 +0000 (0:00:00.531) 0:00:43.891 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.215934", "end": "2022-07-21 20:36:17.210076", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:16.994142" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:595 Friday 22 July 2022 00:36:18 +0000 (0:00:00.635) 0:00:44.527 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.223989", "end": "2022-07-21 20:36:17.829845", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:17.605856" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:600 Friday 22 July 2022 00:36:19 +0000 (0:00:00.622) 0:00:45.149 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.234527", "end": "2022-07-21 20:36:18.470950", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:18.236423" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:605 Friday 22 July 2022 00:36:19 +0000 (0:00:00.637) 0:00:45.787 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.222377", "end": "2022-07-21 20:36:19.061828", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:18.839451" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:610 Friday 22 July 2022 00:36:20 +0000 (0:00:00.591) 0:00:46.379 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.224646", "end": "2022-07-21 20:36:19.658142", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:19.433496" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:615 Friday 22 July 2022 00:36:21 +0000 (0:00:00.596) 0:00:46.975 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.228028", "end": "2022-07-21 20:36:20.264646", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:20.036618" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:620 Friday 22 July 2022 00:36:21 +0000 (0:00:00.612) 0:00:47.587 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.226285", "end": "2022-07-21 20:36:20.899659", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:20.673374" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:625 Friday 22 July 2022 00:36:22 +0000 (0:00:00.631) 0:00:48.219 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.217012", "end": "2022-07-21 20:36:21.498212", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:36:21.281200" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp0v2t93yu/tests/tests_ansible.yml:630 Friday 22 July 2022 00:36:22 +0000 (0:00:00.595) 0:00:48.815 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.346339", "end": "2022-07-21 20:36:22.228313", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:36:21.881974" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:36:23 +0000 (0:00:00.738) 0:00:49.554 *********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.26s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 0.86s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:267 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.81s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:44 ----------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.81s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 0.78s /tmp/tmp0v2t93yu/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Reload firewalld -------------------------------------------------------- 0.76s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:57 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.74s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:14 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.74s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:630 ---------------------------------- Firewalld custom zone --------------------------------------------------- 0.71s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:327 ---------------------------------- add custom service without details -------------------------------------- 0.71s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:387 ---------------------------------- add custom service with all the elements at once ------------------------ 0.70s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:502 ---------------------------------- add destination addresses ----------------------------------------------- 0.70s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:475 ---------------------------------- delete custom service --------------------------------------------------- 0.69s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:486 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.68s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:448 ---------------------------------- remove ports from custom service without deleting service --------------- 0.68s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:466 ---------------------------------- add source_ports to custom service -------------------------------------- 0.67s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:421 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.67s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:457 ---------------------------------- add description to custom service --------------------------------------- 0.67s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:403 ---------------------------------- add short description to custom service --------------------------------- 0.66s /tmp/tmp0v2t93yu/tests/tests_ansible.yml:412 ---------------------------------- 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/tmprq_10wm9 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/tmpf2kcizgg/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:1 Friday 22 July 2022 00:39:58 +0000 (0:00:00.016) 0:00:00.016 *********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:40:00 +0000 (0:00:01.180) 0:00:01.196 *********** included: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:40:00 +0000 (0:00:00.031) 0:00:01.227 *********** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:40:00 +0000 (0:00:00.525) 0:00:01.753 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:40:02 +0000 (0:00:01.286) 0:00:03.040 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:40:02 +0000 (0:00:00.025) 0:00:03.066 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:40:02 +0000 (0:00:00.833) 0:00:03.899 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:39:50 EDT", "ActiveEnterTimestampMonotonic": "3803576", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service basic.target sysinit.target polkit.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:39:50 EDT", "AssertTimestampMonotonic": "3458939", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "376545000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:39:50 EDT", "ConditionTimestampMonotonic": "3458938", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service nftables.service ipset.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "666", "ExecMainStartTimestamp": "Thu 2022-07-21 20:39:50 EDT", "ExecMainStartTimestampMonotonic": "3460220", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:39:50 EDT", "InactiveExitTimestampMonotonic": "3460268", "InvocationID": "df5a0df9cd174a5796c8c2a293ec7882", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "666", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "40947712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:39:50 EDT", "StateChangeTimestampMonotonic": "3803576", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:40:03 +0000 (0:00:00.775) 0:00:04.675 *********** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:40:03 +0000 (0:00:00.045) 0:00:04.720 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:40:03 +0000 (0:00:00.031) 0:00:04.751 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:40:03 +0000 (0:00:00.031) 0:00:04.782 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:40:03 +0000 (0:00:00.028) 0:00:04.811 *********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:40:03 +0000 (0:00:00.028) 0:00:04.840 *********** skipping: [/cache/centos-9.qcow2.snap] => {} META: role_complete for /cache/centos-9.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:14 Friday 22 July 2022 00:40:03 +0000 (0:00:00.041) 0:00:04.881 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.249410", "end": "2022-07-21 20:40:03.295605", "failed_when_result": false, "rc": 112, "start": "2022-07-21 20:40:03.046195" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:19 Friday 22 July 2022 00:40:04 +0000 (0:00:00.772) 0:00:05.653 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.219483", "end": "2022-07-21 20:40:03.894153", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:40:03.674670" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:24 Friday 22 July 2022 00:40:05 +0000 (0:00:00.597) 0:00:06.251 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.252740", "end": "2022-07-21 20:40:04.532526", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:40:04.279786" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:29 Friday 22 July 2022 00:40:05 +0000 (0:00:00.708) 0:00:06.959 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.240635", "end": "2022-07-21 20:40:05.306375", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:40:05.065740" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:34 Friday 22 July 2022 00:40:06 +0000 (0:00:00.704) 0:00:07.664 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.222986", "end": "2022-07-21 20:40:05.918065", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:40:05.695079" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:39 Friday 22 July 2022 00:40:07 +0000 (0:00:00.610) 0:00:08.275 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.223361", "end": "2022-07-21 20:40:06.505726", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:06.282365" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:44 Friday 22 July 2022 00:40:07 +0000 (0:00:00.587) 0:00:08.862 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.452560", "end": "2022-07-21 20:40:07.337946", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:40:06.885386" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:52 Friday 22 July 2022 00:40:08 +0000 (0:00:00.833) 0:00:09.696 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.207457", "end": "2022-07-21 20:40:07.924479", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:07.717022" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:57 Friday 22 July 2022 00:40:09 +0000 (0:00:00.588) 0:00:10.284 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.363949", "end": "2022-07-21 20:40:08.666996", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:08.303047" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:64 Friday 22 July 2022 00:40:09 +0000 (0:00:00.746) 0:00:11.031 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:72 Friday 22 July 2022 00:40:10 +0000 (0:00:00.677) 0:00:11.708 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:80 Friday 22 July 2022 00:40:11 +0000 (0:00:00.585) 0:00:12.294 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:88 Friday 22 July 2022 00:40:11 +0000 (0:00:00.524) 0:00:12.818 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:96 Friday 22 July 2022 00:40:12 +0000 (0:00:00.558) 0:00:13.376 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:104 Friday 22 July 2022 00:40:12 +0000 (0:00:00.527) 0:00:13.904 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:112 Friday 22 July 2022 00:40:13 +0000 (0:00:00.518) 0:00:14.423 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:120 Friday 22 July 2022 00:40:13 +0000 (0:00:00.530) 0:00:14.954 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:128 Friday 22 July 2022 00:40:14 +0000 (0:00:00.563) 0:00:15.517 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:137 Friday 22 July 2022 00:40:15 +0000 (0:00:00.525) 0:00:16.043 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:146 Friday 22 July 2022 00:40:15 +0000 (0:00:00.512) 0:00:16.556 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:154 Friday 22 July 2022 00:40:16 +0000 (0:00:00.529) 0:00:17.085 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:162 Friday 22 July 2022 00:40:16 +0000 (0:00:00.534) 0:00:17.620 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:171 Friday 22 July 2022 00:40:17 +0000 (0:00:00.536) 0:00:18.156 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:180 Friday 22 July 2022 00:40:17 +0000 (0:00:00.506) 0:00:18.663 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:189 Friday 22 July 2022 00:40:18 +0000 (0:00:00.524) 0:00:19.187 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:198 Friday 22 July 2022 00:40:18 +0000 (0:00:00.546) 0:00:19.734 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:206 Friday 22 July 2022 00:40:19 +0000 (0:00:00.509) 0:00:20.244 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:214 Friday 22 July 2022 00:40:19 +0000 (0:00:00.501) 0:00:20.745 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:222 Friday 22 July 2022 00:40:20 +0000 (0:00:00.514) 0:00:21.259 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:230 Friday 22 July 2022 00:40:20 +0000 (0:00:00.532) 0:00:21.792 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:238 Friday 22 July 2022 00:40:21 +0000 (0:00:00.507) 0:00:22.300 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:247 Friday 22 July 2022 00:40:21 +0000 (0:00:00.509) 0:00:22.810 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:256 Friday 22 July 2022 00:40:22 +0000 (0:00:00.533) 0:00:23.344 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:265 Friday 22 July 2022 00:40:22 +0000 (0:00:00.493) 0:00:23.837 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:274 Friday 22 July 2022 00:40:23 +0000 (0:00:00.842) 0:00:24.680 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:283 Friday 22 July 2022 00:40:24 +0000 (0:00:00.512) 0:00:25.193 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:292 Friday 22 July 2022 00:40:24 +0000 (0:00:00.684) 0:00:25.878 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:301 Friday 22 July 2022 00:40:25 +0000 (0:00:00.513) 0:00:26.391 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:311 Friday 22 July 2022 00:40:25 +0000 (0:00:00.570) 0:00:26.962 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:321 Friday 22 July 2022 00:40:26 +0000 (0:00:00.501) 0:00:27.463 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:329 Friday 22 July 2022 00:40:27 +0000 (0:00:00.660) 0:00:28.124 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:334 Friday 22 July 2022 00:40:27 +0000 (0:00:00.036) 0:00:28.160 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:344 Friday 22 July 2022 00:40:27 +0000 (0:00:00.501) 0:00:28.661 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:354 Friday 22 July 2022 00:40:28 +0000 (0:00:00.511) 0:00:29.173 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.225235", "end": "2022-07-21 20:40:27.437209", "rc": 0, "start": "2022-07-21 20:40:27.211974" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:357 Friday 22 July 2022 00:40:28 +0000 (0:00:00.617) 0:00:29.790 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:364 Friday 22 July 2022 00:40:29 +0000 (0:00:00.577) 0:00:30.368 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:371 Friday 22 July 2022 00:40:29 +0000 (0:00:00.525) 0:00:30.893 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:381 Friday 22 July 2022 00:40:30 +0000 (0:00:00.412) 0:00:31.305 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:389 Friday 22 July 2022 00:40:30 +0000 (0:00:00.673) 0:00:31.979 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:397 Friday 22 July 2022 00:40:31 +0000 (0:00:00.518) 0:00:32.497 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:406 Friday 22 July 2022 00:40:32 +0000 (0:00:00.683) 0:00:33.181 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:415 Friday 22 July 2022 00:40:32 +0000 (0:00:00.667) 0:00:33.849 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:424 Friday 22 July 2022 00:40:33 +0000 (0:00:00.687) 0:00:34.536 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:433 Friday 22 July 2022 00:40:34 +0000 (0:00:00.520) 0:00:35.057 *********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:442 Friday 22 July 2022 00:40:34 +0000 (0:00:00.531) 0:00:35.589 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:451 Friday 22 July 2022 00:40:35 +0000 (0:00:00.728) 0:00:36.318 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:460 Friday 22 July 2022 00:40:35 +0000 (0:00:00.670) 0:00:36.988 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:469 Friday 22 July 2022 00:40:36 +0000 (0:00:00.677) 0:00:37.666 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:480 Friday 22 July 2022 00:40:37 +0000 (0:00:00.674) 0:00:38.340 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:488 Friday 22 July 2022 00:40:37 +0000 (0:00:00.653) 0:00:38.994 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:496 Friday 22 July 2022 00:40:38 +0000 (0:00:00.508) 0:00:39.502 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:513 Friday 22 July 2022 00:40:39 +0000 (0:00:00.684) 0:00:40.187 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:522 Friday 22 July 2022 00:40:39 +0000 (0:00:00.547) 0:00:40.734 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:529 Friday 22 July 2022 00:40:40 +0000 (0:00:00.545) 0:00:41.280 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:536 Friday 22 July 2022 00:40:40 +0000 (0:00:00.509) 0:00:41.789 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:543 Friday 22 July 2022 00:40:41 +0000 (0:00:00.529) 0:00:42.318 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:554 Friday 22 July 2022 00:40:41 +0000 (0:00:00.531) 0:00:42.850 *********** ok: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:565 Friday 22 July 2022 00:40:42 +0000 (0:00:00.558) 0:00:43.408 *********** changed: [/cache/centos-9.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:584 Friday 22 July 2022 00:40:42 +0000 (0:00:00.536) 0:00:43.944 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.236608", "end": "2022-07-21 20:40:42.205984", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:41.969376" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:589 Friday 22 July 2022 00:40:43 +0000 (0:00:00.623) 0:00:44.568 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.225847", "end": "2022-07-21 20:40:42.816611", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:42.590764" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:594 Friday 22 July 2022 00:40:44 +0000 (0:00:00.608) 0:00:45.176 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.236317", "end": "2022-07-21 20:40:43.434126", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:43.197809" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:599 Friday 22 July 2022 00:40:44 +0000 (0:00:00.621) 0:00:45.797 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.222986", "end": "2022-07-21 20:40:44.056085", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:43.833099" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:604 Friday 22 July 2022 00:40:45 +0000 (0:00:00.649) 0:00:46.446 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.229557", "end": "2022-07-21 20:40:44.746572", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:44.517015" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:609 Friday 22 July 2022 00:40:46 +0000 (0:00:00.658) 0:00:47.105 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.224296", "end": "2022-07-21 20:40:45.381840", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:45.157544" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:614 Friday 22 July 2022 00:40:46 +0000 (0:00:00.636) 0:00:47.742 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.215728", "end": "2022-07-21 20:40:46.026135", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:45.810407" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:619 Friday 22 July 2022 00:40:47 +0000 (0:00:00.640) 0:00:48.383 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.213763", "end": "2022-07-21 20:40:46.614399", "failed_when_result": false, "rc": 22, "start": "2022-07-21 20:40:46.400636" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:624 Friday 22 July 2022 00:40:47 +0000 (0:00:00.589) 0:00:48.972 *********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.349169", "end": "2022-07-21 20:40:47.331970", "failed_when_result": false, "rc": 0, "start": "2022-07-21 20:40:46.982801" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:40:48 +0000 (0:00:00.727) 0:00:49.699 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.29s /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Gathering Facts --------------------------------------------------------- 1.18s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:1 --------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.84s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:265 ------------------------- fedora.linux_system_roles.firewall : Install python3-firewall ----------- 0.83s /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Reset default zone to defaults ------------------------------------------ 0.83s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:44 -------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.78s /tmp/tmprq_10wm9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Remove custom zone ------------------------------------------------------ 0.77s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:14 -------------------------- Reload firewalld -------------------------------------------------------- 0.75s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:57 -------------------------- add valid protocol to custom service ------------------------------------ 0.73s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:442 ------------------------- Reload firewalld -------------------------------------------------------- 0.73s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:624 ------------------------- Reset trusted zone to defaults ------------------------------------------ 0.71s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:24 -------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.70s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:29 -------------------------- add source_ports to custom service -------------------------------------- 0.69s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:415 ------------------------- Ensure default target in permanent internal zone ------------------------ 0.68s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:283 ------------------------- add custom service with all the elements at once ------------------------ 0.68s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:496 ------------------------- add description to custom service --------------------------------------- 0.68s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:397 ------------------------- Permit traffic in default zone for https service ------------------------ 0.68s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:64 -------------------------- remove ports from custom service without deleting service --------------- 0.68s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:460 ------------------------- add destination addresses ----------------------------------------------- 0.67s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:469 ------------------------- add custom service without details -------------------------------------- 0.67s /tmp/tmpf2kcizgg/tests/firewall/tests_ansible.yml:381 -------------------------