Formatting '/cache/rhel-8-y.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/rhel-8-y.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8-y_setup.yml *************************************************** 2 plays in /cache/rhel-8-y_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8-y_setup.yml:6 Monday 09 May 2022 16:23:33 +0000 (0:00:00.011) 0:00:00.011 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/rhel-8-y_setup.yml:20 Monday 09 May 2022 16:23:35 +0000 (0:00:01.435) 0:00:01.447 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Create EPEL 8 repo] ****************************************************** task path: /cache/rhel-8-y_setup.yml:24 Monday 09 May 2022 16:23:36 +0000 (0:00:01.098) 0:00:02.545 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/rhel-8-y_setup.yml:34 Monday 09 May 2022 16:23:42 +0000 (0:00:06.365) 0:00:08.910 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/rhel-8-y_setup.yml:40 Monday 09 May 2022 16:23:42 +0000 (0:00:00.014) 0:00:08.925 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/rhel-8-y_setup.yml:46 Monday 09 May 2022 16:23:51 +0000 (0:00:08.795) 0:00:17.721 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/rhel-8-y_setup.yml:54 Monday 09 May 2022 16:23:51 +0000 (0:00:00.020) 0:00:17.742 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=5 changed=4 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 09 May 2022 16:23:52 +0000 (0:00:00.842) 0:00:18.585 ************ =============================================================================== Create dnf cache -------------------------------------------------------- 8.80s /cache/rhel-8-y_setup.yml:40 -------------------------------------------------- Create EPEL 8 repo ------------------------------------------------------ 6.37s /cache/rhel-8-y_setup.yml:24 -------------------------------------------------- set up internal repositories -------------------------------------------- 1.44s /cache/rhel-8-y_setup.yml:6 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.10s /cache/rhel-8-y_setup.yml:20 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.84s /cache/rhel-8-y_setup.yml:54 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:46 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.01s /cache/rhel-8-y_setup.yml:34 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml:1 Monday 09 May 2022 16:23:52 +0000 (0:00:00.008) 0:00:18.594 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml:3 Monday 09 May 2022 16:23:53 +0000 (0:00:00.860) 0:00:19.454 ************ TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:23:53 +0000 (0:00:00.027) 0:00:19.482 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:23:53 +0000 (0:00:00.553) 0:00:20.036 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: python3-slip-0.6.4-13.el8.noarch", "Installed: python3-slip-dbus-0.6.4-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: python3-nftables-1:0.9.3-25.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: iptables-libs-1.8.4-22.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:23:57 +0000 (0:00:03.572) 0:00:23.608 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:23:57 +0000 (0:00:00.021) 0:00:23.630 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=9 changed=5 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Monday 09 May 2022 16:23:58 +0000 (0:00:01.355) 0:00:24.986 ************ =============================================================================== Create dnf cache -------------------------------------------------------- 8.80s /cache/rhel-8-y_setup.yml:40 -------------------------------------------------- Create EPEL 8 repo ------------------------------------------------------ 6.37s /cache/rhel-8-y_setup.yml:24 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.57s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.44s /cache/rhel-8-y_setup.yml:6 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.36s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.10s /cache/rhel-8-y_setup.yml:20 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.84s /cache/rhel-8-y_setup.yml:54 -------------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.55s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:46 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.01s /cache/rhel-8-y_setup.yml:34 -------------------------------------------------- PLAYBOOK: rhel-8-y_post_setup.yml ********************************************** 1 plays in /cache/rhel-8-y_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/rhel-8-y_post_setup.yml:5 Monday 09 May 2022 16:23:58 +0000 (0:00:00.012) 0:00:24.998 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/rhel-8-y_post_setup.yml:8 Monday 09 May 2022 16:23:59 +0000 (0:00:00.441) 0:00:25.440 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=11 changed=7 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Monday 09 May 2022 16:23:59 +0000 (0:00:00.605) 0:00:26.045 ************ =============================================================================== Create dnf cache -------------------------------------------------------- 8.80s /cache/rhel-8-y_setup.yml:40 -------------------------------------------------- Create EPEL 8 repo ------------------------------------------------------ 6.37s /cache/rhel-8-y_setup.yml:24 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.57s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.44s /cache/rhel-8-y_setup.yml:6 --------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.36s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.10s /cache/rhel-8-y_setup.yml:20 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.84s /cache/rhel-8-y_setup.yml:54 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.61s /cache/rhel-8-y_post_setup.yml:8 ---------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.55s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.44s /cache/rhel-8-y_post_setup.yml:5 ---------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpoq9cmy7u/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-8-y_setup.yml:46 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.01s /cache/rhel-8-y_setup.yml:34 -------------------------------------------------- ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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/tmpoq9cmy7u/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:1 Monday 09 May 2022 16:24:45 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:24:46 +0000 (0:00:01.215) 0:00:01.224 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:24:46 +0000 (0:00:00.021) 0:00:01.246 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:24:47 +0000 (0:00:00.497) 0:00:01.744 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:24:49 +0000 (0:00:01.885) 0:00:03.630 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:24:49 +0000 (0:00:00.021) 0:00:03.652 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:24:50 +0000 (0:00:01.643) 0:00:05.295 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:24:38 EDT", "ActiveEnterTimestampMonotonic": "4106841", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice dbus.socket sysinit.target basic.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:24:37 EDT", "AssertTimestampMonotonic": "3758978", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:24:37 EDT", "ConditionTimestampMonotonic": "3758977", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1000", "ExecMainStartTimestamp": "Mon 2022-05-09 12:24:37 EDT", "ExecMainStartTimestampMonotonic": "3761418", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:24:37 EDT] ; stop_time=[n/a] ; pid=1000 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:24:37 EDT", "InactiveExitTimestampMonotonic": "3761474", "InvocationID": "4e918312e83b419e91762b68126cd640", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1000", "MemoryAccounting": "yes", "MemoryCurrent": "34037760", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:24:38 EDT", "StateChangeTimestampMonotonic": "4106841", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:24:38 EDT", "WatchdogTimestampMonotonic": "4106840", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:24:51 +0000 (0:00:00.756) 0:00:06.051 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:24:51 +0000 (0:00:00.031) 0:00:06.083 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:24:51 +0000 (0:00:00.026) 0:00:06.110 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:24:51 +0000 (0:00:00.027) 0:00:06.138 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:24:51 +0000 (0:00:00.027) 0:00:06.166 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:24:51 +0000 (0:00:00.030) 0:00:06.196 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:14 Monday 09 May 2022 16:24:51 +0000 (0:00:00.036) 0:00:06.233 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.284702", "end": "2022-05-09 12:24:51.974133", "failed_when_result": false, "rc": 112, "start": "2022-05-09 12:24:51.689431" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:19 Monday 09 May 2022 16:24:52 +0000 (0:00:00.761) 0:00:06.994 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.273286", "end": "2022-05-09 12:24:52.631800", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:24:52.358514" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:24 Monday 09 May 2022 16:24:53 +0000 (0:00:00.657) 0:00:07.652 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.260388", "end": "2022-05-09 12:24:53.244673", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:24:52.984285" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:29 Monday 09 May 2022 16:24:53 +0000 (0:00:00.612) 0:00:08.264 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.257185", "end": "2022-05-09 12:24:53.856990", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:24:53.599805" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:34 Monday 09 May 2022 16:24:54 +0000 (0:00:00.616) 0:00:08.881 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.278159", "end": "2022-05-09 12:24:54.511103", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:24:54.232944" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:39 Monday 09 May 2022 16:24:55 +0000 (0:00:00.652) 0:00:09.534 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.284232", "end": "2022-05-09 12:24:55.167681", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:24:54.883449" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:44 Monday 09 May 2022 16:24:55 +0000 (0:00:00.654) 0:00:10.189 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.523777", "end": "2022-05-09 12:24:56.069341", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:24:55.545564" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:52 Monday 09 May 2022 16:24:56 +0000 (0:00:00.904) 0:00:11.093 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.263304", "end": "2022-05-09 12:24:56.705432", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:24:56.442128" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:57 Monday 09 May 2022 16:24:57 +0000 (0:00:00.640) 0:00:11.733 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.735502", "end": "2022-05-09 12:24:57.813313", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:24:57.077811" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:64 Monday 09 May 2022 16:24:58 +0000 (0:00:01.099) 0:00:12.833 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:72 Monday 09 May 2022 16:24:59 +0000 (0:00:00.702) 0:00:13.535 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:80 Monday 09 May 2022 16:24:59 +0000 (0:00:00.571) 0:00:14.107 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:88 Monday 09 May 2022 16:25:00 +0000 (0:00:00.564) 0:00:14.672 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:96 Monday 09 May 2022 16:25:00 +0000 (0:00:00.526) 0:00:15.199 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:104 Monday 09 May 2022 16:25:01 +0000 (0:00:00.547) 0:00:15.746 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:112 Monday 09 May 2022 16:25:01 +0000 (0:00:00.555) 0:00:16.301 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:120 Monday 09 May 2022 16:25:02 +0000 (0:00:00.538) 0:00:16.839 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:128 Monday 09 May 2022 16:25:03 +0000 (0:00:00.551) 0:00:17.391 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:137 Monday 09 May 2022 16:25:03 +0000 (0:00:00.569) 0:00:17.961 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:146 Monday 09 May 2022 16:25:04 +0000 (0:00:00.552) 0:00:18.514 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:155 Monday 09 May 2022 16:25:04 +0000 (0:00:00.546) 0:00:19.060 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:164 Monday 09 May 2022 16:25:05 +0000 (0:00:00.553) 0:00:19.613 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:173 Monday 09 May 2022 16:25:05 +0000 (0:00:00.547) 0:00:20.161 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:182 Monday 09 May 2022 16:25:06 +0000 (0:00:00.566) 0:00:20.728 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:191 Monday 09 May 2022 16:25:06 +0000 (0:00:00.574) 0:00:21.302 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:200 Monday 09 May 2022 16:25:07 +0000 (0:00:00.533) 0:00:21.836 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:209 Monday 09 May 2022 16:25:08 +0000 (0:00:00.535) 0:00:22.371 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:218 Monday 09 May 2022 16:25:08 +0000 (0:00:00.529) 0:00:22.900 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:226 Monday 09 May 2022 16:25:09 +0000 (0:00:00.566) 0:00:23.466 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:235 Monday 09 May 2022 16:25:09 +0000 (0:00:00.532) 0:00:23.999 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:244 Monday 09 May 2022 16:25:10 +0000 (0:00:00.545) 0:00:24.544 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:253 Monday 09 May 2022 16:25:10 +0000 (0:00:00.543) 0:00:25.088 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:262 Monday 09 May 2022 16:25:11 +0000 (0:00:00.534) 0:00:25.623 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:271 Monday 09 May 2022 16:25:11 +0000 (0:00:00.549) 0:00:26.173 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:280 Monday 09 May 2022 16:25:13 +0000 (0:00:01.176) 0:00:27.350 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:289 Monday 09 May 2022 16:25:13 +0000 (0:00:00.588) 0:00:27.939 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:298 Monday 09 May 2022 16:25:14 +0000 (0:00:01.140) 0:00:29.079 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:307 Monday 09 May 2022 16:25:15 +0000 (0:00:00.560) 0:00:29.640 ************ [DEPRECATION WARNING]: Alias 'immediate' is deprecated. See the module docs for more information. This feature will be removed from ansible.posix in a release after 2021-09-23. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:319 Monday 09 May 2022 16:25:15 +0000 (0:00:00.610) 0:00:30.250 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:331 Monday 09 May 2022 16:25:16 +0000 (0:00:00.546) 0:00:30.797 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:339 Monday 09 May 2022 16:25:17 +0000 (0:00:01.082) 0:00:31.879 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:344 Monday 09 May 2022 16:25:17 +0000 (0:00:00.022) 0:00:31.901 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:354 Monday 09 May 2022 16:25:18 +0000 (0:00:00.566) 0:00:32.468 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [set default zone] ******************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:364 Monday 09 May 2022 16:25:18 +0000 (0:00:00.558) 0:00:33.027 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:371 Monday 09 May 2022 16:25:19 +0000 (0:00:00.599) 0:00:33.626 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:383 Monday 09 May 2022 16:25:19 +0000 (0:00:00.558) 0:00:34.185 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.293296", "end": "2022-05-09 12:25:19.844862", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:19.551566" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:388 Monday 09 May 2022 16:25:20 +0000 (0:00:00.684) 0:00:34.870 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.273681", "end": "2022-05-09 12:25:20.490955", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:20.217274" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:393 Monday 09 May 2022 16:25:21 +0000 (0:00:00.645) 0:00:35.515 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.322346", "end": "2022-05-09 12:25:21.208207", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:20.885861" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:398 Monday 09 May 2022 16:25:21 +0000 (0:00:00.721) 0:00:36.237 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.327457", "end": "2022-05-09 12:25:21.942027", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:21.614570" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:403 Monday 09 May 2022 16:25:22 +0000 (0:00:00.739) 0:00:36.976 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.290942", "end": "2022-05-09 12:25:22.650807", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:22.359865" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:408 Monday 09 May 2022 16:25:23 +0000 (0:00:00.698) 0:00:37.675 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.347123", "end": "2022-05-09 12:25:23.371876", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:23.024753" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:413 Monday 09 May 2022 16:25:24 +0000 (0:00:00.720) 0:00:38.395 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.305935", "end": "2022-05-09 12:25:24.045456", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:23.739521" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:418 Monday 09 May 2022 16:25:24 +0000 (0:00:00.674) 0:00:39.070 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.302112", "end": "2022-05-09 12:25:24.732292", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:25:24.430180" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:423 Monday 09 May 2022 16:25:25 +0000 (0:00:00.686) 0:00:39.756 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.724168", "end": "2022-05-09 12:25:25.844185", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:25:25.120017" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=61 changed=35 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:25:26 +0000 (0:00:01.115) 0:00:40.872 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.89s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.64s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.22s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 1.18s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:271 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 1.14s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:289 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.12s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:423 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.10s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:57 ----------------------------------- Firewalld custom zone --------------------------------------------------- 1.08s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:331 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.90s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:44 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.76s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:14 ----------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.76s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Reset trusted zone to defaults ------------------------------------------ 0.74s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:398 ---------------------------------- Reset internal zone to defaults ----------------------------------------- 0.72s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:393 ---------------------------------- Reset drop zone to defaults --------------------------------------------- 0.72s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:408 ---------------------------------- Permit traffic in default zone for https service ------------------------ 0.70s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:64 ----------------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.70s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:403 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.69s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:418 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.68s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:383 ---------------------------------- Reset public zone to defaults ------------------------------------------- 0.67s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:413 ---------------------------------- Reset internal zone to defaults ----------------------------------------- 0.66s /tmp/tmpoq9cmy7u/tests/tests_ansible.yml:19 ----------------------------------- ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_default.yml **************************************************** 1 plays in /tmp/tmpoq9cmy7u/tests/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:25:43 +0000 (0:00:00.012) 0:00:00.012 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:25:43 +0000 (0:00:00.015) 0:00:00.027 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:25:47 +0000 (0:00:04.833) 0:00:04.861 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:25:49 +0000 (0:00:01.959) 0:00:06.821 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:25:49 +0000 (0:00:00.018) 0:00:06.840 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:25:51 +0000 (0:00:01.306) 0:00:08.147 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:25:36 EDT", "ActiveEnterTimestampMonotonic": "4060926", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus.service polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:25:35 EDT", "AssertTimestampMonotonic": "3709474", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:25:35 EDT", "ConditionTimestampMonotonic": "3709473", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service ip6tables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "857", "ExecMainStartTimestamp": "Mon 2022-05-09 12:25:35 EDT", "ExecMainStartTimestampMonotonic": "3710907", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:25:35 EDT] ; stop_time=[n/a] ; pid=857 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:25:35 EDT", "InactiveExitTimestampMonotonic": "3710954", "InvocationID": "f92a703b8e5847159f5ec2bea7dc211c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "857", "MemoryAccounting": "yes", "MemoryCurrent": "34185216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:25:36 EDT", "StateChangeTimestampMonotonic": "4060926", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:25:36 EDT", "WatchdogTimestampMonotonic": "4060924", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:25:52 +0000 (0:00:00.741) 0:00:08.888 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:25:52 +0000 (0:00:00.031) 0:00:08.920 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:25:52 +0000 (0:00:00.026) 0:00:08.946 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:25:52 +0000 (0:00:00.026) 0:00:08.972 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:25:52 +0000 (0:00:00.027) 0:00:08.999 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:25:52 +0000 (0:00:00.028) 0:00:09.028 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=6 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:25:52 +0000 (0:00:00.034) 0:00:09.063 ************ =============================================================================== linux-system-roles.firewall : Ensure ansible_facts used by role --------- 4.83s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install firewalld ------------------------- 1.96s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.31s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 0.74s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Calculate what has changed ---------------- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 ---- linux-system-roles.firewall : Get config files, checksums after --------- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 ---- linux-system-roles.firewall : Configure firewall ------------------------ 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : include_tasks ----------------------------- 0.02s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 ----- ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_purge_config.yml *********************************************** 1 plays in /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:1 Monday 09 May 2022 16:26:07 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Run the role with no config] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:25 Monday 09 May 2022 16:26:08 +0000 (0:00:01.243) 0:00:01.252 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:08 +0000 (0:00:00.051) 0:00:01.303 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:09 +0000 (0:00:00.022) 0:00:01.325 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:09 +0000 (0:00:00.564) 0:00:01.890 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:11 +0000 (0:00:01.787) 0:00:03.677 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:11 +0000 (0:00:00.021) 0:00:03.699 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:12 +0000 (0:00:01.235) 0:00:04.935 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:00 EDT", "ActiveEnterTimestampMonotonic": "4118019", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:25:59 EDT", "AssertTimestampMonotonic": "3758491", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ConditionTimestampMonotonic": "3758491", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "959", "ExecMainStartTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ExecMainStartTimestampMonotonic": "3760108", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:25:59 EDT] ; stop_time=[n/a] ; pid=959 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:25:59 EDT", "InactiveExitTimestampMonotonic": "3760156", "InvocationID": "18f36270a81b421e82c800e72fee21ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "959", "MemoryAccounting": "yes", "MemoryCurrent": "34189312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:00 EDT", "StateChangeTimestampMonotonic": "4118019", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:00 EDT", "WatchdogTimestampMonotonic": "4118017", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:13 +0000 (0:00:00.768) 0:00:05.703 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:13 +0000 (0:00:00.031) 0:00:05.735 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:26:13 +0000 (0:00:00.027) 0:00:05.763 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:26:13 +0000 (0:00:00.031) 0:00:05.794 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:26:13 +0000 (0:00:00.028) 0:00:05.823 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:26:13 +0000 (0:00:00.027) 0:00:05.851 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:29 Monday 09 May 2022 16:26:13 +0000 (0:00:00.032) 0:00:05.883 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:34 Monday 09 May 2022 16:26:13 +0000 (0:00:00.016) 0:00:05.899 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:13 +0000 (0:00:00.030) 0:00:05.929 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:13 +0000 (0:00:00.019) 0:00:05.949 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:14 +0000 (0:00:00.510) 0:00:06.460 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:15 +0000 (0:00:01.234) 0:00:07.695 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:15 +0000 (0:00:00.022) 0:00:07.718 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:16 +0000 (0:00:01.352) 0:00:09.071 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:00 EDT", "ActiveEnterTimestampMonotonic": "4118019", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:25:59 EDT", "AssertTimestampMonotonic": "3758491", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ConditionTimestampMonotonic": "3758491", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "959", "ExecMainStartTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ExecMainStartTimestampMonotonic": "3760108", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:25:59 EDT] ; stop_time=[n/a] ; pid=959 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:25:59 EDT", "InactiveExitTimestampMonotonic": "3760156", "InvocationID": "18f36270a81b421e82c800e72fee21ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "959", "MemoryAccounting": "yes", "MemoryCurrent": "34189312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:00 EDT", "StateChangeTimestampMonotonic": "4118019", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:00 EDT", "WatchdogTimestampMonotonic": "4118017", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:18 +0000 (0:00:01.546) 0:00:10.617 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:18 +0000 (0:00:00.037) 0:00:10.654 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:26:18 +0000 (0:00:00.029) 0:00:10.684 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:26:22 +0000 (0:00:04.145) 0:00:14.830 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:26:22 +0000 (0:00:00.030) 0:00:14.860 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:26:22 +0000 (0:00:00.030) 0:00:14.891 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:40 Monday 09 May 2022 16:26:22 +0000 (0:00:00.033) 0:00:14.924 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:45 Monday 09 May 2022 16:26:22 +0000 (0:00:00.017) 0:00:14.942 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:22 +0000 (0:00:00.030) 0:00:14.973 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:22 +0000 (0:00:00.019) 0:00:14.993 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:23 +0000 (0:00:00.507) 0:00:15.500 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:24 +0000 (0:00:01.294) 0:00:16.795 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:24 +0000 (0:00:00.024) 0:00:16.819 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:25 +0000 (0:00:01.277) 0:00:18.097 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:00 EDT", "ActiveEnterTimestampMonotonic": "4118019", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:25:59 EDT", "AssertTimestampMonotonic": "3758491", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ConditionTimestampMonotonic": "3758491", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "959", "ExecMainStartTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ExecMainStartTimestampMonotonic": "3760108", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:25:59 EDT] ; stop_time=[n/a] ; pid=959 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:25:59 EDT", "InactiveExitTimestampMonotonic": "3760156", "InvocationID": "18f36270a81b421e82c800e72fee21ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "959", "MemoryAccounting": "yes", "MemoryCurrent": "36470784", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:00 EDT", "StateChangeTimestampMonotonic": "4118019", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:00 EDT", "WatchdogTimestampMonotonic": "4118017", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:26 +0000 (0:00:00.532) 0:00:18.629 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:26 +0000 (0:00:00.039) 0:00:18.668 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:26:26 +0000 (0:00:00.029) 0:00:18.698 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:26:29 +0000 (0:00:03.270) 0:00:21.969 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:26:29 +0000 (0:00:00.029) 0:00:21.998 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:26:29 +0000 (0:00:00.028) 0:00:22.027 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:51 Monday 09 May 2022 16:26:29 +0000 (0:00:00.032) 0:00:22.059 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:56 Monday 09 May 2022 16:26:29 +0000 (0:00:00.017) 0:00:22.076 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:29 +0000 (0:00:00.039) 0:00:22.115 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:29 +0000 (0:00:00.020) 0:00:22.136 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:30 +0000 (0:00:00.505) 0:00:22.641 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:31 +0000 (0:00:01.313) 0:00:23.955 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:31 +0000 (0:00:00.020) 0:00:23.976 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:32 +0000 (0:00:01.252) 0:00:25.229 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:00 EDT", "ActiveEnterTimestampMonotonic": "4118019", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:25:59 EDT", "AssertTimestampMonotonic": "3758491", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ConditionTimestampMonotonic": "3758491", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "959", "ExecMainStartTimestamp": "Mon 2022-05-09 12:25:59 EDT", "ExecMainStartTimestampMonotonic": "3760108", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:25:59 EDT] ; stop_time=[n/a] ; pid=959 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:25:59 EDT", "InactiveExitTimestampMonotonic": "3760156", "InvocationID": "18f36270a81b421e82c800e72fee21ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "959", "MemoryAccounting": "yes", "MemoryCurrent": "36536320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:00 EDT", "StateChangeTimestampMonotonic": "4118019", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:00 EDT", "WatchdogTimestampMonotonic": "4118017", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:33 +0000 (0:00:00.497) 0:00:25.727 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:33 +0000 (0:00:00.035) 0:00:25.763 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:26:34 +0000 (0:00:01.214) 0:00:26.977 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:26:38 +0000 (0:00:03.833) 0:00:30.810 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:26:38 +0000 (0:00:00.306) 0:00:31.117 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:26:38 +0000 (0:00:00.040) 0:00:31.158 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changes] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:62 Monday 09 May 2022 16:26:38 +0000 (0:00:00.047) 0:00:31.205 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:67 Monday 09 May 2022 16:26:38 +0000 (0:00:00.023) 0:00:31.229 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:38 +0000 (0:00:00.065) 0:00:31.295 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:39 +0000 (0:00:00.063) 0:00:31.358 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:39 +0000 (0:00:00.532) 0:00:31.890 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:40 +0000 (0:00:01.250) 0:00:33.141 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:40 +0000 (0:00:00.023) 0:00:33.164 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:42 +0000 (0:00:01.296) 0:00:34.461 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:34 EDT", "ActiveEnterTimestampMonotonic": "38190398", "ActiveExitTimestamp": "Mon 2022-05-09 12:26:33 EDT", "ActiveExitTimestampMonotonic": "37316390", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:26:33 EDT", "AssertTimestampMonotonic": "37950873", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:26:33 EDT", "ConditionTimestampMonotonic": "37950873", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13650", "ExecMainStartTimestamp": "Mon 2022-05-09 12:26:33 EDT", "ExecMainStartTimestampMonotonic": "37952241", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:26:33 EDT] ; stop_time=[n/a] ; pid=13650 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:26:33 EDT", "InactiveEnterTimestampMonotonic": "37949683", "InactiveExitTimestamp": "Mon 2022-05-09 12:26:33 EDT", "InactiveExitTimestampMonotonic": "37952283", "InvocationID": "b4971cadb48a4010ae882ac79b289bf9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13650", "MemoryAccounting": "yes", "MemoryCurrent": "27295744", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:34 EDT", "StateChangeTimestampMonotonic": "38190398", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:34 EDT", "WatchdogTimestampMonotonic": "38190396", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:42 +0000 (0:00:00.540) 0:00:35.001 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:42 +0000 (0:00:00.039) 0:00:35.041 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:26:44 +0000 (0:00:01.307) 0:00:36.348 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:26:48 +0000 (0:00:04.087) 0:00:40.435 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:26:48 +0000 (0:00:00.292) 0:00:40.727 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:26:48 +0000 (0:00:00.036) 0:00:40.764 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:73 Monday 09 May 2022 16:26:48 +0000 (0:00:00.037) 0:00:40.801 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:78 Monday 09 May 2022 16:26:48 +0000 (0:00:00.017) 0:00:40.819 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:48 +0000 (0:00:00.041) 0:00:40.860 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:48 +0000 (0:00:00.026) 0:00:40.887 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:49 +0000 (0:00:00.819) 0:00:41.706 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:50 +0000 (0:00:01.268) 0:00:42.974 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:50 +0000 (0:00:00.022) 0:00:42.997 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:51 +0000 (0:00:01.254) 0:00:44.252 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:43 EDT", "ActiveEnterTimestampMonotonic": "47553088", "ActiveExitTimestamp": "Mon 2022-05-09 12:26:42 EDT", "ActiveExitTimestampMonotonic": "46588624", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:26:43 EDT", "AssertTimestampMonotonic": "47297651", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:26:43 EDT", "ConditionTimestampMonotonic": "47297650", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14953", "ExecMainStartTimestamp": "Mon 2022-05-09 12:26:43 EDT", "ExecMainStartTimestampMonotonic": "47299653", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:26:43 EDT] ; stop_time=[n/a] ; pid=14953 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:26:43 EDT", "InactiveEnterTimestampMonotonic": "47295837", "InactiveExitTimestamp": "Mon 2022-05-09 12:26:43 EDT", "InactiveExitTimestampMonotonic": "47299695", "InvocationID": "8650e5fa4b66423db64896b5ebd4641e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14953", "MemoryAccounting": "yes", "MemoryCurrent": "27308032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:43 EDT", "StateChangeTimestampMonotonic": "47553088", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:43 EDT", "WatchdogTimestampMonotonic": "47553087", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:52 +0000 (0:00:00.515) 0:00:44.767 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:52 +0000 (0:00:00.037) 0:00:44.805 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:26:52 +0000 (0:00:00.031) 0:00:44.836 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:26:55 +0000 (0:00:03.451) 0:00:48.287 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:26:56 +0000 (0:00:00.031) 0:00:48.318 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:26:56 +0000 (0:00:00.033) 0:00:48.352 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:84 Monday 09 May 2022 16:26:56 +0000 (0:00:00.039) 0:00:48.391 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:89 Monday 09 May 2022 16:26:56 +0000 (0:00:00.020) 0:00:48.411 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:26:56 +0000 (0:00:00.090) 0:00:48.502 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:26:56 +0000 (0:00:00.020) 0:00:48.522 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:26:56 +0000 (0:00:00.534) 0:00:49.057 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:26:58 +0000 (0:00:01.290) 0:00:50.347 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:26:58 +0000 (0:00:00.021) 0:00:50.369 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:26:59 +0000 (0:00:01.290) 0:00:51.659 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:26:43 EDT", "ActiveEnterTimestampMonotonic": "47553088", "ActiveExitTimestamp": "Mon 2022-05-09 12:26:42 EDT", "ActiveExitTimestampMonotonic": "46588624", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:26:43 EDT", "AssertTimestampMonotonic": "47297651", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:26:43 EDT", "ConditionTimestampMonotonic": "47297650", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14953", "ExecMainStartTimestamp": "Mon 2022-05-09 12:26:43 EDT", "ExecMainStartTimestampMonotonic": "47299653", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:26:43 EDT] ; stop_time=[n/a] ; pid=14953 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:26:43 EDT", "InactiveEnterTimestampMonotonic": "47295837", "InactiveExitTimestamp": "Mon 2022-05-09 12:26:43 EDT", "InactiveExitTimestampMonotonic": "47299695", "InvocationID": "8650e5fa4b66423db64896b5ebd4641e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14953", "MemoryAccounting": "yes", "MemoryCurrent": "27353088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:26:43 EDT", "StateChangeTimestampMonotonic": "47553088", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:26:43 EDT", "WatchdogTimestampMonotonic": "47553087", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:26:59 +0000 (0:00:00.516) 0:00:52.176 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:26:59 +0000 (0:00:00.038) 0:00:52.214 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:27:01 +0000 (0:00:01.218) 0:00:53.432 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:27:01 +0000 (0:00:00.030) 0:00:53.463 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:27:01 +0000 (0:00:00.242) 0:00:53.705 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:27:01 +0000 (0:00:00.033) 0:00:53.739 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:96 Monday 09 May 2022 16:27:01 +0000 (0:00:00.033) 0:00:53.772 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:101 Monday 09 May 2022 16:27:01 +0000 (0:00:00.015) 0:00:53.788 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:27:01 +0000 (0:00:00.053) 0:00:53.841 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:27:01 +0000 (0:00:00.019) 0:00:53.861 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:27:04 +0000 (0:00:02.536) 0:00:56.397 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:27:05 +0000 (0:00:01.264) 0:00:57.662 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:27:05 +0000 (0:00:00.021) 0:00:57.683 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:27:06 +0000 (0:00:01.246) 0:00:58.929 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:00 EDT", "ActiveEnterTimestampMonotonic": "64647115", "ActiveExitTimestamp": "Mon 2022-05-09 12:26:59 EDT", "ActiveExitTimestampMonotonic": "63759045", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:00 EDT", "AssertTimestampMonotonic": "64395168", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:00 EDT", "ConditionTimestampMonotonic": "64395167", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "17205", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:00 EDT", "ExecMainStartTimestampMonotonic": "64396485", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:00 EDT] ; stop_time=[n/a] ; pid=17205 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:27:00 EDT", "InactiveEnterTimestampMonotonic": "64393938", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:00 EDT", "InactiveExitTimestampMonotonic": "64396520", "InvocationID": "621a01d69d954adbba7cf8c23f5732cc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "17205", "MemoryAccounting": "yes", "MemoryCurrent": "25096192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:00 EDT", "StateChangeTimestampMonotonic": "64647115", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:00 EDT", "WatchdogTimestampMonotonic": "64647113", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:27:07 +0000 (0:00:00.496) 0:00:59.426 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:27:07 +0000 (0:00:00.034) 0:00:59.461 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:27:07 +0000 (0:00:00.028) 0:00:59.489 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:27:07 +0000 (0:00:00.600) 0:01:00.090 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:27:07 +0000 (0:00:00.029) 0:01:00.120 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:27:07 +0000 (0:00:00.030) 0:01:00.150 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:109 Monday 09 May 2022 16:27:07 +0000 (0:00:00.033) 0:01:00.183 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:114 Monday 09 May 2022 16:27:07 +0000 (0:00:00.016) 0:01:00.200 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:27:07 +0000 (0:00:00.053) 0:01:00.253 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:27:07 +0000 (0:00:00.020) 0:01:00.274 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:27:08 +0000 (0:00:00.505) 0:01:00.779 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:27:09 +0000 (0:00:01.234) 0:01:02.014 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:27:09 +0000 (0:00:00.024) 0:01:02.038 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:27:10 +0000 (0:00:01.234) 0:01:03.272 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:00 EDT", "ActiveEnterTimestampMonotonic": "64647115", "ActiveExitTimestamp": "Mon 2022-05-09 12:26:59 EDT", "ActiveExitTimestampMonotonic": "63759045", "ActiveState": "active", "After": "polkit.service dbus.socket sysinit.target basic.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:00 EDT", "AssertTimestampMonotonic": "64395168", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:00 EDT", "ConditionTimestampMonotonic": "64395167", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "17205", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:00 EDT", "ExecMainStartTimestampMonotonic": "64396485", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:00 EDT] ; stop_time=[n/a] ; pid=17205 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:27:00 EDT", "InactiveEnterTimestampMonotonic": "64393938", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:00 EDT", "InactiveExitTimestampMonotonic": "64396520", "InvocationID": "621a01d69d954adbba7cf8c23f5732cc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "17205", "MemoryAccounting": "yes", "MemoryCurrent": "26341376", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:00 EDT", "StateChangeTimestampMonotonic": "64647115", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:00 EDT", "WatchdogTimestampMonotonic": "64647113", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:27:11 +0000 (0:00:00.494) 0:01:03.766 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:27:11 +0000 (0:00:00.036) 0:01:03.803 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:27:11 +0000 (0:00:00.032) 0:01:03.835 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:27:12 +0000 (0:00:00.554) 0:01:04.389 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:27:12 +0000 (0:00:00.031) 0:01:04.421 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:27:12 +0000 (0:00:00.031) 0:01:04.452 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:122 Monday 09 May 2022 16:27:12 +0000 (0:00:00.035) 0:01:04.487 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=71 changed=4 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Monday 09 May 2022 16:27:12 +0000 (0:00:00.024) 0:01:04.511 ************ =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 4.09s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 3.45s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 2.54s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install firewalld ------------------------- 1.79s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.35s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.31s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Get config files, checksums before and remove --- 1.31s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Install python3-firewall ------------------ 1.30s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.29s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.29s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.29s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.28s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.27s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.26s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.25s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.25s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.25s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.25s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.24s /tmp/tmpoq9cmy7u/tests/tests_purge_config.yml:1 ------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.24s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_target.yml ***************************************************** 1 plays in /tmp/tmpoq9cmy7u/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:1 Monday 09 May 2022 16:27:26 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:3 Monday 09 May 2022 16:27:27 +0000 (0:00:01.221) 0:00:01.231 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:27:27 +0000 (0:00:00.063) 0:00:01.294 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:27:27 +0000 (0:00:00.024) 0:00:01.318 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:27:28 +0000 (0:00:00.533) 0:00:01.851 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:27:30 +0000 (0:00:01.865) 0:00:03.717 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:27:30 +0000 (0:00:00.020) 0:00:03.738 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:27:31 +0000 (0:00:01.376) 0:00:05.114 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:19 EDT", "ActiveEnterTimestampMonotonic": "3977023", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:18 EDT", "AssertTimestampMonotonic": "3647571", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:18 EDT", "ConditionTimestampMonotonic": "3647571", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service nftables.service ip6tables.service iptables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "992", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:18 EDT", "ExecMainStartTimestampMonotonic": "3648704", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:18 EDT] ; stop_time=[n/a] ; pid=992 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:18 EDT", "InactiveExitTimestampMonotonic": "3648748", "InvocationID": "be14a16a2c8d40768fb4f66d4282bf8a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "992", "MemoryAccounting": "yes", "MemoryCurrent": "34181120", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:19 EDT", "StateChangeTimestampMonotonic": "3977023", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:19 EDT", "WatchdogTimestampMonotonic": "3977020", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:27:32 +0000 (0:00:00.771) 0:00:05.886 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:27:32 +0000 (0:00:00.035) 0:00:05.922 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:27:32 +0000 (0:00:00.028) 0:00:05.950 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'public', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public", "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:27:34 +0000 (0:00:01.778) 0:00:07.728 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:27:34 +0000 (0:00:00.030) 0:00:07.759 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:27:34 +0000 (0:00:00.030) 0:00:07.789 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get target setting] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:15 Monday 09 May 2022 16:27:34 +0000 (0:00:00.042) 0:00:07.831 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.265251", "end": "2022-05-09 12:27:33.541478", "rc": 0, "start": "2022-05-09 12:27:33.276227" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:20 Monday 09 May 2022 16:27:34 +0000 (0:00:00.779) 0:00:08.610 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:26 Monday 09 May 2022 16:27:34 +0000 (0:00:00.023) 0:00:08.634 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:27:34 +0000 (0:00:00.031) 0:00:08.666 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:27:34 +0000 (0:00:00.022) 0:00:08.688 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:27:35 +0000 (0:00:00.523) 0:00:09.212 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:27:36 +0000 (0:00:01.486) 0:00:10.698 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:27:37 +0000 (0:00:00.020) 0:00:10.719 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:27:38 +0000 (0:00:01.306) 0:00:12.026 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:19 EDT", "ActiveEnterTimestampMonotonic": "3977023", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:18 EDT", "AssertTimestampMonotonic": "3647571", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:18 EDT", "ConditionTimestampMonotonic": "3647571", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service nftables.service ip6tables.service iptables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "992", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:18 EDT", "ExecMainStartTimestampMonotonic": "3648704", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:18 EDT] ; stop_time=[n/a] ; pid=992 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:18 EDT", "InactiveExitTimestampMonotonic": "3648748", "InvocationID": "be14a16a2c8d40768fb4f66d4282bf8a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "992", "MemoryAccounting": "yes", "MemoryCurrent": "36397056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:19 EDT", "StateChangeTimestampMonotonic": "3977023", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:19 EDT", "WatchdogTimestampMonotonic": "3977020", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:27:38 +0000 (0:00:00.504) 0:00:12.531 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:27:38 +0000 (0:00:00.039) 0:00:12.570 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:27:38 +0000 (0:00:00.031) 0:00:12.602 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:27:39 +0000 (0:00:01.048) 0:00:13.650 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:27:39 +0000 (0:00:00.030) 0:00:13.681 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:27:40 +0000 (0:00:00.029) 0:00:13.710 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get target setting] ****************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:35 Monday 09 May 2022 16:27:40 +0000 (0:00:00.033) 0:00:13.744 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.255996", "end": "2022-05-09 12:27:39.304826", "rc": 0, "start": "2022-05-09 12:27:39.048830" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_target.yml:40 Monday 09 May 2022 16:27:40 +0000 (0:00:00.627) 0:00:14.371 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=19 changed=2 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Monday 09 May 2022 16:27:40 +0000 (0:00:00.026) 0:00:14.398 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.87s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 1.78s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 1.49s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.38s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.31s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.22s /tmp/tmpoq9cmy7u/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 1.05s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Get target setting ------------------------------------------------------ 0.78s /tmp/tmpoq9cmy7u/tests/tests_target.yml:15 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.77s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Get target setting ------------------------------------------------------ 0.63s /tmp/tmpoq9cmy7u/tests/tests_target.yml:35 ------------------------------------ linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.53s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.52s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.50s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Call role to change target settings ------------------------------------- 0.06s /tmp/tmpoq9cmy7u/tests/tests_target.yml:3 ------------------------------------- linux-system-roles.firewall : Show diffs -------------------------------- 0.04s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- Call role to reset target settings -------------------------------------- 0.03s /tmp/tmpoq9cmy7u/tests/tests_target.yml:26 ------------------------------------ linux-system-roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_zone.yml ******************************************************* 1 plays in /tmp/tmpoq9cmy7u/tests/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:1 Monday 09 May 2022 16:27:56 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.firewall] ****************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:6 Monday 09 May 2022 16:27:57 +0000 (0:00:01.191) 0:00:01.200 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:27:57 +0000 (0:00:00.049) 0:00:01.250 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:27:57 +0000 (0:00:00.022) 0:00:01.273 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:27:58 +0000 (0:00:00.525) 0:00:01.798 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:27:59 +0000 (0:00:01.892) 0:00:03.690 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:27:59 +0000 (0:00:00.022) 0:00:03.712 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:28:01 +0000 (0:00:01.329) 0:00:05.042 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:49 EDT", "ActiveEnterTimestampMonotonic": "4075031", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.service dbus.socket basic.target polkit.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:48 EDT", "AssertTimestampMonotonic": "3735823", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:48 EDT", "ConditionTimestampMonotonic": "3735823", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:48 EDT", "ExecMainStartTimestampMonotonic": "3737217", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:48 EDT] ; stop_time=[n/a] ; pid=944 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:48 EDT", "InactiveExitTimestampMonotonic": "3737271", "InvocationID": "cbf75bec65af4b1b8d24ca5a8093c6ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "944", "MemoryAccounting": "yes", "MemoryCurrent": "34217984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:49 EDT", "StateChangeTimestampMonotonic": "4075031", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:49 EDT", "WatchdogTimestampMonotonic": "4075028", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:28:02 +0000 (0:00:00.792) 0:00:05.834 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:28:02 +0000 (0:00:00.035) 0:00:05.870 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:28:02 +0000 (0:00:00.031) 0:00:05.902 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:28:02 +0000 (0:00:00.033) 0:00:05.936 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:28:02 +0000 (0:00:00.029) 0:00:05.966 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:28:02 +0000 (0:00:00.033) 0:00:05.999 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:14 Monday 09 May 2022 16:28:02 +0000 (0:00:00.035) 0:00:06.034 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:28:02 +0000 (0:00:00.045) 0:00:06.080 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:28:02 +0000 (0:00:00.040) 0:00:06.120 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:28:02 +0000 (0:00:00.515) 0:00:06.636 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:28:04 +0000 (0:00:01.288) 0:00:07.925 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:28:04 +0000 (0:00:00.047) 0:00:07.972 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:28:05 +0000 (0:00:01.263) 0:00:09.236 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:49 EDT", "ActiveEnterTimestampMonotonic": "4075031", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.service dbus.socket basic.target polkit.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:48 EDT", "AssertTimestampMonotonic": "3735823", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:48 EDT", "ConditionTimestampMonotonic": "3735823", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:48 EDT", "ExecMainStartTimestampMonotonic": "3737217", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:48 EDT] ; stop_time=[n/a] ; pid=944 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:48 EDT", "InactiveExitTimestampMonotonic": "3737271", "InvocationID": "cbf75bec65af4b1b8d24ca5a8093c6ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "944", "MemoryAccounting": "yes", "MemoryCurrent": "34217984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:49 EDT", "StateChangeTimestampMonotonic": "4075031", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:49 EDT", "WatchdogTimestampMonotonic": "4075028", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:28:05 +0000 (0:00:00.502) 0:00:09.739 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:28:06 +0000 (0:00:00.038) 0:00:09.777 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:28:06 +0000 (0:00:00.032) 0:00:09.809 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:28:07 +0000 (0:00:01.925) 0:00:11.734 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:28:08 +0000 (0:00:00.033) 0:00:11.768 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:28:08 +0000 (0:00:00.033) 0:00:11.801 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Fail on missing zones] *************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:26 Monday 09 May 2022 16:28:08 +0000 (0:00:00.039) 0:00:11.841 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:32 Monday 09 May 2022 16:28:08 +0000 (0:00:00.032) 0:00:11.873 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:28:08 +0000 (0:00:00.050) 0:00:11.924 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:28:08 +0000 (0:00:00.038) 0:00:11.963 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:28:08 +0000 (0:00:00.529) 0:00:12.493 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:28:10 +0000 (0:00:01.320) 0:00:13.813 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:28:10 +0000 (0:00:00.035) 0:00:13.849 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:28:11 +0000 (0:00:01.317) 0:00:15.166 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:27:49 EDT", "ActiveEnterTimestampMonotonic": "4075031", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.service dbus.socket basic.target polkit.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:27:48 EDT", "AssertTimestampMonotonic": "3735823", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:27:48 EDT", "ConditionTimestampMonotonic": "3735823", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Mon 2022-05-09 12:27:48 EDT", "ExecMainStartTimestampMonotonic": "3737217", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:27:48 EDT] ; stop_time=[n/a] ; pid=944 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:27:48 EDT", "InactiveExitTimestampMonotonic": "3737271", "InvocationID": "cbf75bec65af4b1b8d24ca5a8093c6ec", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "944", "MemoryAccounting": "yes", "MemoryCurrent": "35164160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:27:49 EDT", "StateChangeTimestampMonotonic": "4075031", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:27:49 EDT", "WatchdogTimestampMonotonic": "4075028", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:28:11 +0000 (0:00:00.520) 0:00:15.687 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:28:11 +0000 (0:00:00.040) 0:00:15.728 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml 125431fb0f0e77e66255267a5da843aa1bf0b94b1f1b0cc88c1033a06732ef46 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:28:13 +0000 (0:00:01.055) 0:00:16.784 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:28:16 +0000 (0:00:03.918) 0:00:20.702 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:28:17 +0000 (0:00:00.317) 0:00:21.019 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:28:17 +0000 (0:00:00.038) 0:00:21.058 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:62 Monday 09 May 2022 16:28:17 +0000 (0:00:00.038) 0:00:21.096 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:68 Monday 09 May 2022 16:28:17 +0000 (0:00:00.031) 0:00:21.127 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:28:17 +0000 (0:00:00.047) 0:00:21.174 ************ included: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:28:17 +0000 (0:00:00.036) 0:00:21.211 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:28:17 +0000 (0:00:00.532) 0:00:21.744 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:28:19 +0000 (0:00:01.360) 0:00:23.104 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:28:19 +0000 (0:00:00.034) 0:00:23.138 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:28:20 +0000 (0:00:01.298) 0:00:24.437 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:28:13 EDT", "ActiveEnterTimestampMonotonic": "28013587", "ActiveExitTimestamp": "Mon 2022-05-09 12:28:12 EDT", "ActiveExitTimestampMonotonic": "27280395", "ActiveState": "active", "After": "sysinit.target dbus.service dbus.socket basic.target polkit.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:28:12 EDT", "AssertTimestampMonotonic": "27763347", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:28:12 EDT", "ConditionTimestampMonotonic": "27763347", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12360", "ExecMainStartTimestamp": "Mon 2022-05-09 12:28:12 EDT", "ExecMainStartTimestampMonotonic": "27764742", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:28:12 EDT] ; stop_time=[n/a] ; pid=12360 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:28:12 EDT", "InactiveEnterTimestampMonotonic": "27761745", "InactiveExitTimestamp": "Mon 2022-05-09 12:28:12 EDT", "InactiveExitTimestampMonotonic": "27764774", "InvocationID": "b6b5b773bc8e490cb021eb5e6bace030", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12360", "MemoryAccounting": "yes", "MemoryCurrent": "27344896", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:28:13 EDT", "StateChangeTimestampMonotonic": "28013587", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:28:13 EDT", "WatchdogTimestampMonotonic": "28013586", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:28:21 +0000 (0:00:00.515) 0:00:24.953 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:28:21 +0000 (0:00:00.039) 0:00:24.992 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:28:22 +0000 (0:00:01.032) 0:00:26.025 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:28:26 +0000 (0:00:03.746) 0:00:29.772 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:28:26 +0000 (0:00:00.316) 0:00:30.088 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:28:26 +0000 (0:00:00.040) 0:00:30.128 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Fail on newly changes] *************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:98 Monday 09 May 2022 16:28:26 +0000 (0:00:00.038) 0:00:30.167 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:104 Monday 09 May 2022 16:28:26 +0000 (0:00:00.039) 0:00:30.207 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.269740", "end": "2022-05-09 12:28:27.273448", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:27.003708" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:111 Monday 09 May 2022 16:28:27 +0000 (0:00:00.795) 0:00:31.003 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.269824", "end": "2022-05-09 12:28:27.928647", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:27.658823" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:118 Monday 09 May 2022 16:28:27 +0000 (0:00:00.656) 0:00:31.659 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.265729", "end": "2022-05-09 12:28:28.582032", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:28.316303" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:127 Monday 09 May 2022 16:28:28 +0000 (0:00:00.652) 0:00:32.311 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.277333", "end": "2022-05-09 12:28:29.242757", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:28.965424" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:133 Monday 09 May 2022 16:28:29 +0000 (0:00:00.665) 0:00:32.977 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.269273", "end": "2022-05-09 12:28:29.902005", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:29.632732" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:139 Monday 09 May 2022 16:28:29 +0000 (0:00:00.656) 0:00:33.633 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.258245", "end": "2022-05-09 12:28:30.549102", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:30.290857" } STDOUT: yes TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmpoq9cmy7u/tests/tests_zone.yml:148 Monday 09 May 2022 16:28:30 +0000 (0:00:00.649) 0:00:34.282 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.552507", "end": "2022-05-09 12:28:32.485183", "rc": 0, "start": "2022-05-09 12:28:30.932676" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=41 changed=8 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Monday 09 May 2022 16:28:32 +0000 (0:00:01.934) 0:00:36.217 ************ =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 3.75s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Reset to zone defaults -------------------------------------------------- 1.93s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:148 ------------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 1.93s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 1.89s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.36s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.33s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.32s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.32s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.30s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.29s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.26s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:1 --------------------------------------- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.03s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Verify firewalld zone internal services --------------------------------- 0.80s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:104 ------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.79s /tmp/tmpoq9cmy7u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Verify custom zone has masquerade added to it --------------------------- 0.67s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:127 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.66s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:133 ------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.66s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:111 ------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.65s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:118 ------------------------------------- Verify that service http has been added to the default zone dmz --------- 0.65s /tmp/tmpoq9cmy7u/tests/tests_zone.yml:139 ------------------------------------- ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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/tmp3if_6nul/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:1 Monday 09 May 2022 16:28:48 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:28:49 +0000 (0:00:01.189) 0:00:01.198 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:28:49 +0000 (0:00:00.025) 0:00:01.224 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:28:49 +0000 (0:00:00.564) 0:00:01.788 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:28:51 +0000 (0:00:01.895) 0:00:03.683 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:28:51 +0000 (0:00:00.022) 0:00:03.706 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:28:53 +0000 (0:00:01.317) 0:00:05.024 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:28:40 EDT", "ActiveEnterTimestampMonotonic": "4035302", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service dbus.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:28:39 EDT", "AssertTimestampMonotonic": "3686737", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:28:39 EDT", "ConditionTimestampMonotonic": "3686737", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Mon 2022-05-09 12:28:39 EDT", "ExecMainStartTimestampMonotonic": "3688040", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:28:39 EDT] ; stop_time=[n/a] ; pid=852 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:28:39 EDT", "InactiveExitTimestampMonotonic": "3688084", "InvocationID": "81f35a769a7a4da18b6d57dfc78bf964", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "852", "MemoryAccounting": "yes", "MemoryCurrent": "34205696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:28:40 EDT", "StateChangeTimestampMonotonic": "4035302", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:28:40 EDT", "WatchdogTimestampMonotonic": "4035299", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:28:53 +0000 (0:00:00.770) 0:00:05.794 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:28:53 +0000 (0:00:00.034) 0:00:05.829 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:28:53 +0000 (0:00:00.028) 0:00:05.857 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:28:53 +0000 (0:00:00.031) 0:00:05.889 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:28:53 +0000 (0:00:00.029) 0:00:05.918 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:28:53 +0000 (0:00:00.028) 0:00:05.947 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:14 Monday 09 May 2022 16:28:54 +0000 (0:00:00.034) 0:00:05.982 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.318472", "end": "2022-05-09 12:28:54.184223", "failed_when_result": false, "rc": 112, "start": "2022-05-09 12:28:53.865751" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:19 Monday 09 May 2022 16:28:54 +0000 (0:00:00.809) 0:00:06.791 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.269591", "end": "2022-05-09 12:28:54.838178", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:28:54.568587" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:24 Monday 09 May 2022 16:28:55 +0000 (0:00:00.653) 0:00:07.445 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.266486", "end": "2022-05-09 12:28:55.477541", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:28:55.211055" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:29 Monday 09 May 2022 16:28:56 +0000 (0:00:00.641) 0:00:08.087 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.270143", "end": "2022-05-09 12:28:56.130929", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:28:55.860786" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:34 Monday 09 May 2022 16:28:56 +0000 (0:00:00.653) 0:00:08.740 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.263885", "end": "2022-05-09 12:28:56.778873", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:28:56.514988" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:39 Monday 09 May 2022 16:28:57 +0000 (0:00:00.646) 0:00:09.387 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.259552", "end": "2022-05-09 12:28:57.403877", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:28:57.144325" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:44 Monday 09 May 2022 16:28:58 +0000 (0:00:00.625) 0:00:10.012 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.528895", "end": "2022-05-09 12:28:58.302628", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:28:57.773733" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:52 Monday 09 May 2022 16:28:58 +0000 (0:00:00.898) 0:00:10.910 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.261670", "end": "2022-05-09 12:28:58.925725", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:58.664055" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:57 Monday 09 May 2022 16:28:59 +0000 (0:00:00.620) 0:00:11.531 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.718451", "end": "2022-05-09 12:29:00.008833", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:28:59.290382" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:64 Monday 09 May 2022 16:29:00 +0000 (0:00:01.086) 0:00:12.618 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:72 Monday 09 May 2022 16:29:01 +0000 (0:00:00.712) 0:00:13.331 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:80 Monday 09 May 2022 16:29:01 +0000 (0:00:00.564) 0:00:13.895 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:88 Monday 09 May 2022 16:29:02 +0000 (0:00:00.566) 0:00:14.461 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:96 Monday 09 May 2022 16:29:03 +0000 (0:00:00.571) 0:00:15.033 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:104 Monday 09 May 2022 16:29:03 +0000 (0:00:00.556) 0:00:15.589 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:112 Monday 09 May 2022 16:29:04 +0000 (0:00:00.594) 0:00:16.183 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:120 Monday 09 May 2022 16:29:04 +0000 (0:00:00.546) 0:00:16.730 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:128 Monday 09 May 2022 16:29:05 +0000 (0:00:00.532) 0:00:17.262 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:137 Monday 09 May 2022 16:29:05 +0000 (0:00:00.538) 0:00:17.801 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:146 Monday 09 May 2022 16:29:06 +0000 (0:00:00.526) 0:00:18.327 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:154 Monday 09 May 2022 16:29:06 +0000 (0:00:00.551) 0:00:18.879 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:162 Monday 09 May 2022 16:29:07 +0000 (0:00:00.538) 0:00:19.417 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:171 Monday 09 May 2022 16:29:07 +0000 (0:00:00.531) 0:00:19.948 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:180 Monday 09 May 2022 16:29:08 +0000 (0:00:00.552) 0:00:20.501 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:189 Monday 09 May 2022 16:29:09 +0000 (0:00:00.562) 0:00:21.063 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:198 Monday 09 May 2022 16:29:09 +0000 (0:00:00.553) 0:00:21.616 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:207 Monday 09 May 2022 16:29:10 +0000 (0:00:00.626) 0:00:22.242 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:216 Monday 09 May 2022 16:29:10 +0000 (0:00:00.564) 0:00:22.807 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:224 Monday 09 May 2022 16:29:11 +0000 (0:00:00.565) 0:00:23.373 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:233 Monday 09 May 2022 16:29:11 +0000 (0:00:00.548) 0:00:23.922 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:242 Monday 09 May 2022 16:29:12 +0000 (0:00:00.530) 0:00:24.452 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:251 Monday 09 May 2022 16:29:13 +0000 (0:00:00.545) 0:00:24.997 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:260 Monday 09 May 2022 16:29:13 +0000 (0:00:00.544) 0:00:25.542 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:269 Monday 09 May 2022 16:29:14 +0000 (0:00:00.538) 0:00:26.081 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:278 Monday 09 May 2022 16:29:15 +0000 (0:00:01.180) 0:00:27.261 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:287 Monday 09 May 2022 16:29:15 +0000 (0:00:00.557) 0:00:27.819 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:296 Monday 09 May 2022 16:29:16 +0000 (0:00:01.053) 0:00:28.872 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:305 Monday 09 May 2022 16:29:17 +0000 (0:00:00.537) 0:00:29.409 ************ [DEPRECATION WARNING]: Alias 'immediate' is deprecated. See the module docs for more information. This feature will be removed from ansible.posix in a release after 2021-09-23. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:315 Monday 09 May 2022 16:29:18 +0000 (0:00:00.590) 0:00:30.000 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:325 Monday 09 May 2022 16:29:18 +0000 (0:00:00.579) 0:00:30.580 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:333 Monday 09 May 2022 16:29:19 +0000 (0:00:01.073) 0:00:31.654 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:338 Monday 09 May 2022 16:29:19 +0000 (0:00:00.024) 0:00:31.679 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:348 Monday 09 May 2022 16:29:20 +0000 (0:00:00.543) 0:00:32.223 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [set default zone] ******************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:358 Monday 09 May 2022 16:29:20 +0000 (0:00:00.532) 0:00:32.755 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:365 Monday 09 May 2022 16:29:21 +0000 (0:00:00.590) 0:00:33.346 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:377 Monday 09 May 2022 16:29:21 +0000 (0:00:00.563) 0:00:33.910 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.268188", "end": "2022-05-09 12:29:21.932772", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:21.664584" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:382 Monday 09 May 2022 16:29:22 +0000 (0:00:00.633) 0:00:34.543 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.276130", "end": "2022-05-09 12:29:22.579109", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:22.302979" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:387 Monday 09 May 2022 16:29:23 +0000 (0:00:00.644) 0:00:35.188 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.256144", "end": "2022-05-09 12:29:23.203457", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:22.947313" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:392 Monday 09 May 2022 16:29:23 +0000 (0:00:00.630) 0:00:35.818 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.265642", "end": "2022-05-09 12:29:23.841091", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:23.575449" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:397 Monday 09 May 2022 16:29:24 +0000 (0:00:00.632) 0:00:36.451 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.252968", "end": "2022-05-09 12:29:24.451525", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:24.198557" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:402 Monday 09 May 2022 16:29:25 +0000 (0:00:00.607) 0:00:37.059 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.257339", "end": "2022-05-09 12:29:25.062165", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:24.804826" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:407 Monday 09 May 2022 16:29:25 +0000 (0:00:00.611) 0:00:37.671 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.257595", "end": "2022-05-09 12:29:25.682687", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:25.425092" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:412 Monday 09 May 2022 16:29:26 +0000 (0:00:00.619) 0:00:38.290 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.268320", "end": "2022-05-09 12:29:26.312861", "failed_when_result": false, "rc": 22, "start": "2022-05-09 12:29:26.044541" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:417 Monday 09 May 2022 16:29:26 +0000 (0:00:00.631) 0:00:38.921 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.702377", "end": "2022-05-09 12:29:27.393328", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:29:26.690951" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=61 changed=35 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:29:28 +0000 (0:00:01.091) 0:00:40.013 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.90s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.32s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:1 --------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 1.18s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:269 ------------------------- Reload firewalld -------------------------------------------------------- 1.09s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:417 ------------------------- Reload firewalld -------------------------------------------------------- 1.09s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:57 -------------------------- Firewalld custom zone --------------------------------------------------- 1.07s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:325 ------------------------- Ensure default target in permanent internal zone ------------------------ 1.05s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:287 ------------------------- Reset default zone to defaults ------------------------------------------ 0.90s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:44 -------------------------- Remove custom zone ------------------------------------------------------ 0.81s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:14 -------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.77s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Permit traffic in default zone for https service ------------------------ 0.71s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:64 -------------------------- Reset internal zone to defaults ----------------------------------------- 0.65s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:19 -------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.65s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:29 -------------------------- Reset drop zone to defaults --------------------------------------------- 0.65s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:34 -------------------------- Remove customzone zone -------------------------------------------------- 0.64s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:382 ------------------------- Reset trusted zone to defaults ------------------------------------------ 0.64s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:24 -------------------------- Remove custom zone ------------------------------------------------------ 0.63s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:377 ------------------------- Reset trusted zone to defaults ------------------------------------------ 0.63s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:392 ------------------------- Reset default zone to defaults ------------------------------------------ 0.63s /tmp/tmp3if_6nul/tests/firewall/tests_ansible.yml:412 ------------------------- ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_default.yml **************************************************** 1 plays in /tmp/tmp3if_6nul/tests/firewall/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:29:42 +0000 (0:00:00.014) 0:00:00.014 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:29:42 +0000 (0:00:00.018) 0:00:00.033 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:29:43 +0000 (0:00:00.845) 0:00:00.878 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:29:45 +0000 (0:00:01.749) 0:00:02.628 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:29:45 +0000 (0:00:00.019) 0:00:02.647 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:29:46 +0000 (0:00:01.278) 0:00:03.926 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:29:35 EDT", "ActiveEnterTimestampMonotonic": "3979232", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target dbus.socket polkit.service dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:29:34 EDT", "AssertTimestampMonotonic": "3637799", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:29:34 EDT", "ConditionTimestampMonotonic": "3637798", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service ebtables.service ip6tables.service iptables.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1014", "ExecMainStartTimestamp": "Mon 2022-05-09 12:29:34 EDT", "ExecMainStartTimestampMonotonic": "3639087", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:29:34 EDT] ; stop_time=[n/a] ; pid=1014 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:29:34 EDT", "InactiveExitTimestampMonotonic": "3639133", "InvocationID": "f820c1684d844393a6a2ec40fd120f7a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1014", "MemoryAccounting": "yes", "MemoryCurrent": "34177024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:29:35 EDT", "StateChangeTimestampMonotonic": "3979232", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:29:35 EDT", "WatchdogTimestampMonotonic": "3979228", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:29:47 +0000 (0:00:00.800) 0:00:04.726 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:29:47 +0000 (0:00:00.034) 0:00:04.760 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:29:47 +0000 (0:00:00.027) 0:00:04.788 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:29:47 +0000 (0:00:00.029) 0:00:04.817 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:29:47 +0000 (0:00:00.027) 0:00:04.844 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:29:47 +0000 (0:00:00.027) 0:00:04.872 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=6 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:29:47 +0000 (0:00:00.033) 0:00:04.905 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.75s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.28s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.85s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.80s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Calculate what has changed --------- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.02s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : include_tasks ---------------------- 0.02s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_purge_config.yml *********************************************** 1 plays in /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:1 Monday 09 May 2022 16:30:03 +0000 (0:00:00.008) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Run the role with no config] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:23 Monday 09 May 2022 16:30:04 +0000 (0:00:01.203) 0:00:01.212 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:04 +0000 (0:00:00.049) 0:00:01.262 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:04 +0000 (0:00:00.025) 0:00:01.288 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:04 +0000 (0:00:00.537) 0:00:01.825 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:06 +0000 (0:00:01.937) 0:00:03.762 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:06 +0000 (0:00:00.022) 0:00:03.784 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:08 +0000 (0:00:01.427) 0:00:05.212 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:29:56 EDT", "ActiveEnterTimestampMonotonic": "4145831", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:29:55 EDT", "AssertTimestampMonotonic": "3806643", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ConditionTimestampMonotonic": "3806643", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "976", "ExecMainStartTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ExecMainStartTimestampMonotonic": "3808829", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:29:55 EDT] ; stop_time=[n/a] ; pid=976 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:29:55 EDT", "InactiveExitTimestampMonotonic": "3808869", "InvocationID": "0a80eec3f2d44cf4b1b0de5b70f37f6e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "976", "MemoryAccounting": "yes", "MemoryCurrent": "34177024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:29:56 EDT", "StateChangeTimestampMonotonic": "4145831", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:29:56 EDT", "WatchdogTimestampMonotonic": "4145828", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:09 +0000 (0:00:00.797) 0:00:06.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:09 +0000 (0:00:00.039) 0:00:06.048 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:09 +0000 (0:00:00.033) 0:00:06.081 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:09 +0000 (0:00:00.031) 0:00:06.113 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:09 +0000 (0:00:00.030) 0:00:06.144 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:09 +0000 (0:00:00.031) 0:00:06.175 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:27 Monday 09 May 2022 16:30:09 +0000 (0:00:00.033) 0:00:06.208 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:32 Monday 09 May 2022 16:30:09 +0000 (0:00:00.016) 0:00:06.224 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:09 +0000 (0:00:00.034) 0:00:06.259 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:09 +0000 (0:00:00.022) 0:00:06.281 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:09 +0000 (0:00:00.538) 0:00:06.819 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:11 +0000 (0:00:01.326) 0:00:08.146 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:11 +0000 (0:00:00.023) 0:00:08.170 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:12 +0000 (0:00:01.343) 0:00:09.514 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:29:56 EDT", "ActiveEnterTimestampMonotonic": "4145831", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:29:55 EDT", "AssertTimestampMonotonic": "3806643", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ConditionTimestampMonotonic": "3806643", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "976", "ExecMainStartTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ExecMainStartTimestampMonotonic": "3808829", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:29:55 EDT] ; stop_time=[n/a] ; pid=976 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:29:55 EDT", "InactiveExitTimestampMonotonic": "3808869", "InvocationID": "0a80eec3f2d44cf4b1b0de5b70f37f6e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "976", "MemoryAccounting": "yes", "MemoryCurrent": "34177024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:29:56 EDT", "StateChangeTimestampMonotonic": "4145831", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:29:56 EDT", "WatchdogTimestampMonotonic": "4145828", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:13 +0000 (0:00:00.527) 0:00:10.041 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:13 +0000 (0:00:00.042) 0:00:10.083 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:13 +0000 (0:00:00.033) 0:00:10.117 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:17 +0000 (0:00:04.098) 0:00:14.215 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:17 +0000 (0:00:00.034) 0:00:14.249 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:17 +0000 (0:00:00.031) 0:00:14.281 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:38 Monday 09 May 2022 16:30:17 +0000 (0:00:00.033) 0:00:14.315 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:43 Monday 09 May 2022 16:30:17 +0000 (0:00:00.017) 0:00:14.333 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:17 +0000 (0:00:00.031) 0:00:14.364 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:17 +0000 (0:00:00.022) 0:00:14.386 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:17 +0000 (0:00:00.518) 0:00:14.905 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:19 +0000 (0:00:01.338) 0:00:16.243 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:19 +0000 (0:00:00.020) 0:00:16.264 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:20 +0000 (0:00:01.381) 0:00:17.646 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:29:56 EDT", "ActiveEnterTimestampMonotonic": "4145831", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:29:55 EDT", "AssertTimestampMonotonic": "3806643", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ConditionTimestampMonotonic": "3806643", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "976", "ExecMainStartTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ExecMainStartTimestampMonotonic": "3808829", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:29:55 EDT] ; stop_time=[n/a] ; pid=976 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:29:55 EDT", "InactiveExitTimestampMonotonic": "3808869", "InvocationID": "0a80eec3f2d44cf4b1b0de5b70f37f6e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "976", "MemoryAccounting": "yes", "MemoryCurrent": "36458496", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:29:56 EDT", "StateChangeTimestampMonotonic": "4145831", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:29:56 EDT", "WatchdogTimestampMonotonic": "4145828", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:21 +0000 (0:00:00.525) 0:00:18.171 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:21 +0000 (0:00:00.039) 0:00:18.211 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:21 +0000 (0:00:00.029) 0:00:18.240 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:24 +0000 (0:00:03.418) 0:00:21.659 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:24 +0000 (0:00:00.031) 0:00:21.691 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:24 +0000 (0:00:00.031) 0:00:21.723 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:49 Monday 09 May 2022 16:30:24 +0000 (0:00:00.035) 0:00:21.758 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:54 Monday 09 May 2022 16:30:24 +0000 (0:00:00.018) 0:00:21.777 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:24 +0000 (0:00:00.045) 0:00:21.822 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:24 +0000 (0:00:00.024) 0:00:21.847 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:25 +0000 (0:00:00.532) 0:00:22.380 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:26 +0000 (0:00:01.475) 0:00:23.855 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:26 +0000 (0:00:00.024) 0:00:23.880 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:28 +0000 (0:00:01.268) 0:00:25.148 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:29:56 EDT", "ActiveEnterTimestampMonotonic": "4145831", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:29:55 EDT", "AssertTimestampMonotonic": "3806643", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ConditionTimestampMonotonic": "3806643", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "976", "ExecMainStartTimestamp": "Mon 2022-05-09 12:29:55 EDT", "ExecMainStartTimestampMonotonic": "3808829", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:29:55 EDT] ; stop_time=[n/a] ; pid=976 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:29:55 EDT", "InactiveExitTimestampMonotonic": "3808869", "InvocationID": "0a80eec3f2d44cf4b1b0de5b70f37f6e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "976", "MemoryAccounting": "yes", "MemoryCurrent": "36458496", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:29:56 EDT", "StateChangeTimestampMonotonic": "4145831", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:29:56 EDT", "WatchdogTimestampMonotonic": "4145828", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:28 +0000 (0:00:00.562) 0:00:25.711 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:28 +0000 (0:00:00.040) 0:00:25.752 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:30 +0000 (0:00:01.330) 0:00:27.082 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:34 +0000 (0:00:04.075) 0:00:31.157 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:34 +0000 (0:00:00.297) 0:00:31.455 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:34 +0000 (0:00:00.034) 0:00:31.489 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changes] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:60 Monday 09 May 2022 16:30:34 +0000 (0:00:00.034) 0:00:31.523 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:65 Monday 09 May 2022 16:30:34 +0000 (0:00:00.016) 0:00:31.540 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:34 +0000 (0:00:00.038) 0:00:31.579 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:34 +0000 (0:00:00.021) 0:00:31.600 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:35 +0000 (0:00:00.555) 0:00:32.156 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:36 +0000 (0:00:01.243) 0:00:33.400 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:36 +0000 (0:00:00.020) 0:00:33.421 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:37 +0000 (0:00:01.304) 0:00:34.725 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:30:30 EDT", "ActiveEnterTimestampMonotonic": "38339146", "ActiveExitTimestamp": "Mon 2022-05-09 12:30:29 EDT", "ActiveExitTimestampMonotonic": "37399978", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:30:30 EDT", "AssertTimestampMonotonic": "38086730", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:30:30 EDT", "ConditionTimestampMonotonic": "38086730", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13654", "ExecMainStartTimestamp": "Mon 2022-05-09 12:30:30 EDT", "ExecMainStartTimestampMonotonic": "38088585", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:30:30 EDT] ; stop_time=[n/a] ; pid=13654 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:30:30 EDT", "InactiveEnterTimestampMonotonic": "38085422", "InactiveExitTimestamp": "Mon 2022-05-09 12:30:30 EDT", "InactiveExitTimestampMonotonic": "38088866", "InvocationID": "0304fa743e6841959f8460d8e87e211d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13654", "MemoryAccounting": "yes", "MemoryCurrent": "29413376", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:30:30 EDT", "StateChangeTimestampMonotonic": "38339146", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:30:30 EDT", "WatchdogTimestampMonotonic": "38339143", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:38 +0000 (0:00:00.551) 0:00:35.277 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:38 +0000 (0:00:00.038) 0:00:35.316 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:39 +0000 (0:00:01.272) 0:00:36.588 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:43 +0000 (0:00:03.986) 0:00:40.575 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:43 +0000 (0:00:00.320) 0:00:40.895 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:43 +0000 (0:00:00.039) 0:00:40.935 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:71 Monday 09 May 2022 16:30:44 +0000 (0:00:00.048) 0:00:40.984 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:76 Monday 09 May 2022 16:30:44 +0000 (0:00:00.023) 0:00:41.007 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:44 +0000 (0:00:00.076) 0:00:41.084 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:44 +0000 (0:00:00.034) 0:00:41.119 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:44 +0000 (0:00:00.537) 0:00:41.656 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:46 +0000 (0:00:01.378) 0:00:43.035 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:46 +0000 (0:00:00.022) 0:00:43.058 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:47 +0000 (0:00:01.286) 0:00:44.344 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:30:39 EDT", "ActiveEnterTimestampMonotonic": "47850394", "ActiveExitTimestamp": "Mon 2022-05-09 12:30:38 EDT", "ActiveExitTimestampMonotonic": "46916702", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:30:39 EDT", "AssertTimestampMonotonic": "47597498", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:30:39 EDT", "ConditionTimestampMonotonic": "47597498", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14956", "ExecMainStartTimestamp": "Mon 2022-05-09 12:30:39 EDT", "ExecMainStartTimestampMonotonic": "47599276", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:30:39 EDT] ; stop_time=[n/a] ; pid=14956 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:30:39 EDT", "InactiveEnterTimestampMonotonic": "47595776", "InactiveExitTimestamp": "Mon 2022-05-09 12:30:39 EDT", "InactiveExitTimestampMonotonic": "47599328", "InvocationID": "dabd1f3f13ff48069d5d688ce049826f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14956", "MemoryAccounting": "yes", "MemoryCurrent": "27308032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:30:39 EDT", "StateChangeTimestampMonotonic": "47850394", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:30:39 EDT", "WatchdogTimestampMonotonic": "47850392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:47 +0000 (0:00:00.539) 0:00:44.883 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:47 +0000 (0:00:00.040) 0:00:44.923 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:47 +0000 (0:00:00.031) 0:00:44.955 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:51 +0000 (0:00:03.361) 0:00:48.317 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:51 +0000 (0:00:00.031) 0:00:48.349 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:51 +0000 (0:00:00.030) 0:00:48.379 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:82 Monday 09 May 2022 16:30:51 +0000 (0:00:00.034) 0:00:48.413 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:87 Monday 09 May 2022 16:30:51 +0000 (0:00:00.018) 0:00:48.431 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:51 +0000 (0:00:00.090) 0:00:48.522 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:51 +0000 (0:00:00.024) 0:00:48.546 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:52 +0000 (0:00:00.546) 0:00:49.093 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:53 +0000 (0:00:01.292) 0:00:50.385 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:53 +0000 (0:00:00.020) 0:00:50.406 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:30:54 +0000 (0:00:01.354) 0:00:51.760 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:30:39 EDT", "ActiveEnterTimestampMonotonic": "47850394", "ActiveExitTimestamp": "Mon 2022-05-09 12:30:38 EDT", "ActiveExitTimestampMonotonic": "46916702", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:30:39 EDT", "AssertTimestampMonotonic": "47597498", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:30:39 EDT", "ConditionTimestampMonotonic": "47597498", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14956", "ExecMainStartTimestamp": "Mon 2022-05-09 12:30:39 EDT", "ExecMainStartTimestampMonotonic": "47599276", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:30:39 EDT] ; stop_time=[n/a] ; pid=14956 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:30:39 EDT", "InactiveEnterTimestampMonotonic": "47595776", "InactiveExitTimestamp": "Mon 2022-05-09 12:30:39 EDT", "InactiveExitTimestampMonotonic": "47599328", "InvocationID": "dabd1f3f13ff48069d5d688ce049826f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14956", "MemoryAccounting": "yes", "MemoryCurrent": "27377664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:30:39 EDT", "StateChangeTimestampMonotonic": "47850394", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:30:39 EDT", "WatchdogTimestampMonotonic": "47850392", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:30:55 +0000 (0:00:00.518) 0:00:52.279 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:30:55 +0000 (0:00:00.035) 0:00:52.314 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 92d4df9a342b8f183c0130772db3bdec68bac83a5a95a482427c052233915bcb /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:30:56 +0000 (0:00:01.255) 0:00:53.569 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:30:56 +0000 (0:00:00.034) 0:00:53.603 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:30:56 +0000 (0:00:00.256) 0:00:53.860 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:30:56 +0000 (0:00:00.037) 0:00:53.897 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:94 Monday 09 May 2022 16:30:56 +0000 (0:00:00.036) 0:00:53.934 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:99 Monday 09 May 2022 16:30:56 +0000 (0:00:00.016) 0:00:53.951 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:30:57 +0000 (0:00:00.058) 0:00:54.009 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:30:57 +0000 (0:00:00.022) 0:00:54.032 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:30:57 +0000 (0:00:00.542) 0:00:54.575 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:30:58 +0000 (0:00:01.314) 0:00:55.890 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:30:58 +0000 (0:00:00.021) 0:00:55.911 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:31:00 +0000 (0:00:01.393) 0:00:57.305 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:30:56 EDT", "ActiveEnterTimestampMonotonic": "64827760", "ActiveExitTimestamp": "Mon 2022-05-09 12:30:55 EDT", "ActiveExitTimestampMonotonic": "63913435", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:30:56 EDT", "AssertTimestampMonotonic": "64577964", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:30:56 EDT", "ConditionTimestampMonotonic": "64577964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "17206", "ExecMainStartTimestamp": "Mon 2022-05-09 12:30:56 EDT", "ExecMainStartTimestampMonotonic": "64579380", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:30:56 EDT] ; stop_time=[n/a] ; pid=17206 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:30:56 EDT", "InactiveEnterTimestampMonotonic": "64576656", "InactiveExitTimestamp": "Mon 2022-05-09 12:30:56 EDT", "InactiveExitTimestampMonotonic": "64579531", "InvocationID": "930401aaf76b40c0ae4e0c36ea68c638", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "17206", "MemoryAccounting": "yes", "MemoryCurrent": "25108480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:30:56 EDT", "StateChangeTimestampMonotonic": "64827760", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:30:56 EDT", "WatchdogTimestampMonotonic": "64827758", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:31:00 +0000 (0:00:00.568) 0:00:57.873 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:31:00 +0000 (0:00:00.036) 0:00:57.909 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:31:00 +0000 (0:00:00.030) 0:00:57.939 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:31:01 +0000 (0:00:00.668) 0:00:58.608 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:31:01 +0000 (0:00:00.031) 0:00:58.639 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:31:01 +0000 (0:00:00.030) 0:00:58.669 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:107 Monday 09 May 2022 16:31:01 +0000 (0:00:00.032) 0:00:58.702 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:112 Monday 09 May 2022 16:31:01 +0000 (0:00:00.016) 0:00:58.718 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:31:01 +0000 (0:00:00.055) 0:00:58.774 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:31:01 +0000 (0:00:00.022) 0:00:58.796 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:31:02 +0000 (0:00:00.545) 0:00:59.342 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:31:03 +0000 (0:00:01.378) 0:01:00.721 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:31:03 +0000 (0:00:00.021) 0:01:00.742 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:31:05 +0000 (0:00:01.347) 0:01:02.089 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:30:56 EDT", "ActiveEnterTimestampMonotonic": "64827760", "ActiveExitTimestamp": "Mon 2022-05-09 12:30:55 EDT", "ActiveExitTimestampMonotonic": "63913435", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service sysinit.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:30:56 EDT", "AssertTimestampMonotonic": "64577964", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:30:56 EDT", "ConditionTimestampMonotonic": "64577964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "17206", "ExecMainStartTimestamp": "Mon 2022-05-09 12:30:56 EDT", "ExecMainStartTimestampMonotonic": "64579380", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:30:56 EDT] ; stop_time=[n/a] ; pid=17206 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:30:56 EDT", "InactiveEnterTimestampMonotonic": "64576656", "InactiveExitTimestamp": "Mon 2022-05-09 12:30:56 EDT", "InactiveExitTimestampMonotonic": "64579531", "InvocationID": "930401aaf76b40c0ae4e0c36ea68c638", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "17206", "MemoryAccounting": "yes", "MemoryCurrent": "26038272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:30:56 EDT", "StateChangeTimestampMonotonic": "64827760", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:30:56 EDT", "WatchdogTimestampMonotonic": "64827758", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:31:05 +0000 (0:00:00.545) 0:01:02.635 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:31:05 +0000 (0:00:00.033) 0:01:02.669 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:31:05 +0000 (0:00:00.028) 0:01:02.697 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:31:06 +0000 (0:00:00.616) 0:01:03.313 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:31:06 +0000 (0:00:00.030) 0:01:03.343 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:31:06 +0000 (0:00:00.034) 0:01:03.378 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_purge_config.yml:120 Monday 09 May 2022 16:31:06 +0000 (0:00:00.034) 0:01:03.413 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=71 changed=4 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Monday 09 May 2022 16:31:06 +0000 (0:00:00.023) 0:01:03.436 ************ =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.99s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.36s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.94s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.48s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.43s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.39s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.38s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.38s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.38s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.35s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.35s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.34s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.34s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.33s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.31s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.30s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.29s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.29s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.27s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.27s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_target.yml ***************************************************** 1 plays in /tmp/tmp3if_6nul/tests/firewall/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:1 Monday 09 May 2022 16:31:22 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:3 Monday 09 May 2022 16:31:23 +0000 (0:00:01.242) 0:00:01.251 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:31:23 +0000 (0:00:00.049) 0:00:01.301 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:31:23 +0000 (0:00:00.023) 0:00:01.325 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:31:23 +0000 (0:00:00.537) 0:00:01.862 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:31:25 +0000 (0:00:01.847) 0:00:03.710 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:31:25 +0000 (0:00:00.027) 0:00:03.738 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:31:27 +0000 (0:00:01.300) 0:00:05.038 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:31:15 EDT", "ActiveEnterTimestampMonotonic": "4064062", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:31:14 EDT", "AssertTimestampMonotonic": "3738819", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:31:14 EDT", "ConditionTimestampMonotonic": "3738819", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "983", "ExecMainStartTimestamp": "Mon 2022-05-09 12:31:14 EDT", "ExecMainStartTimestampMonotonic": "3740967", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:31:14 EDT] ; stop_time=[n/a] ; pid=983 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:31:14 EDT", "InactiveExitTimestampMonotonic": "3741249", "InvocationID": "2a182aa527b048bfaf17e831cf7be999", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "983", "MemoryAccounting": "yes", "MemoryCurrent": "34271232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:31:15 EDT", "StateChangeTimestampMonotonic": "4064062", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:31:15 EDT", "WatchdogTimestampMonotonic": "4064059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:31:27 +0000 (0:00:00.776) 0:00:05.814 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:31:27 +0000 (0:00:00.038) 0:00:05.853 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:31:27 +0000 (0:00:00.030) 0:00:05.883 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'public', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public", "state": "enabled" } } changed: [/cache/rhel-8-y.qcow2.snap] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:31:29 +0000 (0:00:01.774) 0:00:07.657 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:31:29 +0000 (0:00:00.030) 0:00:07.688 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:31:29 +0000 (0:00:00.030) 0:00:07.719 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get target setting] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:15 Monday 09 May 2022 16:31:29 +0000 (0:00:00.034) 0:00:07.754 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.264932", "end": "2022-05-09 12:31:30.686646", "rc": 0, "start": "2022-05-09 12:31:30.421714" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:20 Monday 09 May 2022 16:31:30 +0000 (0:00:00.774) 0:00:08.528 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:26 Monday 09 May 2022 16:31:30 +0000 (0:00:00.019) 0:00:08.548 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:31:30 +0000 (0:00:00.030) 0:00:08.579 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:31:30 +0000 (0:00:00.021) 0:00:08.601 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:31:31 +0000 (0:00:00.532) 0:00:09.133 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:31:32 +0000 (0:00:01.334) 0:00:10.468 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:31:32 +0000 (0:00:00.022) 0:00:10.490 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:31:33 +0000 (0:00:01.387) 0:00:11.877 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:31:15 EDT", "ActiveEnterTimestampMonotonic": "4064062", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice sysinit.target polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:31:14 EDT", "AssertTimestampMonotonic": "3738819", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:31:14 EDT", "ConditionTimestampMonotonic": "3738819", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "983", "ExecMainStartTimestamp": "Mon 2022-05-09 12:31:14 EDT", "ExecMainStartTimestampMonotonic": "3740967", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:31:14 EDT] ; stop_time=[n/a] ; pid=983 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:31:14 EDT", "InactiveExitTimestampMonotonic": "3741249", "InvocationID": "2a182aa527b048bfaf17e831cf7be999", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "983", "MemoryAccounting": "yes", "MemoryCurrent": "36474880", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:31:15 EDT", "StateChangeTimestampMonotonic": "4064062", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:31:15 EDT", "WatchdogTimestampMonotonic": "4064059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:31:34 +0000 (0:00:00.512) 0:00:12.390 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:31:34 +0000 (0:00:00.039) 0:00:12.430 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:31:34 +0000 (0:00:00.029) 0:00:12.460 ************ changed: [/cache/rhel-8-y.qcow2.snap] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:31:35 +0000 (0:00:01.029) 0:00:13.489 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:31:35 +0000 (0:00:00.032) 0:00:13.522 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:31:35 +0000 (0:00:00.033) 0:00:13.555 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get target setting] ****************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:35 Monday 09 May 2022 16:31:35 +0000 (0:00:00.036) 0:00:13.591 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.253588", "end": "2022-05-09 12:31:36.395626", "rc": 0, "start": "2022-05-09 12:31:36.142038" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:40 Monday 09 May 2022 16:31:36 +0000 (0:00:00.635) 0:00:14.227 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=19 changed=2 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Monday 09 May 2022 16:31:36 +0000 (0:00:00.029) 0:00:14.257 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.85s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.77s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.39s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.33s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.30s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.24s /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:1 ---------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.78s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Get target setting ------------------------------------------------------ 0.77s /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:15 --------------------------- Get target setting ------------------------------------------------------ 0.64s /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:35 --------------------------- fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.54s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.53s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.51s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Call role to change target settings ------------------------------------- 0.05s /tmp/tmp3if_6nul/tests/firewall/tests_target.yml:3 ---------------------------- fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.04s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.04s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.04s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 fedora.linux_system_roles.firewall : Calculate what has changed --------- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.03s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 ansible-playbook [core 2.12.4] 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/tmp059zccvn executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_zone.yml ******************************************************* 1 plays in /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:1 Monday 09 May 2022 16:31:51 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.firewall] *********************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:6 Monday 09 May 2022 16:31:53 +0000 (0:00:01.266) 0:00:01.275 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:31:53 +0000 (0:00:00.046) 0:00:01.322 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:31:53 +0000 (0:00:00.023) 0:00:01.346 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:31:53 +0000 (0:00:00.505) 0:00:01.851 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:31:55 +0000 (0:00:01.907) 0:00:03.758 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:31:55 +0000 (0:00:00.022) 0:00:03.781 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:31:56 +0000 (0:00:01.370) 0:00:05.152 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:31:44 EDT", "ActiveEnterTimestampMonotonic": "4046709", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target polkit.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:31:43 EDT", "AssertTimestampMonotonic": "3698783", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:31:43 EDT", "ConditionTimestampMonotonic": "3698783", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "984", "ExecMainStartTimestamp": "Mon 2022-05-09 12:31:43 EDT", "ExecMainStartTimestampMonotonic": "3700092", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:31:43 EDT] ; stop_time=[n/a] ; pid=984 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:31:43 EDT", "InactiveExitTimestampMonotonic": "3700132", "InvocationID": "f3f9a198a1a4497a923cb0e6d039aa76", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "984", "MemoryAccounting": "yes", "MemoryCurrent": "34029568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:31:44 EDT", "StateChangeTimestampMonotonic": "4046709", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:31:44 EDT", "WatchdogTimestampMonotonic": "4046707", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:31:58 +0000 (0:00:01.789) 0:00:06.942 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:31:58 +0000 (0:00:00.036) 0:00:06.978 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:31:58 +0000 (0:00:00.031) 0:00:07.010 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:31:58 +0000 (0:00:00.031) 0:00:07.042 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:31:58 +0000 (0:00:00.030) 0:00:07.072 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:31:58 +0000 (0:00:00.031) 0:00:07.103 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:14 Monday 09 May 2022 16:31:58 +0000 (0:00:00.035) 0:00:07.139 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:31:59 +0000 (0:00:00.049) 0:00:07.188 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:31:59 +0000 (0:00:00.044) 0:00:07.234 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:31:59 +0000 (0:00:00.536) 0:00:07.770 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:32:00 +0000 (0:00:01.288) 0:00:09.058 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:32:00 +0000 (0:00:00.036) 0:00:09.095 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:32:02 +0000 (0:00:01.272) 0:00:10.367 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:31:44 EDT", "ActiveEnterTimestampMonotonic": "4046709", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target polkit.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:31:43 EDT", "AssertTimestampMonotonic": "3698783", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:31:43 EDT", "ConditionTimestampMonotonic": "3698783", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "984", "ExecMainStartTimestamp": "Mon 2022-05-09 12:31:43 EDT", "ExecMainStartTimestampMonotonic": "3700092", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:31:43 EDT] ; stop_time=[n/a] ; pid=984 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:31:43 EDT", "InactiveExitTimestampMonotonic": "3700132", "InvocationID": "f3f9a198a1a4497a923cb0e6d039aa76", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "984", "MemoryAccounting": "yes", "MemoryCurrent": "34041856", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:31:44 EDT", "StateChangeTimestampMonotonic": "4046709", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:31:44 EDT", "WatchdogTimestampMonotonic": "4046707", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:32:02 +0000 (0:00:00.527) 0:00:10.895 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:32:02 +0000 (0:00:00.061) 0:00:10.957 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:32:02 +0000 (0:00:00.037) 0:00:10.994 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:32:04 +0000 (0:00:01.872) 0:00:12.867 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:32:04 +0000 (0:00:00.030) 0:00:12.898 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:32:04 +0000 (0:00:00.033) 0:00:12.932 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Fail on missing zones] *************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:26 Monday 09 May 2022 16:32:04 +0000 (0:00:00.038) 0:00:12.970 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:32 Monday 09 May 2022 16:32:04 +0000 (0:00:00.035) 0:00:13.005 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:32:04 +0000 (0:00:00.051) 0:00:13.057 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:32:04 +0000 (0:00:00.040) 0:00:13.097 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:32:05 +0000 (0:00:00.533) 0:00:13.630 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:32:06 +0000 (0:00:01.320) 0:00:14.950 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:32:06 +0000 (0:00:00.065) 0:00:15.016 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:32:08 +0000 (0:00:01.295) 0:00:16.311 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:31:44 EDT", "ActiveEnterTimestampMonotonic": "4046709", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target polkit.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:31:43 EDT", "AssertTimestampMonotonic": "3698783", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:31:43 EDT", "ConditionTimestampMonotonic": "3698783", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "984", "ExecMainStartTimestamp": "Mon 2022-05-09 12:31:43 EDT", "ExecMainStartTimestampMonotonic": "3700092", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:31:43 EDT] ; stop_time=[n/a] ; pid=984 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-09 12:31:43 EDT", "InactiveExitTimestampMonotonic": "3700132", "InvocationID": "f3f9a198a1a4497a923cb0e6d039aa76", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "984", "MemoryAccounting": "yes", "MemoryCurrent": "34979840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:31:44 EDT", "StateChangeTimestampMonotonic": "4046709", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:31:44 EDT", "WatchdogTimestampMonotonic": "4046707", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:32:08 +0000 (0:00:00.549) 0:00:16.860 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:32:08 +0000 (0:00:00.040) 0:00:16.901 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml 125431fb0f0e77e66255267a5da843aa1bf0b94b1f1b0cc88c1033a06732ef46 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:32:09 +0000 (0:00:01.089) 0:00:17.990 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:32:13 +0000 (0:00:04.133) 0:00:22.123 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:32:14 +0000 (0:00:00.340) 0:00:22.463 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:32:14 +0000 (0:00:00.038) 0:00:22.502 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:60 Monday 09 May 2022 16:32:14 +0000 (0:00:00.040) 0:00:22.542 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:66 Monday 09 May 2022 16:32:14 +0000 (0:00:00.043) 0:00:22.586 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:32:14 +0000 (0:00:00.065) 0:00:22.652 ************ included: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:32:14 +0000 (0:00:00.041) 0:00:22.693 ************ ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:32:15 +0000 (0:00:00.552) 0:00:23.245 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:32:16 +0000 (0:00:01.428) 0:00:24.674 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:32:16 +0000 (0:00:00.045) 0:00:24.719 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:32:17 +0000 (0:00:01.404) 0:00:26.124 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 12:32:09 EDT", "ActiveEnterTimestampMonotonic": "29173014", "ActiveExitTimestamp": "Mon 2022-05-09 12:32:08 EDT", "ActiveExitTimestampMonotonic": "28422681", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target polkit.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 12:32:08 EDT", "AssertTimestampMonotonic": "28912876", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-09 12:32:08 EDT", "ConditionTimestampMonotonic": "28912876", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12363", "ExecMainStartTimestamp": "Mon 2022-05-09 12:32:08 EDT", "ExecMainStartTimestampMonotonic": "28914646", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Mon 2022-05-09 12:32:08 EDT] ; stop_time=[n/a] ; pid=12363 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-05-09 12:32:08 EDT", "InactiveEnterTimestampMonotonic": "28911349", "InactiveExitTimestamp": "Mon 2022-05-09 12:32:08 EDT", "InactiveExitTimestampMonotonic": "28914706", "InvocationID": "8d50fb13f8294a1ebcf45be46834b4aa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6969", "LimitNPROCSoft": "6969", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6969", "LimitSIGPENDINGSoft": "6969", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12363", "MemoryAccounting": "yes", "MemoryCurrent": "29437952", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-09 12:32:09 EDT", "StateChangeTimestampMonotonic": "29173014", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11150", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 12:32:09 EDT", "WatchdogTimestampMonotonic": "29173000", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:32:18 +0000 (0:00:00.547) 0:00:26.672 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:32:18 +0000 (0:00:00.042) 0:00:26.715 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:32:19 +0000 (0:00:01.064) 0:00:27.779 ************ ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/rhel-8-y.qcow2.snap] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:32:23 +0000 (0:00:04.054) 0:00:31.833 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:32:23 +0000 (0:00:00.328) 0:00:32.162 ************ ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:32:24 +0000 (0:00:00.039) 0:00:32.201 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => {} META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Fail on newly changes] *************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:94 Monday 09 May 2022 16:32:24 +0000 (0:00:00.050) 0:00:32.252 ************ skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:100 Monday 09 May 2022 16:32:24 +0000 (0:00:00.036) 0:00:32.289 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.275529", "end": "2022-05-09 12:32:24.420942", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:32:24.145413" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:105 Monday 09 May 2022 16:32:25 +0000 (0:00:00.903) 0:00:33.193 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.263581", "end": "2022-05-09 12:32:25.094700", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:32:24.831119" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:110 Monday 09 May 2022 16:32:25 +0000 (0:00:00.671) 0:00:33.864 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.267064", "end": "2022-05-09 12:32:25.765712", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:32:25.498648" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:115 Monday 09 May 2022 16:32:26 +0000 (0:00:00.669) 0:00:34.533 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.266182", "end": "2022-05-09 12:32:26.434889", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:32:26.168707" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:120 Monday 09 May 2022 16:32:27 +0000 (0:00:00.669) 0:00:35.203 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.259103", "end": "2022-05-09 12:32:27.097360", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:32:26.838257" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:125 Monday 09 May 2022 16:32:27 +0000 (0:00:00.667) 0:00:35.870 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.299038", "end": "2022-05-09 12:32:27.785576", "failed_when_result": false, "rc": 0, "start": "2022-05-09 12:32:27.486538" } STDOUT: yes TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:133 Monday 09 May 2022 16:32:28 +0000 (0:00:00.690) 0:00:36.561 ************ changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.526202", "end": "2022-05-09 12:32:29.723279", "rc": 0, "start": "2022-05-09 12:32:28.197077" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=41 changed=8 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Monday 09 May 2022 16:32:30 +0000 (0:00:01.937) 0:00:38.498 ************ =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 4.05s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Reset to zone defaults -------------------------------------------------- 1.94s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:133 ---------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.91s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.87s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.79s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.43s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.40s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.37s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.32s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.30s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.29s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.27s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.27s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:1 ------------------------------ fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.06s /tmp/tmp059zccvn/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Verify firewalld zone internal services --------------------------------- 0.90s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:100 ---------------------------- Verify that service http has been added to the default zone dmz --------- 0.69s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:125 ---------------------------- Verify firewalld zone internal ports ------------------------------------ 0.67s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:105 ---------------------------- Verify custom zone has masquerade added to it --------------------------- 0.67s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:115 ---------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.67s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:110 ---------------------------- Verify custom zone has masquerade added to it --------------------------- 0.67s /tmp/tmp3if_6nul/tests/firewall/tests_zone.yml:120 ----------------------------