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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:33:22 +0000 (0:00:00.011) 0:00:00.011 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.384763", "end": "2022-05-09 16:33:23.304521", "rc": 0, "start": "2022-05-09 16:33:22.919758" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:33:23 +0000 (0:00:00.984) 0:00:00.996 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpjjm5b9cm/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:1 Monday 09 May 2022 16:33:23 +0000 (0:00:00.035) 0:00:01.031 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:33:24 +0000 (0:00:01.061) 0:00:02.093 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:33:24 +0000 (0:00:00.023) 0:00:02.116 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:33:25 +0000 (0:00:00.503) 0:00:02.620 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:33:43 +0000 (0:00:18.036) 0:00:20.656 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:33:43 +0000 (0:00:00.028) 0:00:20.684 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:33:45 +0000 (0:00:01.814) 0:00:22.499 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice dbus.socket dbus.service polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service nftables.service shutdown.target ip6tables.service iptables.service ipset.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:33:46 +0000 (0:00:01.059) 0:00:23.558 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:33:46 +0000 (0:00:00.033) 0:00:23.592 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:33:46 +0000 (0:00:00.028) 0:00:23.620 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:33:46 +0000 (0:00:00.030) 0:00:23.651 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:33:46 +0000 (0:00:00.028) 0:00:23.680 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:33:46 +0000 (0:00:00.028) 0:00:23.709 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:14 Monday 09 May 2022 16:33:46 +0000 (0:00:00.032) 0:00:23.741 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.278903", "end": "2022-05-09 16:33:46.693837", "failed_when_result": false, "rc": 112, "start": "2022-05-09 16:33:46.414934" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:19 Monday 09 May 2022 16:33:47 +0000 (0:00:00.647) 0:00:24.389 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.351417", "end": "2022-05-09 16:33:47.415545", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:33:47.064128" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:24 Monday 09 May 2022 16:33:47 +0000 (0:00:00.727) 0:00:25.116 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.284175", "end": "2022-05-09 16:33:48.073347", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:33:47.789172" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:29 Monday 09 May 2022 16:33:48 +0000 (0:00:00.656) 0:00:25.772 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.259810", "end": "2022-05-09 16:33:48.698296", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:33:48.438486" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:34 Monday 09 May 2022 16:33:49 +0000 (0:00:00.621) 0:00:26.394 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.261202", "end": "2022-05-09 16:33:49.321062", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:33:49.059860" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:39 Monday 09 May 2022 16:33:49 +0000 (0:00:00.621) 0:00:27.016 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.262186", "end": "2022-05-09 16:33:49.949908", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:33:49.687722" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:44 Monday 09 May 2022 16:33:50 +0000 (0:00:00.630) 0:00:27.646 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.523533", "end": "2022-05-09 16:33:50.832614", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:33:50.309081" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:52 Monday 09 May 2022 16:33:51 +0000 (0:00:00.881) 0:00:28.528 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.249947", "end": "2022-05-09 16:33:51.452079", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:33:51.202132" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:57 Monday 09 May 2022 16:33:51 +0000 (0:00:00.618) 0:00:29.146 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.723742", "end": "2022-05-09 16:33:52.531639", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:33:51.807897" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:64 Monday 09 May 2022 16:33:53 +0000 (0:00:01.087) 0:00:30.234 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:72 Monday 09 May 2022 16:33:53 +0000 (0:00:00.671) 0:00:30.905 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:80 Monday 09 May 2022 16:33:54 +0000 (0:00:00.522) 0:00:31.427 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:88 Monday 09 May 2022 16:33:54 +0000 (0:00:00.538) 0:00:31.966 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:96 Monday 09 May 2022 16:33:55 +0000 (0:00:00.513) 0:00:32.479 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:104 Monday 09 May 2022 16:33:55 +0000 (0:00:00.515) 0:00:32.995 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:112 Monday 09 May 2022 16:33:56 +0000 (0:00:00.516) 0:00:33.511 ************ changed: [/cache/centos-8.qcow2] => { "__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/tmpjjm5b9cm/tests/tests_ansible.yml:120 Monday 09 May 2022 16:33:56 +0000 (0:00:00.519) 0:00:34.030 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:128 Monday 09 May 2022 16:33:57 +0000 (0:00:00.548) 0:00:34.579 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:137 Monday 09 May 2022 16:33:57 +0000 (0:00:00.556) 0:00:35.135 ************ ok: [/cache/centos-8.qcow2] => { "__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/tmpjjm5b9cm/tests/tests_ansible.yml:146 Monday 09 May 2022 16:33:58 +0000 (0:00:00.549) 0:00:35.685 ************ changed: [/cache/centos-8.qcow2] => { "__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/tmpjjm5b9cm/tests/tests_ansible.yml:155 Monday 09 May 2022 16:33:59 +0000 (0:00:00.530) 0:00:36.216 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:164 Monday 09 May 2022 16:33:59 +0000 (0:00:00.544) 0:00:36.760 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:173 Monday 09 May 2022 16:34:00 +0000 (0:00:00.574) 0:00:37.335 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:182 Monday 09 May 2022 16:34:00 +0000 (0:00:00.528) 0:00:37.864 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:191 Monday 09 May 2022 16:34:01 +0000 (0:00:00.568) 0:00:38.432 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:200 Monday 09 May 2022 16:34:01 +0000 (0:00:00.551) 0:00:38.984 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:209 Monday 09 May 2022 16:34:02 +0000 (0:00:00.546) 0:00:39.531 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:218 Monday 09 May 2022 16:34:02 +0000 (0:00:00.529) 0:00:40.060 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:226 Monday 09 May 2022 16:34:03 +0000 (0:00:00.517) 0:00:40.577 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:235 Monday 09 May 2022 16:34:03 +0000 (0:00:00.530) 0:00:41.108 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:244 Monday 09 May 2022 16:34:04 +0000 (0:00:00.515) 0:00:41.623 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:253 Monday 09 May 2022 16:34:05 +0000 (0:00:00.550) 0:00:42.173 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:262 Monday 09 May 2022 16:34:05 +0000 (0:00:00.518) 0:00:42.691 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:271 Monday 09 May 2022 16:34:06 +0000 (0:00:00.530) 0:00:43.221 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:280 Monday 09 May 2022 16:34:07 +0000 (0:00:01.140) 0:00:44.362 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:289 Monday 09 May 2022 16:34:07 +0000 (0:00:00.524) 0:00:44.886 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:298 Monday 09 May 2022 16:34:08 +0000 (0:00:01.032) 0:00:45.918 ************ ok: [/cache/centos-8.qcow2] => { "__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/tmpjjm5b9cm/tests/tests_ansible.yml:307 Monday 09 May 2022 16:34:09 +0000 (0:00:00.543) 0:00:46.462 ************ [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/centos-8.qcow2] => { "__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/tmpjjm5b9cm/tests/tests_ansible.yml:319 Monday 09 May 2022 16:34:09 +0000 (0:00:00.578) 0:00:47.040 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:331 Monday 09 May 2022 16:34:10 +0000 (0:00:00.526) 0:00:47.566 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:339 Monday 09 May 2022 16:34:11 +0000 (0:00:01.020) 0:00:48.586 ************ ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:344 Monday 09 May 2022 16:34:11 +0000 (0:00:00.032) 0:00:48.619 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:354 Monday 09 May 2022 16:34:12 +0000 (0:00:00.551) 0:00:49.171 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [set default zone] ******************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:364 Monday 09 May 2022 16:34:12 +0000 (0:00:00.597) 0:00:49.769 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:371 Monday 09 May 2022 16:34:13 +0000 (0:00:00.583) 0:00:50.352 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:383 Monday 09 May 2022 16:34:13 +0000 (0:00:00.526) 0:00:50.878 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.265027", "end": "2022-05-09 16:34:13.804817", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:13.539790" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:388 Monday 09 May 2022 16:34:14 +0000 (0:00:00.623) 0:00:51.502 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.282686", "end": "2022-05-09 16:34:14.455469", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:14.172783" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:393 Monday 09 May 2022 16:34:15 +0000 (0:00:00.655) 0:00:52.157 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.269141", "end": "2022-05-09 16:34:15.127017", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:14.857876" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:398 Monday 09 May 2022 16:34:15 +0000 (0:00:00.670) 0:00:52.828 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.266301", "end": "2022-05-09 16:34:15.765313", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:15.499012" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:403 Monday 09 May 2022 16:34:16 +0000 (0:00:00.636) 0:00:53.465 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.278084", "end": "2022-05-09 16:34:16.425663", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:16.147579" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:408 Monday 09 May 2022 16:34:16 +0000 (0:00:00.663) 0:00:54.128 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.282320", "end": "2022-05-09 16:34:17.099857", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:16.817537" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:413 Monday 09 May 2022 16:34:17 +0000 (0:00:00.674) 0:00:54.803 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.266516", "end": "2022-05-09 16:34:17.749183", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:17.482667" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:418 Monday 09 May 2022 16:34:18 +0000 (0:00:00.646) 0:00:55.450 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.275948", "end": "2022-05-09 16:34:18.427182", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:34:18.151234" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:423 Monday 09 May 2022 16:34:18 +0000 (0:00:00.672) 0:00:56.123 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.821050", "end": "2022-05-09 16:34:19.630187", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:34:18.809137" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=62 changed=38 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:34:20 +0000 (0:00:01.212) 0:00:57.335 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 18.04s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.81s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Reload firewalld -------------------------------------------------------- 1.21s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:423 ---------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 1.14s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:271 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.09s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:57 ----------------------------------- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:1 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 1.06s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Ensure default target in permanent internal zone ------------------------ 1.03s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:289 ---------------------------------- Firewalld custom zone --------------------------------------------------- 1.02s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:331 ---------------------------------- Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:6 --------------------------------------------------- Reset default zone to defaults ------------------------------------------ 0.88s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:44 ----------------------------------- Reset internal zone to defaults ----------------------------------------- 0.73s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:19 ----------------------------------- Reset drop zone to defaults --------------------------------------------- 0.67s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:408 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.67s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:418 ---------------------------------- Permit traffic in default zone for https service ------------------------ 0.67s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:64 ----------------------------------- Reset internal zone to defaults ----------------------------------------- 0.67s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:393 ---------------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.66s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:403 ---------------------------------- Reset trusted zone to defaults ------------------------------------------ 0.66s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:24 ----------------------------------- Remove customzone zone -------------------------------------------------- 0.66s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:388 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.65s /tmp/tmpjjm5b9cm/tests/tests_ansible.yml:14 ----------------------------------- 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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:34:40 +0000 (0:00:00.012) 0:00:00.012 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.365945", "end": "2022-05-09 16:34:40.015700", "rc": 0, "start": "2022-05-09 16:34:39.649755" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:34:41 +0000 (0:00:00.972) 0:00:00.985 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 0.97s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpjjm5b9cm/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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:34:41 +0000 (0:00:00.015) 0:00:01.000 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:34:41 +0000 (0:00:00.016) 0:00:01.017 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:34:42 +0000 (0:00:00.794) 0:00:01.811 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:35:00 +0000 (0:00:18.590) 0:00:20.402 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:35:00 +0000 (0:00:00.023) 0:00:20.426 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:35:02 +0000 (0:00:01.817) 0:00:22.243 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.socket basic.target polkit.service sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service iptables.service ebtables.service nftables.service shutdown.target ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:35:03 +0000 (0:00:01.048) 0:00:23.291 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:35:03 +0000 (0:00:00.035) 0:00:23.326 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:35:03 +0000 (0:00:00.029) 0:00:23.356 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:35:03 +0000 (0:00:00.028) 0:00:23.385 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:35:03 +0000 (0:00:00.026) 0:00:23.411 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:35:03 +0000 (0:00:00.026) 0:00:23.437 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=7 changed=3 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:35:03 +0000 (0:00:00.032) 0:00:23.470 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 18.59s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.82s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 1.05s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Enable HA repos --------------------------------------------------------- 0.97s /cache/centos-8_setup.yml:6 --------------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.79s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Configure firewall ------------------------ 0.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Calculate what has changed ---------------- 0.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 ---- linux-system-roles.firewall : Get config files, checksums after --------- 0.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 ---- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : include_tasks ----------------------------- 0.02s /tmp/tmpjjm5b9cm/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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:35:24 +0000 (0:00:00.012) 0:00:00.012 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.396563", "end": "2022-05-09 16:35:25.033522", "rc": 0, "start": "2022-05-09 16:35:24.636959" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:35:25 +0000 (0:00:01.064) 0:00:01.077 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 1.06s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:1 Monday 09 May 2022 16:35:25 +0000 (0:00:00.011) 0:00:01.089 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Run the role with no config] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:25 Monday 09 May 2022 16:35:26 +0000 (0:00:01.075) 0:00:02.164 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:35:26 +0000 (0:00:00.031) 0:00:02.195 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:35:26 +0000 (0:00:00.022) 0:00:02.217 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:35:26 +0000 (0:00:00.509) 0:00:02.727 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:35:45 +0000 (0:00:18.937) 0:00:21.665 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:35:45 +0000 (0:00:00.022) 0:00:21.688 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:35:47 +0000 (0:00:01.813) 0:00:23.502 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.service shutdown.target nftables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:35:48 +0000 (0:00:01.046) 0:00:24.548 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:35:48 +0000 (0:00:00.034) 0:00:24.583 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:35:48 +0000 (0:00:00.029) 0:00:24.612 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:35:48 +0000 (0:00:00.039) 0:00:24.651 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:35:48 +0000 (0:00:00.033) 0:00:24.685 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:35:48 +0000 (0:00:00.029) 0:00:24.714 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:29 Monday 09 May 2022 16:35:48 +0000 (0:00:00.034) 0:00:24.748 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:34 Monday 09 May 2022 16:35:48 +0000 (0:00:00.016) 0:00:24.765 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:35:48 +0000 (0:00:00.029) 0:00:24.795 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:35:48 +0000 (0:00:00.019) 0:00:24.815 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:35:49 +0000 (0:00:00.506) 0:00:25.321 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:35:51 +0000 (0:00:01.775) 0:00:27.096 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:35:51 +0000 (0:00:00.022) 0:00:27.119 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:35:52 +0000 (0:00:01.681) 0:00:28.800 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:35:48 UTC", "ActiveEnterTimestampMonotonic": "39318542", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:35:48 UTC", "AssertTimestampMonotonic": "39051978", "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 16:35:48 UTC", "ConditionTimestampMonotonic": "39051978", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "12113", "ExecMainStartTimestamp": "Mon 2022-05-09 16:35:48 UTC", "ExecMainStartTimestampMonotonic": "39052985", "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 16:35:48 UTC] ; stop_time=[n/a] ; pid=12113 ; 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 16:35:48 UTC", "InactiveExitTimestampMonotonic": "39053027", "InvocationID": "aa3421c226e74cd6afcd4e6ef48d3828", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12113", "MemoryAccounting": "yes", "MemoryCurrent": "26996736", "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 16:35:48 UTC", "StateChangeTimestampMonotonic": "39318542", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:35:48 UTC", "WatchdogTimestampMonotonic": "39318539", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:35:53 +0000 (0:00:00.486) 0:00:29.286 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:35:53 +0000 (0:00:00.033) 0:00:29.320 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:35:53 +0000 (0:00:00.026) 0:00:29.347 ************ changed: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "state": "enabled" } } changed: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:35:57 +0000 (0:00:03.919) 0:00:33.266 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:35:57 +0000 (0:00:00.030) 0:00:33.297 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:35:57 +0000 (0:00:00.032) 0:00:33.329 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:40 Monday 09 May 2022 16:35:57 +0000 (0:00:00.096) 0:00:33.426 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:45 Monday 09 May 2022 16:35:57 +0000 (0:00:00.018) 0:00:33.444 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:35:57 +0000 (0:00:00.029) 0:00:33.473 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:35:57 +0000 (0:00:00.019) 0:00:33.492 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:35:58 +0000 (0:00:00.555) 0:00:34.048 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:35:59 +0000 (0:00:01.711) 0:00:35.760 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:35:59 +0000 (0:00:00.020) 0:00:35.780 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:01 +0000 (0:00:01.689) 0:00:37.470 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:35:48 UTC", "ActiveEnterTimestampMonotonic": "39318542", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:35:48 UTC", "AssertTimestampMonotonic": "39051978", "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 16:35:48 UTC", "ConditionTimestampMonotonic": "39051978", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "12113", "ExecMainStartTimestamp": "Mon 2022-05-09 16:35:48 UTC", "ExecMainStartTimestampMonotonic": "39052985", "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 16:35:48 UTC] ; stop_time=[n/a] ; pid=12113 ; 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 16:35:48 UTC", "InactiveExitTimestampMonotonic": "39053027", "InvocationID": "aa3421c226e74cd6afcd4e6ef48d3828", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12113", "MemoryAccounting": "yes", "MemoryCurrent": "29224960", "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 16:35:48 UTC", "StateChangeTimestampMonotonic": "39318542", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:35:48 UTC", "WatchdogTimestampMonotonic": "39318539", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:02 +0000 (0:00:00.487) 0:00:37.958 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:02 +0000 (0:00:00.034) 0:00:37.993 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:02 +0000 (0:00:00.028) 0:00:38.021 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:05 +0000 (0:00:03.264) 0:00:41.286 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:05 +0000 (0:00:00.030) 0:00:41.317 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:05 +0000 (0:00:00.029) 0:00:41.346 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:51 Monday 09 May 2022 16:36:05 +0000 (0:00:00.034) 0:00:41.381 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:56 Monday 09 May 2022 16:36:05 +0000 (0:00:00.018) 0:00:41.400 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:36:05 +0000 (0:00:00.040) 0:00:41.440 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:36:05 +0000 (0:00:00.021) 0:00:41.462 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:36:06 +0000 (0:00:00.507) 0:00:41.969 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:36:07 +0000 (0:00:01.696) 0:00:43.665 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:36:07 +0000 (0:00:00.022) 0:00:43.688 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:09 +0000 (0:00:01.791) 0:00:45.479 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:35:48 UTC", "ActiveEnterTimestampMonotonic": "39318542", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:35:48 UTC", "AssertTimestampMonotonic": "39051978", "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 16:35:48 UTC", "ConditionTimestampMonotonic": "39051978", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "12113", "ExecMainStartTimestamp": "Mon 2022-05-09 16:35:48 UTC", "ExecMainStartTimestampMonotonic": "39052985", "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 16:35:48 UTC] ; stop_time=[n/a] ; pid=12113 ; 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 16:35:48 UTC", "InactiveExitTimestampMonotonic": "39053027", "InvocationID": "aa3421c226e74cd6afcd4e6ef48d3828", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12113", "MemoryAccounting": "yes", "MemoryCurrent": "29200384", "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 16:35:48 UTC", "StateChangeTimestampMonotonic": "39318542", "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": "3", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:35:48 UTC", "WatchdogTimestampMonotonic": "39318539", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:10 +0000 (0:00:00.499) 0:00:45.979 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:10 +0000 (0:00:00.034) 0:00:46.013 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:11 +0000 (0:00:01.211) 0:00:47.225 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:15 +0000 (0:00:03.978) 0:00:51.203 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:15 +0000 (0:00:00.310) 0:00:51.514 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:15 +0000 (0:00:00.071) 0:00:51.585 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changes] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:62 Monday 09 May 2022 16:36:15 +0000 (0:00:00.035) 0:00:51.620 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:67 Monday 09 May 2022 16:36:15 +0000 (0:00:00.017) 0:00:51.637 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:36:15 +0000 (0:00:00.038) 0:00:51.676 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:36:15 +0000 (0:00:00.021) 0:00:51.697 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:36:16 +0000 (0:00:00.564) 0:00:52.261 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:36:18 +0000 (0:00:01.836) 0:00:54.098 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:36:18 +0000 (0:00:00.020) 0:00:54.118 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:20 +0000 (0:00:01.791) 0:00:55.910 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:36:11 UTC", "ActiveEnterTimestampMonotonic": "62024029", "ActiveExitTimestamp": "Mon 2022-05-09 16:36:10 UTC", "ActiveExitTimestampMonotonic": "61131684", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:36:10 UTC", "AssertTimestampMonotonic": "61782512", "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 16:36:10 UTC", "ConditionTimestampMonotonic": "61782512", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "16882", "ExecMainStartTimestamp": "Mon 2022-05-09 16:36:10 UTC", "ExecMainStartTimestampMonotonic": "61783570", "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 16:36:10 UTC] ; stop_time=[n/a] ; pid=16882 ; 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 16:36:10 UTC", "InactiveEnterTimestampMonotonic": "61781563", "InactiveExitTimestamp": "Mon 2022-05-09 16:36:10 UTC", "InactiveExitTimestampMonotonic": "61783693", "InvocationID": "9865af5fc71343a88d4294701a561ba7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "16882", "MemoryAccounting": "yes", "MemoryCurrent": "27119616", "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 16:36:11 UTC", "StateChangeTimestampMonotonic": "62024029", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:36:11 UTC", "WatchdogTimestampMonotonic": "62024027", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:20 +0000 (0:00:00.491) 0:00:56.401 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:20 +0000 (0:00:00.035) 0:00:56.437 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:21 +0000 (0:00:01.224) 0:00:57.662 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:25 +0000 (0:00:03.906) 0:01:01.568 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:25 +0000 (0:00:00.296) 0:01:01.865 ************ ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:26 +0000 (0:00:00.032) 0:01:01.897 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:73 Monday 09 May 2022 16:36:26 +0000 (0:00:00.033) 0:01:01.931 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:78 Monday 09 May 2022 16:36:26 +0000 (0:00:00.016) 0:01:01.947 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:36:26 +0000 (0:00:00.039) 0:01:01.986 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:36:26 +0000 (0:00:00.019) 0:01:02.006 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:36:26 +0000 (0:00:00.502) 0:01:02.509 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:36:28 +0000 (0:00:01.757) 0:01:04.267 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:36:28 +0000 (0:00:00.019) 0:01:04.287 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:30 +0000 (0:00:01.700) 0:01:05.987 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:36:21 UTC", "ActiveEnterTimestampMonotonic": "72458957", "ActiveExitTimestamp": "Mon 2022-05-09 16:36:20 UTC", "ActiveExitTimestampMonotonic": "71565656", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:36:21 UTC", "AssertTimestampMonotonic": "72199715", "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 16:36:21 UTC", "ConditionTimestampMonotonic": "72199715", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "18184", "ExecMainStartTimestamp": "Mon 2022-05-09 16:36:21 UTC", "ExecMainStartTimestampMonotonic": "72200940", "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 16:36:21 UTC] ; stop_time=[n/a] ; pid=18184 ; 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 16:36:21 UTC", "InactiveEnterTimestampMonotonic": "72198489", "InactiveExitTimestamp": "Mon 2022-05-09 16:36:21 UTC", "InactiveExitTimestampMonotonic": "72200975", "InvocationID": "1ebbd3fbf05642daa678edc3d804f7c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "18184", "MemoryAccounting": "yes", "MemoryCurrent": "27131904", "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 16:36:21 UTC", "StateChangeTimestampMonotonic": "72458957", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:36:21 UTC", "WatchdogTimestampMonotonic": "72458955", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:30 +0000 (0:00:00.495) 0:01:06.483 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:30 +0000 (0:00:00.034) 0:01:06.517 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:30 +0000 (0:00:00.027) 0:01:06.545 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:34 +0000 (0:00:03.395) 0:01:09.940 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:34 +0000 (0:00:00.028) 0:01:09.969 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:34 +0000 (0:00:00.029) 0:01:09.998 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:84 Monday 09 May 2022 16:36:34 +0000 (0:00:00.031) 0:01:10.030 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:89 Monday 09 May 2022 16:36:34 +0000 (0:00:00.016) 0:01:10.047 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:36:34 +0000 (0:00:00.076) 0:01:10.123 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:36:34 +0000 (0:00:00.019) 0:01:10.142 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:36:34 +0000 (0:00:00.537) 0:01:10.680 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:36:36 +0000 (0:00:01.842) 0:01:12.523 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:36:36 +0000 (0:00:00.020) 0:01:12.543 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:38 +0000 (0:00:01.750) 0:01:14.293 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:36:21 UTC", "ActiveEnterTimestampMonotonic": "72458957", "ActiveExitTimestamp": "Mon 2022-05-09 16:36:20 UTC", "ActiveExitTimestampMonotonic": "71565656", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:36:21 UTC", "AssertTimestampMonotonic": "72199715", "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 16:36:21 UTC", "ConditionTimestampMonotonic": "72199715", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "18184", "ExecMainStartTimestamp": "Mon 2022-05-09 16:36:21 UTC", "ExecMainStartTimestampMonotonic": "72200940", "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 16:36:21 UTC] ; stop_time=[n/a] ; pid=18184 ; 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 16:36:21 UTC", "InactiveEnterTimestampMonotonic": "72198489", "InactiveExitTimestamp": "Mon 2022-05-09 16:36:21 UTC", "InactiveExitTimestampMonotonic": "72200975", "InvocationID": "1ebbd3fbf05642daa678edc3d804f7c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "18184", "MemoryAccounting": "yes", "MemoryCurrent": "28008448", "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 16:36:21 UTC", "StateChangeTimestampMonotonic": "72458957", "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": "3", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:36:21 UTC", "WatchdogTimestampMonotonic": "72458955", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:38 +0000 (0:00:00.516) 0:01:14.810 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:38 +0000 (0:00:00.033) 0:01:14.843 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:40 +0000 (0:00:01.261) 0:01:16.104 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:40 +0000 (0:00:00.031) 0:01:16.136 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:40 +0000 (0:00:00.230) 0:01:16.366 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:40 +0000 (0:00:00.033) 0:01:16.399 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:96 Monday 09 May 2022 16:36:40 +0000 (0:00:00.034) 0:01:16.434 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:101 Monday 09 May 2022 16:36:40 +0000 (0:00:00.016) 0:01:16.451 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:36:40 +0000 (0:00:00.053) 0:01:16.504 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:36:40 +0000 (0:00:00.020) 0:01:16.525 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:36:41 +0000 (0:00:00.519) 0:01:17.045 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:36:43 +0000 (0:00:02.089) 0:01:19.134 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:36:43 +0000 (0:00:00.020) 0:01:19.155 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:44 +0000 (0:00:01.723) 0:01:20.878 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:36:40 UTC", "ActiveEnterTimestampMonotonic": "90898739", "ActiveExitTimestamp": "Mon 2022-05-09 16:36:39 UTC", "ActiveExitTimestampMonotonic": "89953240", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:36:39 UTC", "AssertTimestampMonotonic": "90651807", "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 16:36:39 UTC", "ConditionTimestampMonotonic": "90651807", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "20433", "ExecMainStartTimestamp": "Mon 2022-05-09 16:36:39 UTC", "ExecMainStartTimestampMonotonic": "90653104", "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 16:36:39 UTC] ; stop_time=[n/a] ; pid=20433 ; 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 16:36:39 UTC", "InactiveEnterTimestampMonotonic": "90650572", "InactiveExitTimestamp": "Mon 2022-05-09 16:36:39 UTC", "InactiveExitTimestampMonotonic": "90653145", "InvocationID": "7b4ded0385d848e4a8a2196bb362d691", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "20433", "MemoryAccounting": "yes", "MemoryCurrent": "24928256", "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 16:36:40 UTC", "StateChangeTimestampMonotonic": "90898739", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:36:40 UTC", "WatchdogTimestampMonotonic": "90898736", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:45 +0000 (0:00:00.517) 0:01:21.396 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:45 +0000 (0:00:00.035) 0:01:21.432 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:45 +0000 (0:00:00.029) 0:01:21.461 ************ changed: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:46 +0000 (0:00:00.636) 0:01:22.097 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:46 +0000 (0:00:00.032) 0:01:22.130 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:46 +0000 (0:00:00.029) 0:01:22.159 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:109 Monday 09 May 2022 16:36:46 +0000 (0:00:00.037) 0:01:22.197 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:114 Monday 09 May 2022 16:36:46 +0000 (0:00:00.016) 0:01:22.214 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:36:46 +0000 (0:00:00.054) 0:01:22.268 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:36:46 +0000 (0:00:00.019) 0:01:22.288 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:36:46 +0000 (0:00:00.542) 0:01:22.831 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:36:48 +0000 (0:00:01.721) 0:01:24.552 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:36:48 +0000 (0:00:00.020) 0:01:24.573 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:36:50 +0000 (0:00:01.694) 0:01:26.267 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:36:40 UTC", "ActiveEnterTimestampMonotonic": "90898739", "ActiveExitTimestamp": "Mon 2022-05-09 16:36:39 UTC", "ActiveExitTimestampMonotonic": "89953240", "ActiveState": "active", "After": "sysinit.target polkit.service basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:36:39 UTC", "AssertTimestampMonotonic": "90651807", "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 16:36:39 UTC", "ConditionTimestampMonotonic": "90651807", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service ipset.service ip6tables.service iptables.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": "20433", "ExecMainStartTimestamp": "Mon 2022-05-09 16:36:39 UTC", "ExecMainStartTimestampMonotonic": "90653104", "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 16:36:39 UTC] ; stop_time=[n/a] ; pid=20433 ; 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 16:36:39 UTC", "InactiveEnterTimestampMonotonic": "90650572", "InactiveExitTimestamp": "Mon 2022-05-09 16:36:39 UTC", "InactiveExitTimestampMonotonic": "90653145", "InvocationID": "7b4ded0385d848e4a8a2196bb362d691", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "20433", "MemoryAccounting": "yes", "MemoryCurrent": "25919488", "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 16:36:40 UTC", "StateChangeTimestampMonotonic": "90898739", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:36:40 UTC", "WatchdogTimestampMonotonic": "90898736", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:36:50 +0000 (0:00:00.506) 0:01:26.773 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:36:50 +0000 (0:00:00.034) 0:01:26.807 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:36:50 +0000 (0:00:00.028) 0:01:26.836 ************ ok: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:36:51 +0000 (0:00:00.561) 0:01:27.397 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:36:51 +0000 (0:00:00.034) 0:01:27.432 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:36:51 +0000 (0:00:00.028) 0:01:27.460 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_purge_config.yml:122 Monday 09 May 2022 16:36:51 +0000 (0:00:00.032) 0:01:27.493 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=72 changed=7 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Monday 09 May 2022 16:36:51 +0000 (0:00:00.020) 0:01:27.514 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 18.94s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 3.91s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 3.40s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 2.09s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.84s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.84s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.81s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.79s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.79s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.78s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.76s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.75s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.72s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.72s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.71s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.70s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.70s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.68s /tmp/tmpjjm5b9cm/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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:37:11 +0000 (0:00:00.011) 0:00:00.011 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.399179", "end": "2022-05-09 16:37:12.066156", "rc": 0, "start": "2022-05-09 16:37:11.666977" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:37:12 +0000 (0:00:01.026) 0:00:01.037 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 1.03s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpjjm5b9cm/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_target.yml:1 Monday 09 May 2022 16:37:12 +0000 (0:00:00.007) 0:00:01.045 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_target.yml:3 Monday 09 May 2022 16:37:13 +0000 (0:00:01.067) 0:00:02.112 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:37:13 +0000 (0:00:00.026) 0:00:02.139 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:37:13 +0000 (0:00:00.020) 0:00:02.160 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:37:14 +0000 (0:00:00.521) 0:00:02.681 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:37:33 +0000 (0:00:18.760) 0:00:21.442 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:37:33 +0000 (0:00:00.021) 0:00:21.464 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:37:35 +0000 (0:00:01.804) 0:00:23.268 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice basic.target polkit.service dbus.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service ebtables.service shutdown.target ip6tables.service iptables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:37:36 +0000 (0:00:01.030) 0:00:24.298 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:37:36 +0000 (0:00:00.036) 0:00:24.335 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:37:36 +0000 (0:00:00.029) 0:00:24.364 ************ ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:37:37 +0000 (0:00:01.747) 0:00:26.112 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:37:37 +0000 (0:00:00.037) 0:00:26.150 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:37:37 +0000 (0:00:00.030) 0:00:26.180 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_target.yml:15 Monday 09 May 2022 16:37:37 +0000 (0:00:00.041) 0:00:26.221 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.270425", "end": "2022-05-09 16:37:37.920230", "rc": 0, "start": "2022-05-09 16:37:37.649805" } 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/tmpjjm5b9cm/tests/tests_target.yml:20 Monday 09 May 2022 16:37:38 +0000 (0:00:00.662) 0:00:26.884 ************ ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_target.yml:26 Monday 09 May 2022 16:37:38 +0000 (0:00:00.021) 0:00:26.906 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:37:38 +0000 (0:00:00.036) 0:00:26.942 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:37:38 +0000 (0:00:00.024) 0:00:26.967 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:37:39 +0000 (0:00:00.506) 0:00:27.473 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:37:40 +0000 (0:00:01.722) 0:00:29.196 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:37:40 +0000 (0:00:00.021) 0:00:29.217 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:37:42 +0000 (0:00:01.768) 0:00:30.985 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:37:35 UTC", "ActiveEnterTimestampMonotonic": "39119455", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target polkit.service dbus.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:37:35 UTC", "AssertTimestampMonotonic": "38864287", "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 16:37:35 UTC", "ConditionTimestampMonotonic": "38864286", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service ebtables.service shutdown.target ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11925", "ExecMainStartTimestamp": "Mon 2022-05-09 16:37:35 UTC", "ExecMainStartTimestampMonotonic": "38865346", "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 16:37:35 UTC] ; stop_time=[n/a] ; pid=11925 ; 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 16:37:35 UTC", "InactiveExitTimestampMonotonic": "38865382", "InvocationID": "0fc0b541b83d4c7f8d9c77b311e57075", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11925", "MemoryAccounting": "yes", "MemoryCurrent": "29159424", "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 16:37:35 UTC", "StateChangeTimestampMonotonic": "39119455", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:37:35 UTC", "WatchdogTimestampMonotonic": "39119453", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:37:43 +0000 (0:00:00.511) 0:00:31.497 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:37:43 +0000 (0:00:00.039) 0:00:31.537 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:37:43 +0000 (0:00:00.031) 0:00:31.568 ************ changed: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:37:44 +0000 (0:00:01.076) 0:00:32.644 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:37:44 +0000 (0:00:00.029) 0:00:32.674 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:37:44 +0000 (0:00:00.027) 0:00:32.701 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_target.yml:35 Monday 09 May 2022 16:37:44 +0000 (0:00:00.031) 0:00:32.733 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.264347", "end": "2022-05-09 16:37:44.396879", "rc": 0, "start": "2022-05-09 16:37:44.132532" } 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/tmpjjm5b9cm/tests/tests_target.yml:40 Monday 09 May 2022 16:37:45 +0000 (0:00:00.629) 0:00:33.363 ************ ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=20 changed=5 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Monday 09 May 2022 16:37:45 +0000 (0:00:00.026) 0:00:33.389 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 18.76s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.80s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.77s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 1.75s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 1.72s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 1.08s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpjjm5b9cm/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 1.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Enable HA repos --------------------------------------------------------- 1.03s /cache/centos-8_setup.yml:6 --------------------------------------------------- Get target setting ------------------------------------------------------ 0.66s /tmp/tmpjjm5b9cm/tests/tests_target.yml:15 ------------------------------------ Get target setting ------------------------------------------------------ 0.63s /tmp/tmpjjm5b9cm/tests/tests_target.yml:35 ------------------------------------ linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.52s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.51s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Show diffs -------------------------------- 0.04s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Get config files, checksums after --------- 0.04s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 ---- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- Call role to reset target settings -------------------------------------- 0.04s /tmp/tmpjjm5b9cm/tests/tests_target.yml:26 ------------------------------------ linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- 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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:38:05 +0000 (0:00:00.011) 0:00:00.011 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.393019", "end": "2022-05-09 16:38:05.365518", "rc": 0, "start": "2022-05-09 16:38:04.972499" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:38:06 +0000 (0:00:01.004) 0:00:01.016 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 1.00s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmpjjm5b9cm/tests/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:1 Monday 09 May 2022 16:38:06 +0000 (0:00:00.011) 0:00:01.028 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.firewall] ****************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:6 Monday 09 May 2022 16:38:07 +0000 (0:00:01.075) 0:00:02.103 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:38:07 +0000 (0:00:00.025) 0:00:02.129 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:38:07 +0000 (0:00:00.020) 0:00:02.149 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:38:08 +0000 (0:00:00.578) 0:00:02.727 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:38:28 +0000 (0:00:20.138) 0:00:22.865 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:38:28 +0000 (0:00:00.024) 0:00:22.890 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:38:30 +0000 (0:00:01.850) 0:00:24.740 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target dbus.socket polkit.service sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service shutdown.target ipset.service ebtables.service ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:38:31 +0000 (0:00:01.108) 0:00:25.848 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:38:31 +0000 (0:00:00.040) 0:00:25.889 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:38:31 +0000 (0:00:00.037) 0:00:25.926 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:38:31 +0000 (0:00:00.035) 0:00:25.962 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:38:31 +0000 (0:00:00.031) 0:00:25.994 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:38:31 +0000 (0:00:00.032) 0:00:26.026 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:14 Monday 09 May 2022 16:38:31 +0000 (0:00:00.037) 0:00:26.063 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:38:31 +0000 (0:00:00.046) 0:00:26.110 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:38:31 +0000 (0:00:00.042) 0:00:26.152 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:38:32 +0000 (0:00:00.527) 0:00:26.679 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:38:33 +0000 (0:00:01.732) 0:00:28.412 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:38:33 +0000 (0:00:00.033) 0:00:28.446 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:38:35 +0000 (0:00:01.690) 0:00:30.137 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:38:30 UTC", "ActiveEnterTimestampMonotonic": "40871958", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket polkit.service sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:38:29 UTC", "AssertTimestampMonotonic": "40617296", "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 16:38:29 UTC", "ConditionTimestampMonotonic": "40617296", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service shutdown.target ipset.service ebtables.service 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": "12797", "ExecMainStartTimestamp": "Mon 2022-05-09 16:38:29 UTC", "ExecMainStartTimestampMonotonic": "40618419", "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 16:38:29 UTC] ; stop_time=[n/a] ; pid=12797 ; 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 16:38:29 UTC", "InactiveExitTimestampMonotonic": "40618466", "InvocationID": "40c77fdb2145409889bdb4d95232dc29", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12797", "MemoryAccounting": "yes", "MemoryCurrent": "26988544", "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 16:38:30 UTC", "StateChangeTimestampMonotonic": "40871958", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:38:30 UTC", "WatchdogTimestampMonotonic": "40871956", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:38:36 +0000 (0:00:00.506) 0:00:30.644 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:38:36 +0000 (0:00:00.037) 0:00:30.681 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:38:36 +0000 (0:00:00.032) 0:00:30.714 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/centos-8.qcow2] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:38:37 +0000 (0:00:01.752) 0:00:32.466 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:38:37 +0000 (0:00:00.042) 0:00:32.509 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:38:37 +0000 (0:00:00.037) 0:00:32.546 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Fail on missing zones] *************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:26 Monday 09 May 2022 16:38:38 +0000 (0:00:00.038) 0:00:32.584 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:32 Monday 09 May 2022 16:38:38 +0000 (0:00:00.040) 0:00:32.625 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:38:38 +0000 (0:00:00.048) 0:00:32.673 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:38:38 +0000 (0:00:00.038) 0:00:32.711 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:38:38 +0000 (0:00:00.530) 0:00:33.242 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:38:40 +0000 (0:00:01.712) 0:00:34.954 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:38:40 +0000 (0:00:00.033) 0:00:34.988 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:38:42 +0000 (0:00:01.724) 0:00:36.713 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:38:30 UTC", "ActiveEnterTimestampMonotonic": "40871958", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket polkit.service sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:38:29 UTC", "AssertTimestampMonotonic": "40617296", "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 16:38:29 UTC", "ConditionTimestampMonotonic": "40617296", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service shutdown.target ipset.service ebtables.service 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": "12797", "ExecMainStartTimestamp": "Mon 2022-05-09 16:38:29 UTC", "ExecMainStartTimestampMonotonic": "40618419", "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 16:38:29 UTC] ; stop_time=[n/a] ; pid=12797 ; 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 16:38:29 UTC", "InactiveExitTimestampMonotonic": "40618466", "InvocationID": "40c77fdb2145409889bdb4d95232dc29", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12797", "MemoryAccounting": "yes", "MemoryCurrent": "27987968", "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 16:38:30 UTC", "StateChangeTimestampMonotonic": "40871958", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:38:30 UTC", "WatchdogTimestampMonotonic": "40871956", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:38:42 +0000 (0:00:00.510) 0:00:37.223 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:38:42 +0000 (0:00:00.040) 0:00:37.264 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:38:43 +0000 (0:00:01.013) 0:00:38.277 ************ ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:38:47 +0000 (0:00:03.730) 0:00:42.007 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:38:47 +0000 (0:00:00.291) 0:00:42.299 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:38:47 +0000 (0:00:00.037) 0:00:42.337 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:62 Monday 09 May 2022 16:38:47 +0000 (0:00:00.037) 0:00:42.374 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:68 Monday 09 May 2022 16:38:47 +0000 (0:00:00.031) 0:00:42.405 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Monday 09 May 2022 16:38:47 +0000 (0:00:00.047) 0:00:42.453 ************ included: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:38:47 +0000 (0:00:00.037) 0:00:42.491 ************ ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Monday 09 May 2022 16:38:48 +0000 (0:00:00.502) 0:00:42.993 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Monday 09 May 2022 16:38:50 +0000 (0:00:01.727) 0:00:44.720 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Monday 09 May 2022 16:38:50 +0000 (0:00:00.036) 0:00:44.756 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Monday 09 May 2022 16:38:51 +0000 (0:00:01.730) 0:00:46.487 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:38:42 UTC", "ActiveEnterTimestampMonotonic": "53330358", "ActiveExitTimestamp": "Mon 2022-05-09 16:38:41 UTC", "ActiveExitTimestampMonotonic": "52628568", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket polkit.service sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:38:42 UTC", "AssertTimestampMonotonic": "53077751", "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 16:38:42 UTC", "ConditionTimestampMonotonic": "53077751", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service shutdown.target ipset.service ebtables.service 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": "15602", "ExecMainStartTimestamp": "Mon 2022-05-09 16:38:42 UTC", "ExecMainStartTimestampMonotonic": "53078768", "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 16:38:42 UTC] ; stop_time=[n/a] ; pid=15602 ; 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 16:38:42 UTC", "InactiveEnterTimestampMonotonic": "53076816", "InactiveExitTimestamp": "Mon 2022-05-09 16:38:42 UTC", "InactiveExitTimestampMonotonic": "53078812", "InvocationID": "d520332e2b2f423b91f9d072050fc17a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15602", "MemoryAccounting": "yes", "MemoryCurrent": "27156480", "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 16:38:42 UTC", "StateChangeTimestampMonotonic": "53330358", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:38:42 UTC", "WatchdogTimestampMonotonic": "53330356", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Monday 09 May 2022 16:38:52 +0000 (0:00:00.511) 0:00:46.999 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Monday 09 May 2022 16:38:52 +0000 (0:00:00.039) 0:00:47.039 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Monday 09 May 2022 16:38:53 +0000 (0:00:00.995) 0:00:48.035 ************ ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Monday 09 May 2022 16:38:57 +0000 (0:00:03.649) 0:00:51.685 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Monday 09 May 2022 16:38:57 +0000 (0:00:00.282) 0:00:51.967 ************ ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Monday 09 May 2022 16:38:57 +0000 (0:00:00.036) 0:00:52.004 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Fail on newly changes] *************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:98 Monday 09 May 2022 16:38:57 +0000 (0:00:00.037) 0:00:52.041 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:104 Monday 09 May 2022 16:38:57 +0000 (0:00:00.032) 0:00:52.073 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.254976", "end": "2022-05-09 16:38:57.039121", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:38:56.784145" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:111 Monday 09 May 2022 16:38:58 +0000 (0:00:00.615) 0:00:52.689 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.252878", "end": "2022-05-09 16:38:57.656067", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:38:57.403189" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:118 Monday 09 May 2022 16:38:58 +0000 (0:00:00.616) 0:00:53.306 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.253799", "end": "2022-05-09 16:38:58.281756", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:38:58.027957" } 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/tmpjjm5b9cm/tests/tests_zone.yml:127 Monday 09 May 2022 16:38:59 +0000 (0:00:00.625) 0:00:53.932 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.262646", "end": "2022-05-09 16:38:58.920274", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:38:58.657628" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:133 Monday 09 May 2022 16:39:00 +0000 (0:00:00.643) 0:00:54.575 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.248730", "end": "2022-05-09 16:38:59.544169", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:38:59.295439" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:139 Monday 09 May 2022 16:39:00 +0000 (0:00:00.623) 0:00:55.199 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.249780", "end": "2022-05-09 16:39:00.178893", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:38:59.929113" } STDOUT: yes TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmpjjm5b9cm/tests/tests_zone.yml:148 Monday 09 May 2022 16:39:01 +0000 (0:00:00.639) 0:00:55.838 ************ changed: [/cache/centos-8.qcow2] => { "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.483431", "end": "2022-05-09 16:39:02.049906", "rc": 0, "start": "2022-05-09 16:39:00.566475" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=42 changed=11 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Monday 09 May 2022 16:39:03 +0000 (0:00:01.865) 0:00:57.703 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 20.14s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 3.65s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Reset to zone defaults -------------------------------------------------- 1.87s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:148 ------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.85s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 1.75s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 1.73s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.73s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.73s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.72s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.71s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 1.11s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:1 --------------------------------------- Enable HA repos --------------------------------------------------------- 1.00s /cache/centos-8_setup.yml:6 --------------------------------------------------- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.00s /tmp/tmpjjm5b9cm/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Verify custom zone has masquerade added to it --------------------------- 0.64s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:127 ------------------------------------- Verify that service http has been added to the default zone dmz --------- 0.64s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:139 ------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.63s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:118 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.62s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:133 ------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.62s /tmp/tmpjjm5b9cm/tests/tests_zone.yml:111 ------------------------------------- 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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:39:23 +0000 (0:00:00.012) 0:00:00.012 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.359865", "end": "2022-05-09 16:39:22.970211", "rc": 0, "start": "2022-05-09 16:39:22.610346" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:39:24 +0000 (0:00:00.986) 0:00:00.998 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 0.99s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:1 Monday 09 May 2022 16:39:24 +0000 (0:00:00.048) 0:00:01.046 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:39:25 +0000 (0:00:01.037) 0:00:02.084 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:39:25 +0000 (0:00:00.028) 0:00:02.112 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:39:25 +0000 (0:00:00.533) 0:00:02.645 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:39:44 +0000 (0:00:18.932) 0:00:21.578 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:39:44 +0000 (0:00:00.025) 0:00:21.604 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:39:46 +0000 (0:00:01.756) 0:00:23.360 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.socket basic.target polkit.service sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service shutdown.target ebtables.service nftables.service ipset.service iptables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:39:47 +0000 (0:00:01.052) 0:00:24.413 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:39:47 +0000 (0:00:00.034) 0:00:24.447 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:39:47 +0000 (0:00:00.029) 0:00:24.477 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:39:47 +0000 (0:00:00.031) 0:00:24.508 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:39:47 +0000 (0:00:00.027) 0:00:24.536 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:39:47 +0000 (0:00:00.028) 0:00:24.565 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:14 Monday 09 May 2022 16:39:47 +0000 (0:00:00.033) 0:00:24.598 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.271648", "end": "2022-05-09 16:39:47.207955", "failed_when_result": false, "rc": 112, "start": "2022-05-09 16:39:46.936307" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:19 Monday 09 May 2022 16:39:48 +0000 (0:00:00.639) 0:00:25.237 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.264465", "end": "2022-05-09 16:39:47.835431", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:39:47.570966" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:24 Monday 09 May 2022 16:39:49 +0000 (0:00:00.629) 0:00:25.867 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.259325", "end": "2022-05-09 16:39:48.464755", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:39:48.205430" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:29 Monday 09 May 2022 16:39:49 +0000 (0:00:00.627) 0:00:26.494 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.259054", "end": "2022-05-09 16:39:49.086921", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:39:48.827867" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:34 Monday 09 May 2022 16:39:50 +0000 (0:00:00.620) 0:00:27.115 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.264616", "end": "2022-05-09 16:39:49.705683", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:39:49.441067" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:39 Monday 09 May 2022 16:39:51 +0000 (0:00:00.618) 0:00:27.733 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.275034", "end": "2022-05-09 16:39:50.351108", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:39:50.076074" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:44 Monday 09 May 2022 16:39:51 +0000 (0:00:00.652) 0:00:28.386 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.575941", "end": "2022-05-09 16:39:51.309665", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:39:50.733724" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:52 Monday 09 May 2022 16:39:52 +0000 (0:00:00.953) 0:00:29.339 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.247663", "end": "2022-05-09 16:39:51.916508", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:39:51.668845" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:57 Monday 09 May 2022 16:39:53 +0000 (0:00:00.607) 0:00:29.946 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.735513", "end": "2022-05-09 16:39:53.020190", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:39:52.284677" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:64 Monday 09 May 2022 16:39:54 +0000 (0:00:01.109) 0:00:31.056 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:72 Monday 09 May 2022 16:39:55 +0000 (0:00:00.665) 0:00:31.721 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:80 Monday 09 May 2022 16:39:55 +0000 (0:00:00.533) 0:00:32.255 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:88 Monday 09 May 2022 16:39:56 +0000 (0:00:00.578) 0:00:32.833 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:96 Monday 09 May 2022 16:39:56 +0000 (0:00:00.536) 0:00:33.370 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:104 Monday 09 May 2022 16:39:57 +0000 (0:00:00.586) 0:00:33.956 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:112 Monday 09 May 2022 16:39:57 +0000 (0:00:00.531) 0:00:34.488 ************ changed: [/cache/centos-8.qcow2] => { "__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/tmpvn_24m8k/tests/firewall/tests_ansible.yml:120 Monday 09 May 2022 16:39:58 +0000 (0:00:00.528) 0:00:35.016 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:128 Monday 09 May 2022 16:39:58 +0000 (0:00:00.526) 0:00:35.542 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:137 Monday 09 May 2022 16:39:59 +0000 (0:00:00.545) 0:00:36.088 ************ ok: [/cache/centos-8.qcow2] => { "__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/tmpvn_24m8k/tests/firewall/tests_ansible.yml:146 Monday 09 May 2022 16:39:59 +0000 (0:00:00.523) 0:00:36.612 ************ changed: [/cache/centos-8.qcow2] => { "__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/tmpvn_24m8k/tests/firewall/tests_ansible.yml:154 Monday 09 May 2022 16:40:00 +0000 (0:00:00.556) 0:00:37.168 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:162 Monday 09 May 2022 16:40:00 +0000 (0:00:00.538) 0:00:37.707 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:171 Monday 09 May 2022 16:40:01 +0000 (0:00:00.536) 0:00:38.243 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:180 Monday 09 May 2022 16:40:02 +0000 (0:00:00.546) 0:00:38.790 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:189 Monday 09 May 2022 16:40:02 +0000 (0:00:00.555) 0:00:39.345 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:198 Monday 09 May 2022 16:40:03 +0000 (0:00:00.524) 0:00:39.869 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:207 Monday 09 May 2022 16:40:03 +0000 (0:00:00.571) 0:00:40.441 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:216 Monday 09 May 2022 16:40:04 +0000 (0:00:00.579) 0:00:41.020 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:224 Monday 09 May 2022 16:40:04 +0000 (0:00:00.613) 0:00:41.634 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:233 Monday 09 May 2022 16:40:05 +0000 (0:00:00.600) 0:00:42.234 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:242 Monday 09 May 2022 16:40:06 +0000 (0:00:00.563) 0:00:42.798 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:251 Monday 09 May 2022 16:40:06 +0000 (0:00:00.574) 0:00:43.372 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:260 Monday 09 May 2022 16:40:07 +0000 (0:00:00.593) 0:00:43.966 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:269 Monday 09 May 2022 16:40:07 +0000 (0:00:00.561) 0:00:44.527 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:278 Monday 09 May 2022 16:40:09 +0000 (0:00:01.227) 0:00:45.754 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:287 Monday 09 May 2022 16:40:09 +0000 (0:00:00.560) 0:00:46.315 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:296 Monday 09 May 2022 16:40:10 +0000 (0:00:01.055) 0:00:47.370 ************ ok: [/cache/centos-8.qcow2] => { "__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/tmpvn_24m8k/tests/firewall/tests_ansible.yml:305 Monday 09 May 2022 16:40:11 +0000 (0:00:00.551) 0:00:47.922 ************ [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/centos-8.qcow2] => { "__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/tmpvn_24m8k/tests/firewall/tests_ansible.yml:315 Monday 09 May 2022 16:40:11 +0000 (0:00:00.577) 0:00:48.499 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:325 Monday 09 May 2022 16:40:12 +0000 (0:00:00.542) 0:00:49.042 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:333 Monday 09 May 2022 16:40:13 +0000 (0:00:01.043) 0:00:50.085 ************ ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:338 Monday 09 May 2022 16:40:13 +0000 (0:00:00.023) 0:00:50.108 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:348 Monday 09 May 2022 16:40:13 +0000 (0:00:00.556) 0:00:50.665 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [set default zone] ******************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:358 Monday 09 May 2022 16:40:14 +0000 (0:00:00.575) 0:00:51.241 ************ changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:365 Monday 09 May 2022 16:40:15 +0000 (0:00:00.603) 0:00:51.845 ************ ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:377 Monday 09 May 2022 16:40:15 +0000 (0:00:00.545) 0:00:52.390 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.259003", "end": "2022-05-09 16:40:14.971379", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:14.712376" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:382 Monday 09 May 2022 16:40:16 +0000 (0:00:00.611) 0:00:53.002 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.267147", "end": "2022-05-09 16:40:15.589876", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:15.322729" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:387 Monday 09 May 2022 16:40:16 +0000 (0:00:00.618) 0:00:53.621 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.260141", "end": "2022-05-09 16:40:16.206922", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:15.946781" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:392 Monday 09 May 2022 16:40:17 +0000 (0:00:00.616) 0:00:54.237 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.261159", "end": "2022-05-09 16:40:16.821867", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:16.560708" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:397 Monday 09 May 2022 16:40:18 +0000 (0:00:00.614) 0:00:54.852 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.265838", "end": "2022-05-09 16:40:17.458756", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:17.192918" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:402 Monday 09 May 2022 16:40:18 +0000 (0:00:00.641) 0:00:55.493 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.254563", "end": "2022-05-09 16:40:18.079314", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:17.824751" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:407 Monday 09 May 2022 16:40:19 +0000 (0:00:00.615) 0:00:56.108 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.259896", "end": "2022-05-09 16:40:18.688741", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:18.428845" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:412 Monday 09 May 2022 16:40:20 +0000 (0:00:00.609) 0:00:56.718 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.286788", "end": "2022-05-09 16:40:19.323352", "failed_when_result": false, "rc": 22, "start": "2022-05-09 16:40:19.036564" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:417 Monday 09 May 2022 16:40:20 +0000 (0:00:00.638) 0:00:57.356 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.726193", "end": "2022-05-09 16:40:20.408481", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:40:19.682288" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=62 changed=38 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:40:21 +0000 (0:00:01.090) 0:00:58.446 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 18.93s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.76s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Ensure target ACCEPT in permanent internal zone ------------------------- 1.23s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:269 ------------------------- Reload firewalld -------------------------------------------------------- 1.11s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:57 -------------------------- Reload firewalld -------------------------------------------------------- 1.09s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:417 ------------------------- Ensure default target in permanent internal zone ------------------------ 1.06s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:287 ------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.05s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Firewalld custom zone --------------------------------------------------- 1.04s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:325 ------------------------- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:1 --------------------------- Enable HA repos --------------------------------------------------------- 0.99s /cache/centos-8_setup.yml:6 --------------------------------------------------- Reset default zone to defaults ------------------------------------------ 0.95s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:44 -------------------------- Permit traffic in default zone for https service ------------------------ 0.67s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:64 -------------------------- Reset public zone to defaults ------------------------------------------- 0.65s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:39 -------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.64s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:397 ------------------------- Remove custom zone ------------------------------------------------------ 0.64s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:14 -------------------------- Reset default zone to defaults ------------------------------------------ 0.64s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:412 ------------------------- Reset internal zone to defaults ----------------------------------------- 0.63s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:19 -------------------------- Reset trusted zone to defaults ------------------------------------------ 0.63s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:24 -------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.62s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.yml:29 -------------------------- Reset drop zone to defaults --------------------------------------------- 0.62s /tmp/tmpvn_24m8k/tests/firewall/tests_ansible.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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:40:41 +0000 (0:00:00.012) 0:00:00.012 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.353594", "end": "2022-05-09 16:40:42.197253", "rc": 0, "start": "2022-05-09 16:40:41.843659" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:40:42 +0000 (0:00:00.930) 0:00:00.942 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 0.93s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpvn_24m8k/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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:40:42 +0000 (0:00:00.018) 0:00:00.960 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:40:42 +0000 (0:00:00.017) 0:00:00.978 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:40:43 +0000 (0:00:00.764) 0:00:01.743 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:41:02 +0000 (0:00:18.963) 0:00:20.706 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:41:02 +0000 (0:00:00.021) 0:00:20.728 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:41:04 +0000 (0:00:01.742) 0:00:22.470 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target polkit.service system.slice sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service shutdown.target ipset.service ebtables.service ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:41:05 +0000 (0:00:01.155) 0:00:23.626 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:41:05 +0000 (0:00:00.031) 0:00:23.658 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:41:05 +0000 (0:00:00.027) 0:00:23.685 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:41:05 +0000 (0:00:00.028) 0:00:23.714 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:41:05 +0000 (0:00:00.025) 0:00:23.739 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:41:05 +0000 (0:00:00.026) 0:00:23.766 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=7 changed=3 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 09 May 2022 16:41:05 +0000 (0:00:00.031) 0:00:23.797 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 18.96s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.74s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.16s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Enable HA repos --------------------------------------------------------- 0.93s /cache/centos-8_setup.yml:6 --------------------------------------------------- fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.76s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.03s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.03s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.03s /tmp/tmpxxphu42z/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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Calculate what has changed --------- 0.03s /tmp/tmpxxphu42z/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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.02s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : include_tasks ---------------------- 0.02s /tmp/tmpxxphu42z/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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:41:25 +0000 (0:00:00.011) 0:00:00.011 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.379643", "end": "2022-05-09 16:41:26.062228", "rc": 0, "start": "2022-05-09 16:41:25.682585" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:41:26 +0000 (0:00:01.014) 0:00:01.026 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 1.01s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:1 Monday 09 May 2022 16:41:26 +0000 (0:00:00.011) 0:00:01.037 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Run the role with no config] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:23 Monday 09 May 2022 16:41:27 +0000 (0:00:01.050) 0:00:02.088 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:41:27 +0000 (0:00:00.031) 0:00:02.119 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:41:27 +0000 (0:00:00.021) 0:00:02.141 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:41:28 +0000 (0:00:00.521) 0:00:02.662 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:41:47 +0000 (0:00:19.294) 0:00:21.957 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:41:47 +0000 (0:00:00.026) 0:00:21.983 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:41:49 +0000 (0:00:01.841) 0:00:23.825 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.service nftables.service ip6tables.service ipset.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:41:50 +0000 (0:00:01.118) 0:00:24.943 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:41:50 +0000 (0:00:00.034) 0:00:24.978 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:41:50 +0000 (0:00:00.031) 0:00:25.009 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:41:50 +0000 (0:00:00.032) 0:00:25.042 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:41:50 +0000 (0:00:00.030) 0:00:25.072 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:41:50 +0000 (0:00:00.030) 0:00:25.103 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:27 Monday 09 May 2022 16:41:50 +0000 (0:00:00.034) 0:00:25.137 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:32 Monday 09 May 2022 16:41:50 +0000 (0:00:00.016) 0:00:25.154 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:41:50 +0000 (0:00:00.034) 0:00:25.189 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:41:50 +0000 (0:00:00.022) 0:00:25.211 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:41:51 +0000 (0:00:00.536) 0:00:25.747 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:41:53 +0000 (0:00:01.761) 0:00:27.509 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:41:53 +0000 (0:00:00.020) 0:00:27.529 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:41:54 +0000 (0:00:01.720) 0:00:29.250 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:41:49 UTC", "ActiveEnterTimestampMonotonic": "39765201", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:41:49 UTC", "AssertTimestampMonotonic": "39430462", "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 16:41:49 UTC", "ConditionTimestampMonotonic": "39430461", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "12105", "ExecMainStartTimestamp": "Mon 2022-05-09 16:41:49 UTC", "ExecMainStartTimestampMonotonic": "39431663", "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 16:41:49 UTC] ; stop_time=[n/a] ; pid=12105 ; 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 16:41:49 UTC", "InactiveExitTimestampMonotonic": "39431702", "InvocationID": "5cc6ce7e09624d19b95f37991d0aa651", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12105", "MemoryAccounting": "yes", "MemoryCurrent": "26992640", "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 16:41:49 UTC", "StateChangeTimestampMonotonic": "39765201", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:41:49 UTC", "WatchdogTimestampMonotonic": "39765199", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:41:55 +0000 (0:00:00.525) 0:00:29.775 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:41:55 +0000 (0:00:00.035) 0:00:29.811 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:41:55 +0000 (0:00:00.028) 0:00:29.840 ************ changed: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "state": "enabled" } } changed: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:41:59 +0000 (0:00:03.965) 0:00:33.805 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:41:59 +0000 (0:00:00.028) 0:00:33.833 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:41:59 +0000 (0:00:00.027) 0:00:33.861 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:38 Monday 09 May 2022 16:41:59 +0000 (0:00:00.033) 0:00:33.895 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:43 Monday 09 May 2022 16:41:59 +0000 (0:00:00.016) 0:00:33.911 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:41:59 +0000 (0:00:00.030) 0:00:33.941 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:41:59 +0000 (0:00:00.021) 0:00:33.963 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:00 +0000 (0:00:00.492) 0:00:34.455 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:01 +0000 (0:00:01.702) 0:00:36.158 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:01 +0000 (0:00:00.022) 0:00:36.181 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:03 +0000 (0:00:01.725) 0:00:37.906 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:41:49 UTC", "ActiveEnterTimestampMonotonic": "39765201", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:41:49 UTC", "AssertTimestampMonotonic": "39430462", "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 16:41:49 UTC", "ConditionTimestampMonotonic": "39430461", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "12105", "ExecMainStartTimestamp": "Mon 2022-05-09 16:41:49 UTC", "ExecMainStartTimestampMonotonic": "39431663", "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 16:41:49 UTC] ; stop_time=[n/a] ; pid=12105 ; 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 16:41:49 UTC", "InactiveExitTimestampMonotonic": "39431702", "InvocationID": "5cc6ce7e09624d19b95f37991d0aa651", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12105", "MemoryAccounting": "yes", "MemoryCurrent": "31322112", "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 16:41:49 UTC", "StateChangeTimestampMonotonic": "39765201", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:41:49 UTC", "WatchdogTimestampMonotonic": "39765199", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:04 +0000 (0:00:00.504) 0:00:38.411 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:04 +0000 (0:00:00.036) 0:00:38.448 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:04 +0000 (0:00:00.029) 0:00:38.477 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:07 +0000 (0:00:03.201) 0:00:41.678 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:07 +0000 (0:00:00.034) 0:00:41.713 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:07 +0000 (0:00:00.030) 0:00:41.743 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:49 Monday 09 May 2022 16:42:07 +0000 (0:00:00.033) 0:00:41.777 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:54 Monday 09 May 2022 16:42:07 +0000 (0:00:00.019) 0:00:41.797 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:42:07 +0000 (0:00:00.039) 0:00:41.836 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:42:07 +0000 (0:00:00.020) 0:00:41.857 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:08 +0000 (0:00:00.512) 0:00:42.369 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:09 +0000 (0:00:01.808) 0:00:44.178 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:09 +0000 (0:00:00.024) 0:00:44.202 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:11 +0000 (0:00:01.724) 0:00:45.926 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:41:49 UTC", "ActiveEnterTimestampMonotonic": "39765201", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:41:49 UTC", "AssertTimestampMonotonic": "39430462", "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 16:41:49 UTC", "ConditionTimestampMonotonic": "39430461", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "12105", "ExecMainStartTimestamp": "Mon 2022-05-09 16:41:49 UTC", "ExecMainStartTimestampMonotonic": "39431663", "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 16:41:49 UTC] ; stop_time=[n/a] ; pid=12105 ; 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 16:41:49 UTC", "InactiveExitTimestampMonotonic": "39431702", "InvocationID": "5cc6ce7e09624d19b95f37991d0aa651", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12105", "MemoryAccounting": "yes", "MemoryCurrent": "31322112", "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 16:41:49 UTC", "StateChangeTimestampMonotonic": "39765201", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:41:49 UTC", "WatchdogTimestampMonotonic": "39765199", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:12 +0000 (0:00:00.493) 0:00:46.420 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:12 +0000 (0:00:00.043) 0:00:46.464 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:13 +0000 (0:00:01.240) 0:00:47.704 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:17 +0000 (0:00:03.986) 0:00:51.691 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:17 +0000 (0:00:00.311) 0:00:52.002 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:17 +0000 (0:00:00.038) 0:00:52.040 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changes] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:60 Monday 09 May 2022 16:42:17 +0000 (0:00:00.035) 0:00:52.076 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:65 Monday 09 May 2022 16:42:17 +0000 (0:00:00.016) 0:00:52.093 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:42:17 +0000 (0:00:00.038) 0:00:52.131 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:42:17 +0000 (0:00:00.023) 0:00:52.155 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:18 +0000 (0:00:00.526) 0:00:52.681 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:20 +0000 (0:00:01.855) 0:00:54.536 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:20 +0000 (0:00:00.020) 0:00:54.557 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:22 +0000 (0:00:01.962) 0:00:56.519 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:42:12 UTC", "ActiveEnterTimestampMonotonic": "62545962", "ActiveExitTimestamp": "Mon 2022-05-09 16:42:11 UTC", "ActiveExitTimestampMonotonic": "61628738", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:42:12 UTC", "AssertTimestampMonotonic": "62294333", "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 16:42:12 UTC", "ConditionTimestampMonotonic": "62294333", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "16892", "ExecMainStartTimestamp": "Mon 2022-05-09 16:42:12 UTC", "ExecMainStartTimestampMonotonic": "62295705", "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 16:42:12 UTC] ; stop_time=[n/a] ; pid=16892 ; 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 16:42:12 UTC", "InactiveEnterTimestampMonotonic": "62292785", "InactiveExitTimestamp": "Mon 2022-05-09 16:42:12 UTC", "InactiveExitTimestampMonotonic": "62295756", "InvocationID": "7fc09abda6884e1ba6e28ffb80068089", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "16892", "MemoryAccounting": "yes", "MemoryCurrent": "27115520", "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 16:42:12 UTC", "StateChangeTimestampMonotonic": "62545962", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:42:12 UTC", "WatchdogTimestampMonotonic": "62545960", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:22 +0000 (0:00:00.507) 0:00:57.027 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:22 +0000 (0:00:00.038) 0:00:57.065 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:23 +0000 (0:00:01.237) 0:00:58.302 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:27 +0000 (0:00:03.947) 0:01:02.250 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:28 +0000 (0:00:00.287) 0:01:02.538 ************ ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:28 +0000 (0:00:00.032) 0:01:02.571 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:71 Monday 09 May 2022 16:42:28 +0000 (0:00:00.031) 0:01:02.602 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:76 Monday 09 May 2022 16:42:28 +0000 (0:00:00.015) 0:01:02.617 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:42:28 +0000 (0:00:00.042) 0:01:02.660 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:42:28 +0000 (0:00:00.020) 0:01:02.681 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:28 +0000 (0:00:00.511) 0:01:03.192 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:30 +0000 (0:00:01.751) 0:01:04.944 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:30 +0000 (0:00:00.019) 0:01:04.964 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:32 +0000 (0:00:01.681) 0:01:06.645 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:42:23 UTC", "ActiveEnterTimestampMonotonic": "73148390", "ActiveExitTimestamp": "Mon 2022-05-09 16:42:22 UTC", "ActiveExitTimestampMonotonic": "72220967", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:42:23 UTC", "AssertTimestampMonotonic": "72904760", "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 16:42:23 UTC", "ConditionTimestampMonotonic": "72904759", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "18195", "ExecMainStartTimestamp": "Mon 2022-05-09 16:42:23 UTC", "ExecMainStartTimestampMonotonic": "72906033", "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 16:42:23 UTC] ; stop_time=[n/a] ; pid=18195 ; 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 16:42:23 UTC", "InactiveEnterTimestampMonotonic": "72903622", "InactiveExitTimestamp": "Mon 2022-05-09 16:42:23 UTC", "InactiveExitTimestampMonotonic": "72906077", "InvocationID": "03200fc0d72d4be0bcefac21d53263bd", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "18195", "MemoryAccounting": "yes", "MemoryCurrent": "27103232", "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 16:42:23 UTC", "StateChangeTimestampMonotonic": "73148390", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:42:23 UTC", "WatchdogTimestampMonotonic": "73148388", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:32 +0000 (0:00:00.501) 0:01:07.147 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:32 +0000 (0:00:00.037) 0:01:07.185 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:32 +0000 (0:00:00.028) 0:01:07.214 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (item={'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:36 +0000 (0:00:03.272) 0:01:10.486 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:36 +0000 (0:00:00.029) 0:01:10.516 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:36 +0000 (0:00:00.027) 0:01:10.543 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:82 Monday 09 May 2022 16:42:36 +0000 (0:00:00.031) 0:01:10.574 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:87 Monday 09 May 2022 16:42:36 +0000 (0:00:00.015) 0:01:10.590 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:42:36 +0000 (0:00:00.051) 0:01:10.641 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:42:36 +0000 (0:00:00.020) 0:01:10.662 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:36 +0000 (0:00:00.501) 0:01:11.163 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:38 +0000 (0:00:01.803) 0:01:12.967 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:38 +0000 (0:00:00.020) 0:01:12.988 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:40 +0000 (0:00:01.701) 0:01:14.689 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:42:23 UTC", "ActiveEnterTimestampMonotonic": "73148390", "ActiveExitTimestamp": "Mon 2022-05-09 16:42:22 UTC", "ActiveExitTimestampMonotonic": "72220967", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:42:23 UTC", "AssertTimestampMonotonic": "72904760", "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 16:42:23 UTC", "ConditionTimestampMonotonic": "72904759", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "18195", "ExecMainStartTimestamp": "Mon 2022-05-09 16:42:23 UTC", "ExecMainStartTimestampMonotonic": "72906033", "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 16:42:23 UTC] ; stop_time=[n/a] ; pid=18195 ; 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 16:42:23 UTC", "InactiveEnterTimestampMonotonic": "72903622", "InactiveExitTimestamp": "Mon 2022-05-09 16:42:23 UTC", "InactiveExitTimestampMonotonic": "72906077", "InvocationID": "03200fc0d72d4be0bcefac21d53263bd", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "18195", "MemoryAccounting": "yes", "MemoryCurrent": "27078656", "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 16:42:23 UTC", "StateChangeTimestampMonotonic": "73148390", "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": "3", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:42:23 UTC", "WatchdogTimestampMonotonic": "73148388", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:40 +0000 (0:00:00.515) 0:01:15.204 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:40 +0000 (0:00:00.035) 0:01:15.240 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:42 +0000 (0:00:01.246) 0:01:16.486 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:42 +0000 (0:00:00.033) 0:01:16.520 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:42 +0000 (0:00:00.244) 0:01:16.765 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:42 +0000 (0:00:00.036) 0:01:16.801 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:94 Monday 09 May 2022 16:42:42 +0000 (0:00:00.035) 0:01:16.836 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:99 Monday 09 May 2022 16:42:42 +0000 (0:00:00.017) 0:01:16.854 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:42:42 +0000 (0:00:00.056) 0:01:16.910 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:42:42 +0000 (0:00:00.020) 0:01:16.930 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:43 +0000 (0:00:00.482) 0:01:17.413 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:44 +0000 (0:00:01.722) 0:01:19.136 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:44 +0000 (0:00:00.020) 0:01:19.156 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:46 +0000 (0:00:01.694) 0:01:20.850 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:42:41 UTC", "ActiveEnterTimestampMonotonic": "91332598", "ActiveExitTimestamp": "Mon 2022-05-09 16:42:40 UTC", "ActiveExitTimestampMonotonic": "90405407", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:42:41 UTC", "AssertTimestampMonotonic": "91087262", "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 16:42:41 UTC", "ConditionTimestampMonotonic": "91087262", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "20446", "ExecMainStartTimestamp": "Mon 2022-05-09 16:42:41 UTC", "ExecMainStartTimestampMonotonic": "91088707", "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 16:42:41 UTC] ; stop_time=[n/a] ; pid=20446 ; 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 16:42:41 UTC", "InactiveEnterTimestampMonotonic": "91085582", "InactiveExitTimestamp": "Mon 2022-05-09 16:42:41 UTC", "InactiveExitTimestampMonotonic": "91088781", "InvocationID": "4138a2704ec445bc9d5fc27302b44cd1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "20446", "MemoryAccounting": "yes", "MemoryCurrent": "24920064", "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 16:42:41 UTC", "StateChangeTimestampMonotonic": "91332598", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:42:41 UTC", "WatchdogTimestampMonotonic": "91332596", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:46 +0000 (0:00:00.475) 0:01:21.326 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:46 +0000 (0:00:00.035) 0:01:21.361 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:47 +0000 (0:00:00.027) 0:01:21.389 ************ changed: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:47 +0000 (0:00:00.585) 0:01:21.974 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:47 +0000 (0:00:00.032) 0:01:22.006 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:47 +0000 (0:00:00.029) 0:01:22.035 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:107 Monday 09 May 2022 16:42:47 +0000 (0:00:00.032) 0:01:22.068 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:112 Monday 09 May 2022 16:42:47 +0000 (0:00:00.015) 0:01:22.084 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:42:47 +0000 (0:00:00.054) 0:01:22.139 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:42:47 +0000 (0:00:00.022) 0:01:22.161 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:42:48 +0000 (0:00:00.510) 0:01:22.672 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:42:49 +0000 (0:00:01.695) 0:01:24.367 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:42:50 +0000 (0:00:00.021) 0:01:24.388 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:42:51 +0000 (0:00:01.722) 0:01:26.111 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:42:41 UTC", "ActiveEnterTimestampMonotonic": "91332598", "ActiveExitTimestamp": "Mon 2022-05-09 16:42:40 UTC", "ActiveExitTimestampMonotonic": "90405407", "ActiveState": "active", "After": "polkit.service basic.target sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:42:41 UTC", "AssertTimestampMonotonic": "91087262", "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 16:42:41 UTC", "ConditionTimestampMonotonic": "91087262", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target iptables.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": "20446", "ExecMainStartTimestamp": "Mon 2022-05-09 16:42:41 UTC", "ExecMainStartTimestampMonotonic": "91088707", "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 16:42:41 UTC] ; stop_time=[n/a] ; pid=20446 ; 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 16:42:41 UTC", "InactiveEnterTimestampMonotonic": "91085582", "InactiveExitTimestamp": "Mon 2022-05-09 16:42:41 UTC", "InactiveExitTimestampMonotonic": "91088781", "InvocationID": "4138a2704ec445bc9d5fc27302b44cd1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "20446", "MemoryAccounting": "yes", "MemoryCurrent": "25907200", "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 16:42:41 UTC", "StateChangeTimestampMonotonic": "91332598", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:42:41 UTC", "WatchdogTimestampMonotonic": "91332596", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:42:52 +0000 (0:00:00.502) 0:01:26.613 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:42:52 +0000 (0:00:00.037) 0:01:26.651 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:42:52 +0000 (0:00:00.028) 0:01:26.679 ************ ok: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:42:52 +0000 (0:00:00.560) 0:01:27.239 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:42:52 +0000 (0:00:00.028) 0:01:27.268 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:42:52 +0000 (0:00:00.028) 0:01:27.296 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_purge_config.yml:120 Monday 09 May 2022 16:42:52 +0000 (0:00:00.030) 0:01:27.327 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=72 changed=7 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Monday 09 May 2022 16:42:52 +0000 (0:00:00.019) 0:01:27.347 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 19.29s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.95s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.27s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.96s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.86s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.84s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.81s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.80s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.76s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.75s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.73s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.72s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.72s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.72s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.72s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.70s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.70s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.70s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.69s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.68s /tmp/tmpxxphu42z/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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:43:13 +0000 (0:00:00.012) 0:00:00.012 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.366172", "end": "2022-05-09 16:43:12.904801", "rc": 0, "start": "2022-05-09 16:43:12.538629" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:43:14 +0000 (0:00:00.984) 0:00:00.996 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:1 Monday 09 May 2022 16:43:14 +0000 (0:00:00.007) 0:00:01.004 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:3 Monday 09 May 2022 16:43:15 +0000 (0:00:01.053) 0:00:02.058 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:43:15 +0000 (0:00:00.031) 0:00:02.089 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:43:15 +0000 (0:00:00.023) 0:00:02.113 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:43:15 +0000 (0:00:00.510) 0:00:02.623 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:43:35 +0000 (0:00:19.486) 0:00:22.110 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:43:35 +0000 (0:00:00.023) 0:00:22.133 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:43:36 +0000 (0:00:01.720) 0:00:23.854 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service sysinit.target dbus.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ipset.service ip6tables.service iptables.service ebtables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:43:37 +0000 (0:00:01.040) 0:00:24.894 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:43:37 +0000 (0:00:00.040) 0:00:24.935 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:43:38 +0000 (0:00:00.032) 0:00:24.967 ************ ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:43:39 +0000 (0:00:01.735) 0:00:26.703 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:43:39 +0000 (0:00:00.029) 0:00:26.732 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:43:39 +0000 (0:00:00.029) 0:00:26.762 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:15 Monday 09 May 2022 16:43:39 +0000 (0:00:00.035) 0:00:26.798 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.248850", "end": "2022-05-09 16:43:39.314547", "rc": 0, "start": "2022-05-09 16:43:39.065697" } 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/tmpvn_24m8k/tests/firewall/tests_target.yml:20 Monday 09 May 2022 16:43:40 +0000 (0:00:00.605) 0:00:27.404 ************ ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:26 Monday 09 May 2022 16:43:40 +0000 (0:00:00.022) 0:00:27.426 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:43:40 +0000 (0:00:00.032) 0:00:27.458 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:43:40 +0000 (0:00:00.021) 0:00:27.480 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:43:41 +0000 (0:00:00.515) 0:00:27.996 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:43:42 +0000 (0:00:01.773) 0:00:29.770 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:43:42 +0000 (0:00:00.020) 0:00:29.791 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:43:44 +0000 (0:00:01.740) 0:00:31.531 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:43:36 UTC", "ActiveEnterTimestampMonotonic": "39626302", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service sysinit.target dbus.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:43:36 UTC", "AssertTimestampMonotonic": "39375721", "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 16:43:36 UTC", "ConditionTimestampMonotonic": "39375721", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ipset.service ip6tables.service iptables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12050", "ExecMainStartTimestamp": "Mon 2022-05-09 16:43:36 UTC", "ExecMainStartTimestampMonotonic": "39376687", "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 16:43:36 UTC] ; stop_time=[n/a] ; pid=12050 ; 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 16:43:36 UTC", "InactiveExitTimestampMonotonic": "39376719", "InvocationID": "3236151c1e5d490680452b9b39356414", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "12050", "MemoryAccounting": "yes", "MemoryCurrent": "29155328", "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 16:43:36 UTC", "StateChangeTimestampMonotonic": "39626302", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:43:36 UTC", "WatchdogTimestampMonotonic": "39626299", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:43:45 +0000 (0:00:00.505) 0:00:32.036 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:43:45 +0000 (0:00:00.039) 0:00:32.076 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:43:45 +0000 (0:00:00.030) 0:00:32.107 ************ changed: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:43:46 +0000 (0:00:01.081) 0:00:33.188 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:43:46 +0000 (0:00:00.030) 0:00:33.219 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:43:46 +0000 (0:00:00.031) 0:00:33.251 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:35 Monday 09 May 2022 16:43:46 +0000 (0:00:00.030) 0:00:33.281 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.252510", "end": "2022-05-09 16:43:45.801959", "rc": 0, "start": "2022-05-09 16:43:45.549449" } 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/tmpvn_24m8k/tests/firewall/tests_target.yml:40 Monday 09 May 2022 16:43:46 +0000 (0:00:00.609) 0:00:33.891 ************ ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=20 changed=5 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Monday 09 May 2022 16:43:46 +0000 (0:00:00.024) 0:00:33.916 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 19.49s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.77s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.74s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.74s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.72s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.08s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:1 ---------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.04s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:6 --------------------------------------------------- Get target setting ------------------------------------------------------ 0.61s /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:35 --------------------------- Get target setting ------------------------------------------------------ 0.61s /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:15 --------------------------- fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.52s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.51s /tmp/tmpxxphu42z/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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.04s /tmp/tmpxxphu42z/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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.04s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Call role to reset target settings -------------------------------------- 0.03s /tmp/tmpvn_24m8k/tests/firewall/tests_target.yml:26 --------------------------- fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Calculate what has changed --------- 0.03s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 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/tmpxxphu42z 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Monday 09 May 2022 16:44:08 +0000 (0:00:00.012) 0:00:00.012 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.395081", "end": "2022-05-09 16:44:07.989830", "rc": 0, "start": "2022-05-09 16:44:07.594749" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 09 May 2022 16:44:09 +0000 (0:00:01.030) 0:00:01.042 ************ =============================================================================== Enable HA repos --------------------------------------------------------- 1.03s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:1 Monday 09 May 2022 16:44:09 +0000 (0:00:00.012) 0:00:01.054 ************ ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.firewall] *********************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:6 Monday 09 May 2022 16:44:10 +0000 (0:00:01.068) 0:00:02.122 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:44:10 +0000 (0:00:00.031) 0:00:02.153 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:44:10 +0000 (0:00:00.025) 0:00:02.179 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:44:10 +0000 (0:00:00.518) 0:00:02.698 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-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: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:44:30 +0000 (0:00:19.462) 0:00:22.160 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:44:30 +0000 (0:00:00.026) 0:00:22.187 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:44:32 +0000 (0:00:01.850) 0:00:24.037 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service sysinit.target basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ip6tables.service iptables.service nftables.service ipset.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:44:33 +0000 (0:00:01.103) 0:00:25.141 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:44:33 +0000 (0:00:00.038) 0:00:25.179 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:44:33 +0000 (0:00:00.032) 0:00:25.212 ************ TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:44:33 +0000 (0:00:00.034) 0:00:25.246 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:44:33 +0000 (0:00:00.038) 0:00:25.285 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:44:33 +0000 (0:00:00.033) 0:00:25.318 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:14 Monday 09 May 2022 16:44:33 +0000 (0:00:00.040) 0:00:25.359 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:44:33 +0000 (0:00:00.050) 0:00:25.409 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:44:33 +0000 (0:00:00.050) 0:00:25.460 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:44:34 +0000 (0:00:00.549) 0:00:26.009 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:44:36 +0000 (0:00:01.875) 0:00:27.884 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:44:36 +0000 (0:00:00.036) 0:00:27.921 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:44:37 +0000 (0:00:01.854) 0:00:29.775 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:44:32 UTC", "ActiveEnterTimestampMonotonic": "39876326", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service sysinit.target basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:44:31 UTC", "AssertTimestampMonotonic": "39607706", "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 16:44:31 UTC", "ConditionTimestampMonotonic": "39607706", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ip6tables.service iptables.service nftables.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": "11795", "ExecMainStartTimestamp": "Mon 2022-05-09 16:44:31 UTC", "ExecMainStartTimestampMonotonic": "39609522", "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 16:44:31 UTC] ; stop_time=[n/a] ; pid=11795 ; 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 16:44:31 UTC", "InactiveExitTimestampMonotonic": "39609587", "InvocationID": "8d572c7a24fa4de5bc74c51d1e4dd808", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11795", "MemoryAccounting": "yes", "MemoryCurrent": "27004928", "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 16:44:32 UTC", "StateChangeTimestampMonotonic": "39876326", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:44:32 UTC", "WatchdogTimestampMonotonic": "39876320", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:44:38 +0000 (0:00:00.528) 0:00:30.304 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:44:38 +0000 (0:00:00.041) 0:00:30.346 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:44:38 +0000 (0:00:00.032) 0:00:30.378 ************ ok: [/cache/centos-8.qcow2] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/centos-8.qcow2] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:44:40 +0000 (0:00:01.836) 0:00:32.214 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:44:40 +0000 (0:00:00.033) 0:00:32.248 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:44:40 +0000 (0:00:00.031) 0:00:32.279 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Fail on missing zones] *************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:26 Monday 09 May 2022 16:44:40 +0000 (0:00:00.036) 0:00:32.316 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:32 Monday 09 May 2022 16:44:40 +0000 (0:00:00.034) 0:00:32.351 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:44:40 +0000 (0:00:00.080) 0:00:32.431 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:44:40 +0000 (0:00:00.039) 0:00:32.471 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:44:41 +0000 (0:00:00.543) 0:00:33.015 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:44:42 +0000 (0:00:01.788) 0:00:34.803 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:44:42 +0000 (0:00:00.034) 0:00:34.837 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:44:44 +0000 (0:00:01.767) 0:00:36.605 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:44:32 UTC", "ActiveEnterTimestampMonotonic": "39876326", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service sysinit.target basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:44:31 UTC", "AssertTimestampMonotonic": "39607706", "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 16:44:31 UTC", "ConditionTimestampMonotonic": "39607706", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ip6tables.service iptables.service nftables.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": "11795", "ExecMainStartTimestamp": "Mon 2022-05-09 16:44:31 UTC", "ExecMainStartTimestampMonotonic": "39609522", "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 16:44:31 UTC] ; stop_time=[n/a] ; pid=11795 ; 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 16:44:31 UTC", "InactiveExitTimestampMonotonic": "39609587", "InvocationID": "8d572c7a24fa4de5bc74c51d1e4dd808", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11795", "MemoryAccounting": "yes", "MemoryCurrent": "28000256", "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 16:44:32 UTC", "StateChangeTimestampMonotonic": "39876326", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:44:32 UTC", "WatchdogTimestampMonotonic": "39876320", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:44:45 +0000 (0:00:00.530) 0:00:37.135 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:44:45 +0000 (0:00:00.037) 0:00:37.173 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml 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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:44:46 +0000 (0:00:01.033) 0:00:38.207 ************ ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:44:50 +0000 (0:00:03.809) 0:00:42.017 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:44:50 +0000 (0:00:00.300) 0:00:42.317 ************ changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:44:50 +0000 (0:00:00.040) 0:00:42.358 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:60 Monday 09 May 2022 16:44:50 +0000 (0:00:00.036) 0:00:42.394 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:66 Monday 09 May 2022 16:44:50 +0000 (0:00:00.030) 0:00:42.425 ************ TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Monday 09 May 2022 16:44:50 +0000 (0:00:00.048) 0:00:42.473 ************ included: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 09 May 2022 16:44:50 +0000 (0:00:00.039) 0:00:42.512 ************ ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Monday 09 May 2022 16:44:51 +0000 (0:00:00.524) 0:00:43.037 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Monday 09 May 2022 16:44:52 +0000 (0:00:01.731) 0:00:44.769 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Monday 09 May 2022 16:44:52 +0000 (0:00:00.033) 0:00:44.802 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Monday 09 May 2022 16:44:54 +0000 (0:00:01.762) 0:00:46.565 ************ ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-09 16:44:45 UTC", "ActiveEnterTimestampMonotonic": "52975153", "ActiveExitTimestamp": "Mon 2022-05-09 16:44:44 UTC", "ActiveExitTimestampMonotonic": "52253966", "ActiveState": "active", "After": "polkit.service sysinit.target basic.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-09 16:44:44 UTC", "AssertTimestampMonotonic": "52720420", "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 16:44:44 UTC", "ConditionTimestampMonotonic": "52720419", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ip6tables.service iptables.service nftables.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": "15609", "ExecMainStartTimestamp": "Mon 2022-05-09 16:44:44 UTC", "ExecMainStartTimestampMonotonic": "52721672", "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 16:44:44 UTC] ; stop_time=[n/a] ; pid=15609 ; 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 16:44:44 UTC", "InactiveEnterTimestampMonotonic": "52719380", "InactiveExitTimestamp": "Mon 2022-05-09 16:44:44 UTC", "InactiveExitTimestampMonotonic": "52721720", "InvocationID": "0d3ecc49468049f7bdb78ade48dd5bbc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15609", "MemoryAccounting": "yes", "MemoryCurrent": "27119616", "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 16:44:45 UTC", "StateChangeTimestampMonotonic": "52975153", "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": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2022-05-09 16:44:45 UTC", "WatchdogTimestampMonotonic": "52975151", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 09 May 2022 16:44:55 +0000 (0:00:00.533) 0:00:47.099 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Monday 09 May 2022 16:44:55 +0000 (0:00:00.039) 0:00:47.138 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Monday 09 May 2022 16:44:56 +0000 (0:00:01.053) 0:00:48.191 ************ ok: [/cache/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/centos-8.qcow2] => (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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:66 Monday 09 May 2022 16:45:00 +0000 (0:00:03.798) 0:00:51.990 ************ ok: [/cache/centos-8.qcow2] => { "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/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Monday 09 May 2022 16:45:00 +0000 (0:00:00.309) 0:00:52.299 ************ ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:80 Monday 09 May 2022 16:45:00 +0000 (0:00:00.045) 0:00:52.345 ************ skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Fail on newly changes] *************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:94 Monday 09 May 2022 16:45:00 +0000 (0:00:00.042) 0:00:52.388 ************ skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:100 Monday 09 May 2022 16:45:00 +0000 (0:00:00.030) 0:00:52.419 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.275236", "end": "2022-05-09 16:45:00.016127", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:44:59.740891" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:105 Monday 09 May 2022 16:45:01 +0000 (0:00:00.651) 0:00:53.070 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.269864", "end": "2022-05-09 16:45:00.682590", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:45:00.412726" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:110 Monday 09 May 2022 16:45:01 +0000 (0:00:00.667) 0:00:53.737 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.267993", "end": "2022-05-09 16:45:01.345000", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:45:01.077007" } 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/tmpvn_24m8k/tests/firewall/tests_zone.yml:115 Monday 09 May 2022 16:45:02 +0000 (0:00:00.661) 0:00:54.399 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.264148", "end": "2022-05-09 16:45:02.000618", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:45:01.736470" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:120 Monday 09 May 2022 16:45:03 +0000 (0:00:00.664) 0:00:55.063 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.256924", "end": "2022-05-09 16:45:02.652975", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:45:02.396051" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:125 Monday 09 May 2022 16:45:03 +0000 (0:00:00.654) 0:00:55.718 ************ changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.256288", "end": "2022-05-09 16:45:03.301907", "failed_when_result": false, "rc": 0, "start": "2022-05-09 16:45:03.045619" } STDOUT: yes TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:133 Monday 09 May 2022 16:45:04 +0000 (0:00:00.639) 0:00:56.357 ************ changed: [/cache/centos-8.qcow2] => { "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.484904", "end": "2022-05-09 16:45:05.160352", "rc": 0, "start": "2022-05-09 16:45:03.675448" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=42 changed=11 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Monday 09 May 2022 16:45:06 +0000 (0:00:01.857) 0:00:58.215 ************ =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 19.46s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.80s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.88s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Reset to zone defaults -------------------------------------------------- 1.86s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:133 ---------------------------- fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.85s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.85s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.84s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.79s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.77s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.76s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.73s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.10s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:1 ------------------------------ fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.05s /tmp/tmpxxphu42z/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Enable HA repos --------------------------------------------------------- 1.03s /cache/centos-8_setup.yml:6 --------------------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.67s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:105 ---------------------------- Verify custom zone has masquerade added to it --------------------------- 0.66s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:115 ---------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.66s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:110 ---------------------------- Verify custom zone has masquerade added to it --------------------------- 0.65s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:120 ---------------------------- Verify firewalld zone internal services --------------------------------- 0.65s /tmp/tmpvn_24m8k/tests/firewall/tests_zone.yml:100 ----------------------------