ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpa2uqfu7l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-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:5 Wednesday 27 July 2022 00:54:20 +0000 (0:00:00.019) 0:00:00.019 ******** 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.191606", "end": "2022-07-27 00:54:21.044490", "rc": 0, "start": "2022-07-27 00:54:20.852884" } 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 Wednesday 27 July 2022 00:54:21 +0000 (0:00:00.773) 0:00:00.793 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmpix2ig0ra/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:1 Wednesday 27 July 2022 00:54:21 +0000 (0:00:00.017) 0:00:00.810 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:26 Wednesday 27 July 2022 00:54:22 +0000 (0:00:01.034) 0:00:01.844 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:54:22 +0000 (0:00:00.041) 0:00:01.885 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:54:22 +0000 (0:00:00.028) 0:00:01.914 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:54:22 +0000 (0:00:00.502) 0:00:02.417 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:54:25 +0000 (0:00:02.198) 0:00:04.616 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:54:25 +0000 (0:00:00.025) 0:00:04.641 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:54:26 +0000 (0:00:01.796) 0:00:06.437 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:54:19 UTC", "ActiveEnterTimestampMonotonic": "223802943", "ActiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ActiveExitTimestampMonotonic": "223090089", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:54:18 UTC", "AssertTimestampMonotonic": "223563546", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ConditionTimestampMonotonic": "223563546", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29934", "ExecMainStartTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ExecMainStartTimestampMonotonic": "223564664", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:54:18 UTC] ; stop_time=[n/a] ; pid=29934 ; 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": "Wed 2022-07-27 00:54:18 UTC", "InactiveEnterTimestampMonotonic": "223562516", "InactiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "InactiveExitTimestampMonotonic": "223564733", "InvocationID": "932c8ba56e26458296da9759f87084a3", "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": "29934", "MemoryAccounting": "yes", "MemoryCurrent": "24936448", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:54:19 UTC", "StateChangeTimestampMonotonic": "223802943", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:54:19 UTC", "WatchdogTimestampMonotonic": "223802941", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:54:27 +0000 (0:00:00.749) 0:00:07.187 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:54:27 +0000 (0:00:00.046) 0:00:07.233 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:54:27 +0000 (0:00:00.239) 0:00:07.473 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:54:27 +0000 (0:00:00.039) 0:00:07.512 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.041) 0:00:07.554 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.037) 0:00:07.591 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.031) 0:00:07.622 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.031) 0:00:07.654 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.254) 0:00:07.908 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.046) 0:00:07.955 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Run the role with no config] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:33 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.040) 0:00:07.996 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.043) 0:00:08.039 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:54:28 +0000 (0:00:00.025) 0:00:08.065 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:54:29 +0000 (0:00:00.548) 0:00:08.614 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:54:30 +0000 (0:00:01.873) 0:00:10.488 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:54:30 +0000 (0:00:00.023) 0:00:10.511 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:54:32 +0000 (0:00:01.869) 0:00:12.381 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:54:19 UTC", "ActiveEnterTimestampMonotonic": "223802943", "ActiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ActiveExitTimestampMonotonic": "223090089", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:54:18 UTC", "AssertTimestampMonotonic": "223563546", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ConditionTimestampMonotonic": "223563546", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29934", "ExecMainStartTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ExecMainStartTimestampMonotonic": "223564664", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:54:18 UTC] ; stop_time=[n/a] ; pid=29934 ; 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": "Wed 2022-07-27 00:54:18 UTC", "InactiveEnterTimestampMonotonic": "223562516", "InactiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "InactiveExitTimestampMonotonic": "223564733", "InvocationID": "932c8ba56e26458296da9759f87084a3", "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": "29934", "MemoryAccounting": "yes", "MemoryCurrent": "24936448", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:54:19 UTC", "StateChangeTimestampMonotonic": "223802943", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:54:19 UTC", "WatchdogTimestampMonotonic": "223802941", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:54:33 +0000 (0:00:00.515) 0:00:12.896 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:54:33 +0000 (0:00:00.045) 0:00:12.942 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:54:33 +0000 (0:00:00.032) 0:00:12.974 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:54:33 +0000 (0:00:00.034) 0:00:13.009 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:54:33 +0000 (0:00:00.033) 0:00:13.042 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:54:33 +0000 (0:00:00.032) 0:00:13.075 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.645) 0:00:13.720 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.051) 0:00:13.772 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.033) 0:00:13.806 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.030) 0:00:13.836 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:37 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.036) 0:00:13.873 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:42 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.018) 0:00:13.891 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.049) 0:00:13.941 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.026) 0:00:13.967 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:54:34 +0000 (0:00:00.513) 0:00:14.480 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:54:36 +0000 (0:00:01.803) 0:00:16.284 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:54:36 +0000 (0:00:00.023) 0:00:16.308 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:54:38 +0000 (0:00:01.821) 0:00:18.129 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:54:19 UTC", "ActiveEnterTimestampMonotonic": "223802943", "ActiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ActiveExitTimestampMonotonic": "223090089", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:54:18 UTC", "AssertTimestampMonotonic": "223563546", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ConditionTimestampMonotonic": "223563546", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29934", "ExecMainStartTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ExecMainStartTimestampMonotonic": "223564664", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:54:18 UTC] ; stop_time=[n/a] ; pid=29934 ; 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": "Wed 2022-07-27 00:54:18 UTC", "InactiveEnterTimestampMonotonic": "223562516", "InactiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "InactiveExitTimestampMonotonic": "223564733", "InvocationID": "932c8ba56e26458296da9759f87084a3", "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": "29934", "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 sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:54:19 UTC", "StateChangeTimestampMonotonic": "223802943", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:54:19 UTC", "WatchdogTimestampMonotonic": "223802941", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:54:39 +0000 (0:00:00.495) 0:00:18.624 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:54:39 +0000 (0:00:00.047) 0:00:18.672 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:54:39 +0000 (0:00:00.032) 0:00:18.705 ******** 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}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } 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 : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:54:43 +0000 (0:00:04.034) 0:00:22.740 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.071) 0:00:22.811 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.036) 0:00:22.847 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.032) 0:00:22.880 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.035) 0:00:22.915 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.032) 0:00:22.948 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.032) 0:00:22.980 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:48 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.037) 0:00:23.018 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:53 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.021) 0:00:23.040 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.050) 0:00:23.090 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:54:43 +0000 (0:00:00.027) 0:00:23.118 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:54:44 +0000 (0:00:00.534) 0:00:23.652 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:54:45 +0000 (0:00:01.820) 0:00:25.473 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:54:45 +0000 (0:00:00.025) 0:00:25.499 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:54:47 +0000 (0:00:01.839) 0:00:27.338 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:54:19 UTC", "ActiveEnterTimestampMonotonic": "223802943", "ActiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ActiveExitTimestampMonotonic": "223090089", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:54:18 UTC", "AssertTimestampMonotonic": "223563546", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ConditionTimestampMonotonic": "223563546", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29934", "ExecMainStartTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ExecMainStartTimestampMonotonic": "223564664", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:54:18 UTC] ; stop_time=[n/a] ; pid=29934 ; 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": "Wed 2022-07-27 00:54:18 UTC", "InactiveEnterTimestampMonotonic": "223562516", "InactiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "InactiveExitTimestampMonotonic": "223564733", "InvocationID": "932c8ba56e26458296da9759f87084a3", "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": "29934", "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": "Wed 2022-07-27 00:54:19 UTC", "StateChangeTimestampMonotonic": "223802943", "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": "Wed 2022-07-27 00:54:19 UTC", "WatchdogTimestampMonotonic": "223802941", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:54:48 +0000 (0:00:00.501) 0:00:27.839 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:54:48 +0000 (0:00:00.048) 0:00:27.888 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:54:48 +0000 (0:00:00.032) 0:00:27.920 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:54:51 +0000 (0:00:03.302) 0:00:31.222 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.072) 0:00:31.295 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.036) 0:00:31.331 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.033) 0:00:31.364 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.034) 0:00:31.399 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.032) 0:00:31.432 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.035) 0:00:31.467 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:59 Wednesday 27 July 2022 00:54:51 +0000 (0:00:00.041) 0:00:31.508 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:64 Wednesday 27 July 2022 00:54:52 +0000 (0:00:00.020) 0:00:31.529 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:54:52 +0000 (0:00:00.060) 0:00:31.589 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:54:52 +0000 (0:00:00.026) 0:00:31.616 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:54:52 +0000 (0:00:00.507) 0:00:32.123 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:54:54 +0000 (0:00:01.937) 0:00:34.061 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:54:54 +0000 (0:00:00.027) 0:00:34.088 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:54:56 +0000 (0:00:01.784) 0:00:35.873 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:54:19 UTC", "ActiveEnterTimestampMonotonic": "223802943", "ActiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ActiveExitTimestampMonotonic": "223090089", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:54:18 UTC", "AssertTimestampMonotonic": "223563546", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ConditionTimestampMonotonic": "223563546", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29934", "ExecMainStartTimestamp": "Wed 2022-07-27 00:54:18 UTC", "ExecMainStartTimestampMonotonic": "223564664", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:54:18 UTC] ; stop_time=[n/a] ; pid=29934 ; 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": "Wed 2022-07-27 00:54:18 UTC", "InactiveEnterTimestampMonotonic": "223562516", "InactiveExitTimestamp": "Wed 2022-07-27 00:54:18 UTC", "InactiveExitTimestampMonotonic": "223564733", "InvocationID": "932c8ba56e26458296da9759f87084a3", "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": "29934", "MemoryAccounting": "yes", "MemoryCurrent": "27590656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:54:19 UTC", "StateChangeTimestampMonotonic": "223802943", "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": "Wed 2022-07-27 00:54:19 UTC", "WatchdogTimestampMonotonic": "223802941", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:54:56 +0000 (0:00:00.504) 0:00:36.377 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:54:56 +0000 (0:00:00.050) 0:00:36.428 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:54:58 +0000 (0:00:01.096) 0:00:37.525 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:01 +0000 (0:00:03.884) 0:00:41.409 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:01 +0000 (0:00:00.082) 0:00:41.491 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.037) 0:00:41.528 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.035) 0:00:41.564 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.033) 0:00:41.598 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.331) 0:00:41.929 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.074) 0:00:42.003 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:70 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.042) 0:00:42.045 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:75 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.019) 0:00:42.065 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.061) 0:00:42.126 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:02 +0000 (0:00:00.056) 0:00:42.182 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:03 +0000 (0:00:00.522) 0:00:42.705 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:05 +0000 (0:00:01.819) 0:00:44.524 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:05 +0000 (0:00:00.024) 0:00:44.549 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:06 +0000 (0:00:01.916) 0:00:46.466 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:54:57 UTC", "ActiveEnterTimestampMonotonic": "262429349", "ActiveExitTimestamp": "Wed 2022-07-27 00:54:57 UTC", "ActiveExitTimestampMonotonic": "261658419", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:54:57 UTC", "AssertTimestampMonotonic": "262192308", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:54:57 UTC", "ConditionTimestampMonotonic": "262192308", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "33836", "ExecMainStartTimestamp": "Wed 2022-07-27 00:54:57 UTC", "ExecMainStartTimestampMonotonic": "262193404", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:54:57 UTC] ; stop_time=[n/a] ; pid=33836 ; 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": "Wed 2022-07-27 00:54:57 UTC", "InactiveEnterTimestampMonotonic": "262191436", "InactiveExitTimestamp": "Wed 2022-07-27 00:54:57 UTC", "InactiveExitTimestampMonotonic": "262193443", "InvocationID": "c2e506b39da14de99623ba351a3e9555", "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": "33836", "MemoryAccounting": "yes", "MemoryCurrent": "27111424", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:54:57 UTC", "StateChangeTimestampMonotonic": "262429349", "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": "Wed 2022-07-27 00:54:57 UTC", "WatchdogTimestampMonotonic": "262429348", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:07 +0000 (0:00:00.512) 0:00:46.978 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:07 +0000 (0:00:00.048) 0:00:47.026 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:08 +0000 (0:00:01.220) 0:00:48.247 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:12 +0000 (0:00:04.004) 0:00:52.252 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:12 +0000 (0:00:00.076) 0:00:52.328 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:12 +0000 (0:00:00.036) 0:00:52.365 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:12 +0000 (0:00:00.032) 0:00:52.398 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:12 +0000 (0:00:00.034) 0:00:52.433 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.306) 0:00:52.739 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.046) 0:00:52.786 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:81 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.041) 0:00:52.827 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:86 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.020) 0:00:52.847 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.068) 0:00:52.916 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.027) 0:00:52.943 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:13 +0000 (0:00:00.551) 0:00:53.494 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:15 +0000 (0:00:01.816) 0:00:55.311 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:15 +0000 (0:00:00.026) 0:00:55.337 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:17 +0000 (0:00:01.825) 0:00:57.162 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:55:08 UTC", "ActiveEnterTimestampMonotonic": "273150575", "ActiveExitTimestamp": "Wed 2022-07-27 00:55:07 UTC", "ActiveExitTimestampMonotonic": "272247061", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:55:08 UTC", "AssertTimestampMonotonic": "272913525", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:55:08 UTC", "ConditionTimestampMonotonic": "272913525", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35121", "ExecMainStartTimestamp": "Wed 2022-07-27 00:55:08 UTC", "ExecMainStartTimestampMonotonic": "272914674", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:55:08 UTC] ; stop_time=[n/a] ; pid=35121 ; 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": "Wed 2022-07-27 00:55:08 UTC", "InactiveEnterTimestampMonotonic": "272912625", "InactiveExitTimestamp": "Wed 2022-07-27 00:55:08 UTC", "InactiveExitTimestampMonotonic": "272914743", "InvocationID": "eb4534435b324a658c28962e1af2cdb0", "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": "35121", "MemoryAccounting": "yes", "MemoryCurrent": "29204480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:55:08 UTC", "StateChangeTimestampMonotonic": "273150575", "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": "Wed 2022-07-27 00:55:08 UTC", "WatchdogTimestampMonotonic": "273150574", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:18 +0000 (0:00:00.510) 0:00:57.673 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:18 +0000 (0:00:00.078) 0:00:57.752 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:18 +0000 (0:00:00.033) 0:00:57.785 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:21 +0000 (0:00:03.355) 0:01:01.140 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.075) 0:01:01.215 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.037) 0:01:01.253 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.034) 0:01:01.287 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.033) 0:01:01.321 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.031) 0:01:01.353 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.032) 0:01:01.386 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:92 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.038) 0:01:01.424 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:97 Wednesday 27 July 2022 00:55:21 +0000 (0:00:00.020) 0:01:01.445 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:22 +0000 (0:00:00.082) 0:01:01.527 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:22 +0000 (0:00:00.031) 0:01:01.559 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:22 +0000 (0:00:00.509) 0:01:02.068 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:24 +0000 (0:00:01.888) 0:01:03.956 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:24 +0000 (0:00:00.026) 0:01:03.983 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:26 +0000 (0:00:01.793) 0:01:05.777 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:55:08 UTC", "ActiveEnterTimestampMonotonic": "273150575", "ActiveExitTimestamp": "Wed 2022-07-27 00:55:07 UTC", "ActiveExitTimestampMonotonic": "272247061", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:55:08 UTC", "AssertTimestampMonotonic": "272913525", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:55:08 UTC", "ConditionTimestampMonotonic": "272913525", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35121", "ExecMainStartTimestamp": "Wed 2022-07-27 00:55:08 UTC", "ExecMainStartTimestampMonotonic": "272914674", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:55:08 UTC] ; stop_time=[n/a] ; pid=35121 ; 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": "Wed 2022-07-27 00:55:08 UTC", "InactiveEnterTimestampMonotonic": "272912625", "InactiveExitTimestamp": "Wed 2022-07-27 00:55:08 UTC", "InactiveExitTimestampMonotonic": "272914743", "InvocationID": "eb4534435b324a658c28962e1af2cdb0", "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": "35121", "MemoryAccounting": "yes", "MemoryCurrent": "29179904", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:55:08 UTC", "StateChangeTimestampMonotonic": "273150575", "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": "Wed 2022-07-27 00:55:08 UTC", "WatchdogTimestampMonotonic": "273150574", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:26 +0000 (0:00:00.504) 0:01:06.281 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:26 +0000 (0:00:00.047) 0:01:06.329 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:27 +0000 (0:00:01.090) 0:01:07.419 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:27 +0000 (0:00:00.037) 0:01:07.457 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:27 +0000 (0:00:00.032) 0:01:07.489 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.035) 0:01:07.525 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.033) 0:01:07.558 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.032) 0:01:07.591 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.291) 0:01:07.882 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.080) 0:01:07.963 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:104 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.040) 0:01:08.003 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:109 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.020) 0:01:08.024 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.118) 0:01:08.142 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:28 +0000 (0:00:00.027) 0:01:08.169 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:29 +0000 (0:00:00.517) 0:01:08.687 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:30 +0000 (0:00:01.793) 0:01:10.480 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:30 +0000 (0:00:00.025) 0:01:10.506 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:32 +0000 (0:00:01.802) 0:01:12.308 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ActiveEnterTimestampMonotonic": "292318736", "ActiveExitTimestamp": "Wed 2022-07-27 00:55:26 UTC", "ActiveExitTimestampMonotonic": "291556723", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:55:27 UTC", "AssertTimestampMonotonic": "292081545", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ConditionTimestampMonotonic": "292081545", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37370", "ExecMainStartTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ExecMainStartTimestampMonotonic": "292082640", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:55:27 UTC] ; stop_time=[n/a] ; pid=37370 ; 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": "Wed 2022-07-27 00:55:27 UTC", "InactiveEnterTimestampMonotonic": "292080657", "InactiveExitTimestamp": "Wed 2022-07-27 00:55:27 UTC", "InactiveExitTimestampMonotonic": "292082678", "InvocationID": "4c7cae565a8346f0a6109b6a94a179b9", "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": "37370", "MemoryAccounting": "yes", "MemoryCurrent": "24948736", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:55:27 UTC", "StateChangeTimestampMonotonic": "292318736", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:55:27 UTC", "WatchdogTimestampMonotonic": "292318734", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:33 +0000 (0:00:00.502) 0:01:12.811 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:33 +0000 (0:00:00.045) 0:01:12.856 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:33 +0000 (0:00:00.033) 0:01:12.890 ******** changed: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:33 +0000 (0:00:00.618) 0:01:13.509 ******** skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.046) 0:01:13.555 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.038) 0:01:13.593 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.031) 0:01:13.625 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.032) 0:01:13.658 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.033) 0:01:13.691 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.031) 0:01:13.722 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:116 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.038) 0:01:13.760 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:121 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.020) 0:01:13.780 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.093) 0:01:13.874 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.028) 0:01:13.902 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:34 +0000 (0:00:00.507) 0:01:14.410 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:36 +0000 (0:00:01.811) 0:01:16.221 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:36 +0000 (0:00:00.027) 0:01:16.248 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:38 +0000 (0:00:01.815) 0:01:18.064 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ActiveEnterTimestampMonotonic": "292318736", "ActiveExitTimestamp": "Wed 2022-07-27 00:55:26 UTC", "ActiveExitTimestampMonotonic": "291556723", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:55:27 UTC", "AssertTimestampMonotonic": "292081545", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ConditionTimestampMonotonic": "292081545", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37370", "ExecMainStartTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ExecMainStartTimestampMonotonic": "292082640", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:55:27 UTC] ; stop_time=[n/a] ; pid=37370 ; 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": "Wed 2022-07-27 00:55:27 UTC", "InactiveEnterTimestampMonotonic": "292080657", "InactiveExitTimestamp": "Wed 2022-07-27 00:55:27 UTC", "InactiveExitTimestampMonotonic": "292082678", "InvocationID": "4c7cae565a8346f0a6109b6a94a179b9", "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": "37370", "MemoryAccounting": "yes", "MemoryCurrent": "25952256", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:55:27 UTC", "StateChangeTimestampMonotonic": "292318736", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:55:27 UTC", "WatchdogTimestampMonotonic": "292318734", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.508) 0:01:18.573 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.097) 0:01:18.671 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.034) 0:01:18.705 ******** ok: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.624) 0:01:19.330 ******** skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.044) 0:01:19.374 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.037) 0:01:19.412 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.031) 0:01:19.444 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.032) 0:01:19.476 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:39 +0000 (0:00:00.030) 0:01:19.506 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:40 +0000 (0:00:00.033) 0:01:19.540 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:128 Wednesday 27 July 2022 00:55:40 +0000 (0:00:00.038) 0:01:19.578 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:133 Wednesday 27 July 2022 00:55:40 +0000 (0:00:00.019) 0:01:19.598 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:40 +0000 (0:00:00.137) 0:01:19.736 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:40 +0000 (0:00:00.028) 0:01:19.764 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:40 +0000 (0:00:00.535) 0:01:20.299 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:42 +0000 (0:00:01.939) 0:01:22.239 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:42 +0000 (0:00:00.025) 0:01:22.264 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:44 +0000 (0:00:01.774) 0:01:24.039 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ActiveEnterTimestampMonotonic": "292318736", "ActiveExitTimestamp": "Wed 2022-07-27 00:55:26 UTC", "ActiveExitTimestampMonotonic": "291556723", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:55:27 UTC", "AssertTimestampMonotonic": "292081545", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ConditionTimestampMonotonic": "292081545", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37370", "ExecMainStartTimestamp": "Wed 2022-07-27 00:55:27 UTC", "ExecMainStartTimestampMonotonic": "292082640", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:55:27 UTC] ; stop_time=[n/a] ; pid=37370 ; 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": "Wed 2022-07-27 00:55:27 UTC", "InactiveEnterTimestampMonotonic": "292080657", "InactiveExitTimestamp": "Wed 2022-07-27 00:55:27 UTC", "InactiveExitTimestampMonotonic": "292082678", "InvocationID": "4c7cae565a8346f0a6109b6a94a179b9", "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": "37370", "MemoryAccounting": "yes", "MemoryCurrent": "26157056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:55:27 UTC", "StateChangeTimestampMonotonic": "292318736", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:55:27 UTC", "WatchdogTimestampMonotonic": "292318734", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:45 +0000 (0:00:00.494) 0:01:24.534 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:45 +0000 (0:00:00.047) 0:01:24.581 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:46 +0000 (0:00:01.186) 0:01:25.768 ******** ok: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:46 +0000 (0:00:00.687) 0:01:26.456 ******** skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:46 +0000 (0:00:00.048) 0:01:26.504 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.040) 0:01:26.545 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.041) 0:01:26.586 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.035) 0:01:26.621 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.306) 0:01:26.927 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.047) 0:01:26.974 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:141 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.041) 0:01:27.015 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_purge_config.yml:146 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.020) 0:01:27.036 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.099) 0:01:27.135 ******** included: /tmp/tmpix2ig0ra/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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:55:47 +0000 (0:00:00.027) 0:01:27.163 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:55:48 +0000 (0:00:00.560) 0:01:27.723 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:55:49 +0000 (0:00:01.759) 0:01:29.482 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:55:49 +0000 (0:00:00.026) 0:01:29.508 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:55:51 +0000 (0:00:01.770) 0:01:31.278 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:55:46 UTC", "ActiveEnterTimestampMonotonic": "310670979", "ActiveExitTimestamp": "Wed 2022-07-27 00:55:45 UTC", "ActiveExitTimestampMonotonic": "309789586", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 00:55:45 UTC", "AssertTimestampMonotonic": "310431308", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-27 00:55:45 UTC", "ConditionTimestampMonotonic": "310431308", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "38998", "ExecMainStartTimestamp": "Wed 2022-07-27 00:55:45 UTC", "ExecMainStartTimestampMonotonic": "310432346", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 00:55:45 UTC] ; stop_time=[n/a] ; pid=38998 ; 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": "Wed 2022-07-27 00:55:45 UTC", "InactiveEnterTimestampMonotonic": "310430429", "InactiveExitTimestamp": "Wed 2022-07-27 00:55:45 UTC", "InactiveExitTimestampMonotonic": "310432381", "InvocationID": "cc485a05d06548a28cb1bf6256ae4a13", "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": "38998", "MemoryAccounting": "yes", "MemoryCurrent": "25939968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 00:55:46 UTC", "StateChangeTimestampMonotonic": "310670979", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 00:55:46 UTC", "WatchdogTimestampMonotonic": "310670977", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:55:52 +0000 (0:00:00.512) 0:01:31.791 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:55:52 +0000 (0:00:00.048) 0:01:31.839 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:55:53 +0000 (0:00:01.009) 0:01:32.848 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.033) 0:01:32.882 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.032) 0:01:32.914 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.036) 0:01:32.950 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.033) 0:01:32.984 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.032) 0:01:33.016 ******** 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/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.249) 0:01:33.265 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.046) 0:01:33.312 ******** 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=102 changed=5 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Wednesday 27 July 2022 00:55:53 +0000 (0:00:00.050) 0:01:33.362 ******** =============================================================================== linux-system-roles.firewall : Configure firewall ----------------------- 10.69s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 7.89s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 2.34s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 2.32s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Install firewalld ------------------------- 2.20s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.94s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.94s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.92s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.89s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.87s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.87s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.84s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.83s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.82s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.82s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.82s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.82s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.82s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.81s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.80s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpa2uqfu7l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-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:5 Wednesday 27 July 2022 01:01:56 +0000 (0:00:00.018) 0:00:00.018 ******** 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.195482", "end": "2022-07-27 01:01:56.872130", "rc": 0, "start": "2022-07-27 01:01:56.676648" } 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 Wednesday 27 July 2022 01:01:57 +0000 (0:00:00.793) 0:00:00.812 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:1 Wednesday 27 July 2022 01:01:57 +0000 (0:00:00.016) 0:00:00.828 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:24 Wednesday 27 July 2022 01:01:58 +0000 (0:00:01.048) 0:00:01.877 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:01:58 +0000 (0:00:00.045) 0:00:01.923 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:01:58 +0000 (0:00:00.029) 0:00:01.952 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:01:59 +0000 (0:00:00.516) 0:00:02.468 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:01 +0000 (0:00:02.417) 0:00:04.886 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:01 +0000 (0:00:00.040) 0:00:04.926 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:03 +0000 (0:00:01.971) 0:00:06.897 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveEnterTimestampMonotonic": "209756411", "ActiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveExitTimestampMonotonic": "209022793", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:01:54 UTC", "AssertTimestampMonotonic": "209511524", "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": "Wed 2022-07-27 01:01:54 UTC", "ConditionTimestampMonotonic": "209511524", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "29940", "ExecMainStartTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ExecMainStartTimestampMonotonic": "209513136", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:01:54 UTC] ; stop_time=[n/a] ; pid=29940 ; 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": "Wed 2022-07-27 01:01:54 UTC", "InactiveEnterTimestampMonotonic": "209509659", "InactiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "InactiveExitTimestampMonotonic": "209513192", "InvocationID": "5de9cb7a6fe74e6d9b1cbe91f78e2c87", "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": "29940", "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": "Wed 2022-07-27 01:01:54 UTC", "StateChangeTimestampMonotonic": "209756411", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:01:54 UTC", "WatchdogTimestampMonotonic": "209756409", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.760) 0:00:07.658 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.053) 0:00:07.711 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.246) 0:00:07.957 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.038) 0:00:07.995 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.034) 0:00:08.029 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.038) 0:00:08.068 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.033) 0:00:08.101 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:04 +0000 (0:00:00.033) 0:00:08.134 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:05 +0000 (0:00:00.236) 0:00:08.370 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:05 +0000 (0:00:00.084) 0:00:08.455 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Run the role with no config] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:31 Wednesday 27 July 2022 01:02:05 +0000 (0:00:00.041) 0:00:08.497 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:05 +0000 (0:00:00.048) 0:00:08.545 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:05 +0000 (0:00:00.028) 0:00:08.573 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:05 +0000 (0:00:00.541) 0:00:09.115 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:07 +0000 (0:00:01.802) 0:00:10.917 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:07 +0000 (0:00:00.025) 0:00:10.943 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:09 +0000 (0:00:01.772) 0:00:12.715 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveEnterTimestampMonotonic": "209756411", "ActiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveExitTimestampMonotonic": "209022793", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:01:54 UTC", "AssertTimestampMonotonic": "209511524", "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": "Wed 2022-07-27 01:01:54 UTC", "ConditionTimestampMonotonic": "209511524", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "29940", "ExecMainStartTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ExecMainStartTimestampMonotonic": "209513136", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:01:54 UTC] ; stop_time=[n/a] ; pid=29940 ; 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": "Wed 2022-07-27 01:01:54 UTC", "InactiveEnterTimestampMonotonic": "209509659", "InactiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "InactiveExitTimestampMonotonic": "209513192", "InvocationID": "5de9cb7a6fe74e6d9b1cbe91f78e2c87", "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": "29940", "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": "Wed 2022-07-27 01:01:54 UTC", "StateChangeTimestampMonotonic": "209756411", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:01:54 UTC", "WatchdogTimestampMonotonic": "209756409", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.497) 0:00:13.213 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.046) 0:00:13.260 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.032) 0:00:13.292 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.037) 0:00:13.330 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.033) 0:00:13.363 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.034) 0:00:13.398 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.658) 0:00:14.056 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.048) 0:00:14.104 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.032) 0:00:14.137 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:10 +0000 (0:00:00.031) 0:00:14.168 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:35 Wednesday 27 July 2022 01:02:11 +0000 (0:00:00.042) 0:00:14.210 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:40 Wednesday 27 July 2022 01:02:11 +0000 (0:00:00.020) 0:00:14.230 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:11 +0000 (0:00:00.052) 0:00:14.283 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:11 +0000 (0:00:00.029) 0:00:14.313 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:11 +0000 (0:00:00.520) 0:00:14.833 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:13 +0000 (0:00:01.803) 0:00:16.636 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:13 +0000 (0:00:00.025) 0:00:16.662 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:15 +0000 (0:00:01.831) 0:00:18.493 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveEnterTimestampMonotonic": "209756411", "ActiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveExitTimestampMonotonic": "209022793", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:01:54 UTC", "AssertTimestampMonotonic": "209511524", "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": "Wed 2022-07-27 01:01:54 UTC", "ConditionTimestampMonotonic": "209511524", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "29940", "ExecMainStartTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ExecMainStartTimestampMonotonic": "209513136", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:01:54 UTC] ; stop_time=[n/a] ; pid=29940 ; 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": "Wed 2022-07-27 01:01:54 UTC", "InactiveEnterTimestampMonotonic": "209509659", "InactiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "InactiveExitTimestampMonotonic": "209513192", "InvocationID": "5de9cb7a6fe74e6d9b1cbe91f78e2c87", "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": "29940", "MemoryAccounting": "yes", "MemoryCurrent": "25894912", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:01:54 UTC", "StateChangeTimestampMonotonic": "209756411", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:01:54 UTC", "WatchdogTimestampMonotonic": "209756409", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:15 +0000 (0:00:00.521) 0:00:19.015 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:15 +0000 (0:00:00.048) 0:00:19.064 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:15 +0000 (0:00:00.033) 0:00:19.097 ******** 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}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } 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 : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:19 +0000 (0:00:04.078) 0:00:23.175 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.071) 0:00:23.246 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.034) 0:00:23.281 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.030) 0:00:23.311 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.030) 0:00:23.342 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.029) 0:00:23.372 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.029) 0:00:23.401 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:46 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.040) 0:00:23.442 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:51 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.020) 0:00:23.463 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.048) 0:00:23.511 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.029) 0:00:23.541 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:20 +0000 (0:00:00.555) 0:00:24.096 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:22 +0000 (0:00:01.890) 0:00:25.987 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:22 +0000 (0:00:00.025) 0:00:26.012 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:24 +0000 (0:00:01.770) 0:00:27.783 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveEnterTimestampMonotonic": "209756411", "ActiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveExitTimestampMonotonic": "209022793", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:01:54 UTC", "AssertTimestampMonotonic": "209511524", "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": "Wed 2022-07-27 01:01:54 UTC", "ConditionTimestampMonotonic": "209511524", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "29940", "ExecMainStartTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ExecMainStartTimestampMonotonic": "209513136", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:01:54 UTC] ; stop_time=[n/a] ; pid=29940 ; 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": "Wed 2022-07-27 01:01:54 UTC", "InactiveEnterTimestampMonotonic": "209509659", "InactiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "InactiveExitTimestampMonotonic": "209513192", "InvocationID": "5de9cb7a6fe74e6d9b1cbe91f78e2c87", "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": "29940", "MemoryAccounting": "yes", "MemoryCurrent": "27144192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:01:54 UTC", "StateChangeTimestampMonotonic": "209756411", "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": "Wed 2022-07-27 01:01:54 UTC", "WatchdogTimestampMonotonic": "209756409", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:25 +0000 (0:00:00.522) 0:00:28.305 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:25 +0000 (0:00:00.048) 0:00:28.353 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:25 +0000 (0:00:00.031) 0:00:28.385 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:28 +0000 (0:00:03.272) 0:00:31.658 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.074) 0:00:31.732 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.037) 0:00:31.769 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.033) 0:00:31.803 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.034) 0:00:31.837 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.031) 0:00:31.868 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.031) 0:00:31.900 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:57 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.038) 0:00:31.938 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:62 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.020) 0:00:31.958 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.064) 0:00:32.023 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:28 +0000 (0:00:00.029) 0:00:32.052 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:29 +0000 (0:00:00.527) 0:00:32.580 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:31 +0000 (0:00:01.769) 0:00:34.350 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:31 +0000 (0:00:00.026) 0:00:34.376 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:33 +0000 (0:00:01.818) 0:00:36.195 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveEnterTimestampMonotonic": "209756411", "ActiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ActiveExitTimestampMonotonic": "209022793", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:01:54 UTC", "AssertTimestampMonotonic": "209511524", "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": "Wed 2022-07-27 01:01:54 UTC", "ConditionTimestampMonotonic": "209511524", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "29940", "ExecMainStartTimestamp": "Wed 2022-07-27 01:01:54 UTC", "ExecMainStartTimestampMonotonic": "209513136", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:01:54 UTC] ; stop_time=[n/a] ; pid=29940 ; 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": "Wed 2022-07-27 01:01:54 UTC", "InactiveEnterTimestampMonotonic": "209509659", "InactiveExitTimestamp": "Wed 2022-07-27 01:01:54 UTC", "InactiveExitTimestampMonotonic": "209513192", "InvocationID": "5de9cb7a6fe74e6d9b1cbe91f78e2c87", "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": "29940", "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": "Wed 2022-07-27 01:01:54 UTC", "StateChangeTimestampMonotonic": "209756411", "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": "Wed 2022-07-27 01:01:54 UTC", "WatchdogTimestampMonotonic": "209756409", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:33 +0000 (0:00:00.543) 0:00:36.738 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:33 +0000 (0:00:00.051) 0:00:36.789 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:34 +0000 (0:00:01.135) 0:00:37.925 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:38 +0000 (0:00:03.959) 0:00:41.884 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:38 +0000 (0:00:00.108) 0:00:41.992 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:38 +0000 (0:00:00.037) 0:00:42.030 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:38 +0000 (0:00:00.034) 0:00:42.064 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:38 +0000 (0:00:00.034) 0:00:42.099 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.336) 0:00:42.435 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.048) 0:00:42.484 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:68 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.041) 0:00:42.525 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:73 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.019) 0:00:42.545 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.060) 0:00:42.605 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.029) 0:00:42.635 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:39 +0000 (0:00:00.515) 0:00:43.150 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:41 +0000 (0:00:01.941) 0:00:45.091 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:41 +0000 (0:00:00.026) 0:00:45.118 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:43 +0000 (0:00:01.787) 0:00:46.905 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:02:33 UTC", "ActiveEnterTimestampMonotonic": "248798534", "ActiveExitTimestamp": "Wed 2022-07-27 01:02:33 UTC", "ActiveExitTimestampMonotonic": "248019098", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:02:33 UTC", "AssertTimestampMonotonic": "248557454", "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": "Wed 2022-07-27 01:02:33 UTC", "ConditionTimestampMonotonic": "248557453", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "33842", "ExecMainStartTimestamp": "Wed 2022-07-27 01:02:33 UTC", "ExecMainStartTimestampMonotonic": "248558844", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:02:33 UTC] ; stop_time=[n/a] ; pid=33842 ; 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": "Wed 2022-07-27 01:02:33 UTC", "InactiveEnterTimestampMonotonic": "248555888", "InactiveExitTimestamp": "Wed 2022-07-27 01:02:33 UTC", "InactiveExitTimestampMonotonic": "248558881", "InvocationID": "548c592b338f44deab6bf0211d833522", "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": "33842", "MemoryAccounting": "yes", "MemoryCurrent": "29208576", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:02:33 UTC", "StateChangeTimestampMonotonic": "248798534", "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": "Wed 2022-07-27 01:02:33 UTC", "WatchdogTimestampMonotonic": "248798533", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:44 +0000 (0:00:00.516) 0:00:47.422 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:44 +0000 (0:00:00.050) 0:00:47.472 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:45 +0000 (0:00:01.253) 0:00:48.726 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:49 +0000 (0:00:03.957) 0:00:52.684 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:49 +0000 (0:00:00.075) 0:00:52.760 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:49 +0000 (0:00:00.037) 0:00:52.797 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:49 +0000 (0:00:00.035) 0:00:52.833 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:49 +0000 (0:00:00.033) 0:00:52.866 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:49 +0000 (0:00:00.306) 0:00:53.173 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:50 +0000 (0:00:00.046) 0:00:53.219 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:79 Wednesday 27 July 2022 01:02:50 +0000 (0:00:00.040) 0:00:53.259 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:84 Wednesday 27 July 2022 01:02:50 +0000 (0:00:00.019) 0:00:53.279 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:50 +0000 (0:00:00.092) 0:00:53.372 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:50 +0000 (0:00:00.029) 0:00:53.401 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:50 +0000 (0:00:00.510) 0:00:53.912 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:02:52 +0000 (0:00:01.835) 0:00:55.747 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:02:52 +0000 (0:00:00.025) 0:00:55.773 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:02:54 +0000 (0:00:01.890) 0:00:57.663 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:02:44 UTC", "ActiveEnterTimestampMonotonic": "259604640", "ActiveExitTimestamp": "Wed 2022-07-27 01:02:43 UTC", "ActiveExitTimestampMonotonic": "258677661", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:02:44 UTC", "AssertTimestampMonotonic": "259366030", "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": "Wed 2022-07-27 01:02:44 UTC", "ConditionTimestampMonotonic": "259366029", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "35127", "ExecMainStartTimestamp": "Wed 2022-07-27 01:02:44 UTC", "ExecMainStartTimestampMonotonic": "259367200", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:02:44 UTC] ; stop_time=[n/a] ; pid=35127 ; 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": "Wed 2022-07-27 01:02:44 UTC", "InactiveEnterTimestampMonotonic": "259364976", "InactiveExitTimestamp": "Wed 2022-07-27 01:02:44 UTC", "InactiveExitTimestampMonotonic": "259367239", "InvocationID": "aed1c6a7d9224ccbadc14d16d8d0b9eb", "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": "35127", "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": "Wed 2022-07-27 01:02:44 UTC", "StateChangeTimestampMonotonic": "259604640", "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": "Wed 2022-07-27 01:02:44 UTC", "WatchdogTimestampMonotonic": "259604638", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:02:54 +0000 (0:00:00.507) 0:00:58.171 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:02:55 +0000 (0:00:00.048) 0:00:58.219 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:02:55 +0000 (0:00:00.033) 0:00:58.253 ******** 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}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } 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 : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:02:58 +0000 (0:00:03.349) 0:01:01.603 ******** skipping: [/cache/centos-8.qcow2] => (item={'zone': 'customzone', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'customzone', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/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'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.071) 0:01:01.674 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.035) 0:01:01.710 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.033) 0:01:01.743 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.032) 0:01:01.776 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.032) 0:01:01.808 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.034) 0:01:01.842 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:90 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.039) 0:01:01.881 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:95 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.020) 0:01:01.902 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.073) 0:01:01.975 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:02:58 +0000 (0:00:00.028) 0:01:02.004 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:02:59 +0000 (0:00:00.504) 0:01:02.509 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:03:01 +0000 (0:00:01.800) 0:01:04.309 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:03:01 +0000 (0:00:00.026) 0:01:04.335 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:03:02 +0000 (0:00:01.806) 0:01:06.141 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:02:44 UTC", "ActiveEnterTimestampMonotonic": "259604640", "ActiveExitTimestamp": "Wed 2022-07-27 01:02:43 UTC", "ActiveExitTimestampMonotonic": "258677661", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:02:44 UTC", "AssertTimestampMonotonic": "259366030", "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": "Wed 2022-07-27 01:02:44 UTC", "ConditionTimestampMonotonic": "259366029", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "35127", "ExecMainStartTimestamp": "Wed 2022-07-27 01:02:44 UTC", "ExecMainStartTimestampMonotonic": "259367200", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:02:44 UTC] ; stop_time=[n/a] ; pid=35127 ; 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": "Wed 2022-07-27 01:02:44 UTC", "InactiveEnterTimestampMonotonic": "259364976", "InactiveExitTimestamp": "Wed 2022-07-27 01:02:44 UTC", "InactiveExitTimestampMonotonic": "259367239", "InvocationID": "aed1c6a7d9224ccbadc14d16d8d0b9eb", "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": "35127", "MemoryAccounting": "yes", "MemoryCurrent": "27095040", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:02:44 UTC", "StateChangeTimestampMonotonic": "259604640", "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": "Wed 2022-07-27 01:02:44 UTC", "WatchdogTimestampMonotonic": "259604638", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:03:03 +0000 (0:00:00.503) 0:01:06.645 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:03:03 +0000 (0:00:00.088) 0:01:06.733 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:03:04 +0000 (0:00:01.121) 0:01:07.855 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:03:04 +0000 (0:00:00.035) 0:01:07.890 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:03:04 +0000 (0:00:00.033) 0:01:07.924 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:03:04 +0000 (0:00:00.037) 0:01:07.962 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:03:04 +0000 (0:00:00.033) 0:01:07.995 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:03:04 +0000 (0:00:00.037) 0:01:08.032 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.303) 0:01:08.335 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.087) 0:01:08.423 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:102 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.041) 0:01:08.464 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:107 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.019) 0:01:08.484 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.122) 0:01:08.606 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.029) 0:01:08.636 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:03:05 +0000 (0:00:00.504) 0:01:09.140 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:03:07 +0000 (0:00:01.809) 0:01:10.950 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:03:07 +0000 (0:00:00.026) 0:01:10.976 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:03:09 +0000 (0:00:01.812) 0:01:12.789 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ActiveEnterTimestampMonotonic": "278729440", "ActiveExitTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ActiveExitTimestampMonotonic": "277937980", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:03:03 UTC", "AssertTimestampMonotonic": "278491971", "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": "Wed 2022-07-27 01:03:03 UTC", "ConditionTimestampMonotonic": "278491970", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "37374", "ExecMainStartTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ExecMainStartTimestampMonotonic": "278493258", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:03:03 UTC] ; stop_time=[n/a] ; pid=37374 ; 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": "Wed 2022-07-27 01:03:03 UTC", "InactiveEnterTimestampMonotonic": "278490700", "InactiveExitTimestamp": "Wed 2022-07-27 01:03:03 UTC", "InactiveExitTimestampMonotonic": "278493305", "InvocationID": "d31196be9e3c46fcad18064c9ceaf1cb", "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": "37374", "MemoryAccounting": "yes", "MemoryCurrent": "24915968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:03:03 UTC", "StateChangeTimestampMonotonic": "278729440", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:03:03 UTC", "WatchdogTimestampMonotonic": "278729438", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.507) 0:01:13.297 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.048) 0:01:13.345 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.033) 0:01:13.379 ******** changed: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.625) 0:01:14.004 ******** skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.045) 0:01:14.050 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.039) 0:01:14.089 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.032) 0:01:14.122 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:03:10 +0000 (0:00:00.032) 0:01:14.154 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.031) 0:01:14.186 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.034) 0:01:14.220 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports changed] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:114 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.040) 0:01:14.260 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:119 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.021) 0:01:14.282 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.087) 0:01:14.369 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.028) 0:01:14.397 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:03:11 +0000 (0:00:00.562) 0:01:14.960 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:03:13 +0000 (0:00:01.902) 0:01:16.862 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:03:13 +0000 (0:00:00.028) 0:01:16.891 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:03:15 +0000 (0:00:01.825) 0:01:18.716 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ActiveEnterTimestampMonotonic": "278729440", "ActiveExitTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ActiveExitTimestampMonotonic": "277937980", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:03:03 UTC", "AssertTimestampMonotonic": "278491971", "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": "Wed 2022-07-27 01:03:03 UTC", "ConditionTimestampMonotonic": "278491970", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "37374", "ExecMainStartTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ExecMainStartTimestampMonotonic": "278493258", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:03:03 UTC] ; stop_time=[n/a] ; pid=37374 ; 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": "Wed 2022-07-27 01:03:03 UTC", "InactiveEnterTimestampMonotonic": "278490700", "InactiveExitTimestamp": "Wed 2022-07-27 01:03:03 UTC", "InactiveExitTimestampMonotonic": "278493305", "InvocationID": "d31196be9e3c46fcad18064c9ceaf1cb", "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": "37374", "MemoryAccounting": "yes", "MemoryCurrent": "25911296", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:03:03 UTC", "StateChangeTimestampMonotonic": "278729440", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:03:03 UTC", "WatchdogTimestampMonotonic": "278729438", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.506) 0:01:19.223 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.050) 0:01:19.274 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.034) 0:01:19.308 ******** ok: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.593) 0:01:19.902 ******** skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.050) 0:01:19.953 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.040) 0:01:19.993 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.033) 0:01:20.026 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.032) 0:01:20.059 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.033) 0:01:20.092 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.035) 0:01:20.127 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:126 Wednesday 27 July 2022 01:03:16 +0000 (0:00:00.043) 0:01:20.171 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:131 Wednesday 27 July 2022 01:03:17 +0000 (0:00:00.021) 0:01:20.193 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:03:17 +0000 (0:00:00.105) 0:01:20.299 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:03:17 +0000 (0:00:00.029) 0:01:20.328 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:03:17 +0000 (0:00:00.503) 0:01:20.832 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:03:19 +0000 (0:00:01.789) 0:01:22.621 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:03:19 +0000 (0:00:00.025) 0:01:22.647 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:03:21 +0000 (0:00:01.765) 0:01:24.413 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ActiveEnterTimestampMonotonic": "278729440", "ActiveExitTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ActiveExitTimestampMonotonic": "277937980", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:03:03 UTC", "AssertTimestampMonotonic": "278491971", "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": "Wed 2022-07-27 01:03:03 UTC", "ConditionTimestampMonotonic": "278491970", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "37374", "ExecMainStartTimestamp": "Wed 2022-07-27 01:03:03 UTC", "ExecMainStartTimestampMonotonic": "278493258", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:03:03 UTC] ; stop_time=[n/a] ; pid=37374 ; 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": "Wed 2022-07-27 01:03:03 UTC", "InactiveEnterTimestampMonotonic": "278490700", "InactiveExitTimestamp": "Wed 2022-07-27 01:03:03 UTC", "InactiveExitTimestampMonotonic": "278493305", "InvocationID": "d31196be9e3c46fcad18064c9ceaf1cb", "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": "37374", "MemoryAccounting": "yes", "MemoryCurrent": "26120192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:03:03 UTC", "StateChangeTimestampMonotonic": "278729440", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:03:03 UTC", "WatchdogTimestampMonotonic": "278729438", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:03:21 +0000 (0:00:00.547) 0:01:24.961 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:03:21 +0000 (0:00:00.085) 0:01:25.046 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:03:23 +0000 (0:00:01.263) 0:01:26.310 ******** ok: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:03:23 +0000 (0:00:00.634) 0:01:26.945 ******** skipping: [/cache/centos-8.qcow2] => (item={'set_default_zone': 'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:03:23 +0000 (0:00:00.043) 0:01:26.988 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:03:23 +0000 (0:00:00.034) 0:01:27.023 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:03:23 +0000 (0:00:00.032) 0:01:27.056 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:03:23 +0000 (0:00:00.032) 0:01:27.088 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:03:24 +0000 (0:00:00.338) 0:01:27.427 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:03:24 +0000 (0:00:00.088) 0:01:27.515 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:139 Wednesday 27 July 2022 01:03:24 +0000 (0:00:00.045) 0:01:27.560 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_purge_config.yml:144 Wednesday 27 July 2022 01:03:24 +0000 (0:00:00.020) 0:01:27.581 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 01:03:24 +0000 (0:00:00.132) 0:01:27.714 ******** included: /tmp/tmpa2uqfu7l/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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 01:03:24 +0000 (0:00:00.028) 0:01:27.743 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 01:03:25 +0000 (0:00:00.548) 0:01:28.291 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 01:03:26 +0000 (0:00:01.855) 0:01:30.147 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 01:03:26 +0000 (0:00:00.027) 0:01:30.174 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 01:03:28 +0000 (0:00:01.874) 0:01:32.049 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:03:22 UTC", "ActiveEnterTimestampMonotonic": "297184064", "ActiveExitTimestamp": "Wed 2022-07-27 01:03:21 UTC", "ActiveExitTimestampMonotonic": "296291202", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-27 01:03:22 UTC", "AssertTimestampMonotonic": "296934285", "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": "Wed 2022-07-27 01:03:22 UTC", "ConditionTimestampMonotonic": "296934285", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.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": "39005", "ExecMainStartTimestamp": "Wed 2022-07-27 01:03:22 UTC", "ExecMainStartTimestampMonotonic": "296935737", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Wed 2022-07-27 01:03:22 UTC] ; stop_time=[n/a] ; pid=39005 ; 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": "Wed 2022-07-27 01:03:22 UTC", "InactiveEnterTimestampMonotonic": "296932716", "InactiveExitTimestamp": "Wed 2022-07-27 01:03:22 UTC", "InactiveExitTimestampMonotonic": "296935791", "InvocationID": "aed843ffe48a4850a3e1995364a9e628", "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": "39005", "MemoryAccounting": "yes", "MemoryCurrent": "25944064", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-27 01:03:22 UTC", "StateChangeTimestampMonotonic": "297184064", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-27 01:03:22 UTC", "WatchdogTimestampMonotonic": "297184062", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 01:03:29 +0000 (0:00:00.508) 0:01:32.557 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 01:03:29 +0000 (0:00:00.050) 0:01:32.607 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0 } STDOUT: af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 01:03:30 +0000 (0:00:01.018) 0:01:33.626 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.034) 0:01:33.661 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.037) 0:01:33.698 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.040) 0:01:33.738 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.031) 0:01:33.770 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.031) 0:01:33.802 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.249) 0:01:34.051 ******** 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/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.077) 0:01:34.129 ******** 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=102 changed=5 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Wednesday 27 July 2022 01:03:30 +0000 (0:00:00.050) 0:01:34.179 ******** =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ---------------- 10.70s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 7.92s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.42s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 2.39s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 2.39s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.97s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.94s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.90s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.89s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.89s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.87s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.86s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.84s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.83s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.83s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.82s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.81s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.81s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.81s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.80s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7