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:53:26 +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.198936", "end": "2022-07-27 00:53:26.562146", "rc": 0, "start": "2022-07-27 00:53:26.363210" } 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:53:26 +0000 (0:00:00.776) 0:00:00.795 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /tmp/tmpix2ig0ra/tests/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpix2ig0ra/tests/tests_forward_port.yml:2 Wednesday 27 July 2022 00:53:26 +0000 (0:00:00.010) 0:00:00.805 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Clean slate] ************************************************************* task path: /tmp/tmpix2ig0ra/tests/tests_forward_port.yml:7 Wednesday 27 July 2022 00:53:27 +0000 (0:00:01.044) 0:00:01.849 ******** 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:53:27 +0000 (0:00:00.037) 0:00:01.887 ******** 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:53:27 +0000 (0:00:00.028) 0:00:01.915 ******** 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:53:28 +0000 (0:00:00.518) 0:00:02.434 ******** 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:53:30 +0000 (0:00:02.306) 0:00:04.740 ******** 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:53:30 +0000 (0:00:00.024) 0:00:04.765 ******** 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:53:32 +0000 (0:00:01.813) 0:00:06.579 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:52:58 UTC", "ActiveEnterTimestampMonotonic": "143092232", "ActiveExitTimestamp": "Wed 2022-07-27 00:52:57 UTC", "ActiveExitTimestampMonotonic": "142179417", "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:52:58 UTC", "AssertTimestampMonotonic": "142849946", "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:52:58 UTC", "ConditionTimestampMonotonic": "142849946", "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": "23225", "ExecMainStartTimestamp": "Wed 2022-07-27 00:52:58 UTC", "ExecMainStartTimestampMonotonic": "142851256", "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:52:58 UTC] ; stop_time=[n/a] ; pid=23225 ; 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:52:58 UTC", "InactiveEnterTimestampMonotonic": "142848847", "InactiveExitTimestamp": "Wed 2022-07-27 00:52:58 UTC", "InactiveExitTimestampMonotonic": "142851293", "InvocationID": "10d4e6bfa94c471faa2c6ad7680ea875", "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": "23225", "MemoryAccounting": "yes", "MemoryCurrent": "26042368", "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:52:58 UTC", "StateChangeTimestampMonotonic": "143092232", "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:52:58 UTC", "WatchdogTimestampMonotonic": "143092230", "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:53:33 +0000 (0:00:00.760) 0:00:07.339 ******** 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:53:33 +0000 (0:00:00.050) 0:00:07.389 ******** 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:53:33 +0000 (0:00:00.032) 0:00:07.421 ******** 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:53:33 +0000 (0:00:00.032) 0:00:07.454 ******** 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:53:33 +0000 (0:00:00.035) 0:00:07.490 ******** 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:53:33 +0000 (0:00:00.044) 0:00:07.534 ******** 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:53:33 +0000 (0:00:00.038) 0:00:07.573 ******** 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:53:33 +0000 (0:00:00.032) 0:00:07.606 ******** 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:53:33 +0000 (0:00:00.032) 0:00:07.638 ******** 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:53:33 +0000 (0:00:00.032) 0:00:07.671 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [forward_port and undo (string)] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_forward_port.yml:16 Wednesday 27 July 2022 00:53:33 +0000 (0:00:00.038) 0:00:07.710 ******** 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:53:33 +0000 (0:00:00.040) 0:00:07.750 ******** 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:53:33 +0000 (0:00:00.026) 0:00:07.777 ******** 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:53:34 +0000 (0:00:00.559) 0:00:08.336 ******** 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:53:36 +0000 (0:00:01.808) 0:00:10.145 ******** 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:53:36 +0000 (0:00:00.026) 0:00:10.171 ******** 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:53:37 +0000 (0:00:01.795) 0:00:11.967 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:52:58 UTC", "ActiveEnterTimestampMonotonic": "143092232", "ActiveExitTimestamp": "Wed 2022-07-27 00:52:57 UTC", "ActiveExitTimestampMonotonic": "142179417", "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:52:58 UTC", "AssertTimestampMonotonic": "142849946", "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:52:58 UTC", "ConditionTimestampMonotonic": "142849946", "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": "23225", "ExecMainStartTimestamp": "Wed 2022-07-27 00:52:58 UTC", "ExecMainStartTimestampMonotonic": "142851256", "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:52:58 UTC] ; stop_time=[n/a] ; pid=23225 ; 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:52:58 UTC", "InactiveEnterTimestampMonotonic": "142848847", "InactiveExitTimestamp": "Wed 2022-07-27 00:52:58 UTC", "InactiveExitTimestampMonotonic": "142851293", "InvocationID": "10d4e6bfa94c471faa2c6ad7680ea875", "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": "23225", "MemoryAccounting": "yes", "MemoryCurrent": "26042368", "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:52:58 UTC", "StateChangeTimestampMonotonic": "143092232", "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:52:58 UTC", "WatchdogTimestampMonotonic": "143092230", "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:53:38 +0000 (0:00:00.488) 0:00:12.456 ******** 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:53:38 +0000 (0:00:00.074) 0:00:12.531 ******** 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:53:38 +0000 (0:00:00.032) 0:00:12.563 ******** changed: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" } } changed: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" } } 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:53:39 +0000 (0:00:01.270) 0:00:13.834 ******** skipping: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" }, "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:53:39 +0000 (0:00:00.044) 0:00:13.879 ******** 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:53:39 +0000 (0:00:00.031) 0:00:13.911 ******** 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:53:39 +0000 (0:00:00.031) 0:00:13.942 ******** 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:53:39 +0000 (0:00:00.032) 0:00:13.974 ******** 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:53:40 +0000 (0:00:00.030) 0:00:14.005 ******** 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:53:40 +0000 (0:00:00.030) 0:00:14.036 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [forward_port (dict) and undo] ******************************************** task path: /tmp/tmpix2ig0ra/tests/tests_forward_port.yml:26 Wednesday 27 July 2022 00:53:40 +0000 (0:00:00.039) 0:00:14.076 ******** 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:53:40 +0000 (0:00:00.043) 0:00:14.120 ******** 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:53:40 +0000 (0:00:00.026) 0:00:14.146 ******** 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:53:40 +0000 (0:00:00.554) 0:00:14.700 ******** 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:53:42 +0000 (0:00:01.858) 0:00:16.558 ******** 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:53:42 +0000 (0:00:00.024) 0:00:16.583 ******** 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:53:44 +0000 (0:00:01.865) 0:00:18.449 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 00:52:58 UTC", "ActiveEnterTimestampMonotonic": "143092232", "ActiveExitTimestamp": "Wed 2022-07-27 00:52:57 UTC", "ActiveExitTimestampMonotonic": "142179417", "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:52:58 UTC", "AssertTimestampMonotonic": "142849946", "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:52:58 UTC", "ConditionTimestampMonotonic": "142849946", "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": "23225", "ExecMainStartTimestamp": "Wed 2022-07-27 00:52:58 UTC", "ExecMainStartTimestampMonotonic": "142851256", "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:52:58 UTC] ; stop_time=[n/a] ; pid=23225 ; 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:52:58 UTC", "InactiveEnterTimestampMonotonic": "142848847", "InactiveExitTimestamp": "Wed 2022-07-27 00:52:58 UTC", "InactiveExitTimestampMonotonic": "142851293", "InvocationID": "10d4e6bfa94c471faa2c6ad7680ea875", "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": "23225", "MemoryAccounting": "yes", "MemoryCurrent": "26271744", "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:52:58 UTC", "StateChangeTimestampMonotonic": "143092232", "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:52:58 UTC", "WatchdogTimestampMonotonic": "143092230", "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:53:44 +0000 (0:00:00.504) 0:00:18.954 ******** 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:53:44 +0000 (0:00:00.048) 0:00:19.003 ******** 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:53:45 +0000 (0:00:00.033) 0:00:19.036 ******** changed: [/cache/centos-8.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" } } changed: [/cache/centos-8.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" } } 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:53:46 +0000 (0:00:01.140) 0:00:20.176 ******** skipping: [/cache/centos-8.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" }, "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:53:46 +0000 (0:00:00.044) 0:00:20.221 ******** 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:53:46 +0000 (0:00:00.033) 0:00:20.254 ******** 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:53:46 +0000 (0:00:00.031) 0:00:20.286 ******** 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:53:46 +0000 (0:00:00.030) 0:00:20.317 ******** 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:53:46 +0000 (0:00:00.031) 0:00:20.348 ******** 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:53:46 +0000 (0:00:00.030) 0:00:20.378 ******** 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=22 changed=3 unreachable=0 failed=0 skipped=28 rescued=0 ignored=0 Wednesday 27 July 2022 00:53:46 +0000 (0:00:00.045) 0:00:20.424 ******** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 2.31s /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 firewalld ------------------------- 1.86s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.81s /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 python3-firewall ------------------ 1.80s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 1.27s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.14s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpix2ig0ra/tests/tests_forward_port.yml:2 ------------------------------- Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.76s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.56s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.55s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.52s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.50s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.49s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.07s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Show diffs -------------------------------- 0.05s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 --- 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:02 +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.192300", "end": "2022-07-27 01:01:02.371908", "rc": 0, "start": "2022-07-27 01:01:02.179608" } 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:03 +0000 (0:00:00.775) 0:00:00.793 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml:2 Wednesday 27 July 2022 01:01:03 +0000 (0:00:00.011) 0:00:00.805 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Clean slate] ************************************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml:7 Wednesday 27 July 2022 01:01:04 +0000 (0:00:01.016) 0:00:01.821 ******** 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:04 +0000 (0:00:00.041) 0:00:01.862 ******** 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:04 +0000 (0:00:00.029) 0:00:01.891 ******** 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:04 +0000 (0:00:00.499) 0:00:02.391 ******** 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:01:06 +0000 (0:00:02.170) 0:00:04.562 ******** 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:01:06 +0000 (0:00:00.024) 0:00:04.586 ******** 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:01:08 +0000 (0:00:01.837) 0:00:06.424 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:00:34 UTC", "ActiveEnterTimestampMonotonic": "129035085", "ActiveExitTimestamp": "Wed 2022-07-27 01:00:33 UTC", "ActiveExitTimestampMonotonic": "128055472", "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:00:33 UTC", "AssertTimestampMonotonic": "128778046", "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:00:33 UTC", "ConditionTimestampMonotonic": "128778046", "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": "23218", "ExecMainStartTimestamp": "Wed 2022-07-27 01:00:33 UTC", "ExecMainStartTimestampMonotonic": "128779868", "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:00:33 UTC] ; stop_time=[n/a] ; pid=23218 ; 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:00:33 UTC", "InactiveEnterTimestampMonotonic": "128776142", "InactiveExitTimestamp": "Wed 2022-07-27 01:00:33 UTC", "InactiveExitTimestampMonotonic": "128779938", "InvocationID": "117905c673bb4070ab38a68ed12c5c97", "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": "23218", "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:00:34 UTC", "StateChangeTimestampMonotonic": "129035085", "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:00:34 UTC", "WatchdogTimestampMonotonic": "129035083", "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:01:09 +0000 (0:00:00.777) 0:00:07.201 ******** 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:01:09 +0000 (0:00:00.046) 0:00:07.248 ******** 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:01:09 +0000 (0:00:00.031) 0:00:07.279 ******** 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:01:09 +0000 (0:00:00.035) 0:00:07.315 ******** 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:01:09 +0000 (0:00:00.033) 0:00:07.349 ******** 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:01:09 +0000 (0:00:00.041) 0:00:07.390 ******** 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:01:09 +0000 (0:00:00.040) 0:00:07.431 ******** 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:01:09 +0000 (0:00:00.034) 0:00:07.465 ******** 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:01:09 +0000 (0:00:00.033) 0:00:07.499 ******** 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:01:09 +0000 (0:00:00.031) 0:00:07.530 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [forward_port and undo (string)] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml:16 Wednesday 27 July 2022 01:01:09 +0000 (0:00:00.039) 0:00:07.570 ******** 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:09 +0000 (0:00:00.043) 0:00:07.613 ******** 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:09 +0000 (0:00:00.029) 0:00:07.643 ******** 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:10 +0000 (0:00:00.557) 0:00:08.200 ******** 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:01:12 +0000 (0:00:01.932) 0:00:10.133 ******** 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:01:12 +0000 (0:00:00.026) 0:00:10.159 ******** 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:01:14 +0000 (0:00:01.875) 0:00:12.034 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:00:34 UTC", "ActiveEnterTimestampMonotonic": "129035085", "ActiveExitTimestamp": "Wed 2022-07-27 01:00:33 UTC", "ActiveExitTimestampMonotonic": "128055472", "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:00:33 UTC", "AssertTimestampMonotonic": "128778046", "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:00:33 UTC", "ConditionTimestampMonotonic": "128778046", "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": "23218", "ExecMainStartTimestamp": "Wed 2022-07-27 01:00:33 UTC", "ExecMainStartTimestampMonotonic": "128779868", "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:00:33 UTC] ; stop_time=[n/a] ; pid=23218 ; 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:00:33 UTC", "InactiveEnterTimestampMonotonic": "128776142", "InactiveExitTimestamp": "Wed 2022-07-27 01:00:33 UTC", "InactiveExitTimestampMonotonic": "128779938", "InvocationID": "117905c673bb4070ab38a68ed12c5c97", "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": "23218", "MemoryAccounting": "yes", "MemoryCurrent": "27410432", "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:00:34 UTC", "StateChangeTimestampMonotonic": "129035085", "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:00:34 UTC", "WatchdogTimestampMonotonic": "129035083", "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:01:14 +0000 (0:00:00.508) 0:00:12.543 ******** 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:01:14 +0000 (0:00:00.077) 0:00:12.621 ******** 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:01:14 +0000 (0:00:00.033) 0:00:12.654 ******** changed: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" } } changed: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" } } 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:01:16 +0000 (0:00:01.331) 0:00:13.985 ******** skipping: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" }, "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:01:16 +0000 (0:00:00.045) 0:00:14.031 ******** 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:01:16 +0000 (0:00:00.033) 0:00:14.065 ******** 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:01:16 +0000 (0:00:00.031) 0:00:14.096 ******** 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:01:16 +0000 (0:00:00.033) 0:00:14.130 ******** 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:01:16 +0000 (0:00:00.058) 0:00:14.188 ******** 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:01:16 +0000 (0:00:00.032) 0:00:14.221 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [forward_port (dict) and undo] ******************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml:26 Wednesday 27 July 2022 01:01:16 +0000 (0:00:00.039) 0:00:14.260 ******** 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:16 +0000 (0:00:00.051) 0:00:14.311 ******** 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:16 +0000 (0:00:00.029) 0:00:14.341 ******** 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:17 +0000 (0:00:00.526) 0:00:14.867 ******** 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:01:18 +0000 (0:00:01.794) 0:00:16.662 ******** 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:01:19 +0000 (0:00:00.026) 0:00:16.689 ******** 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:01:20 +0000 (0:00:01.804) 0:00:18.494 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-27 01:00:34 UTC", "ActiveEnterTimestampMonotonic": "129035085", "ActiveExitTimestamp": "Wed 2022-07-27 01:00:33 UTC", "ActiveExitTimestampMonotonic": "128055472", "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:00:33 UTC", "AssertTimestampMonotonic": "128778046", "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:00:33 UTC", "ConditionTimestampMonotonic": "128778046", "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": "23218", "ExecMainStartTimestamp": "Wed 2022-07-27 01:00:33 UTC", "ExecMainStartTimestampMonotonic": "128779868", "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:00:33 UTC] ; stop_time=[n/a] ; pid=23218 ; 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:00:33 UTC", "InactiveEnterTimestampMonotonic": "128776142", "InactiveExitTimestamp": "Wed 2022-07-27 01:00:33 UTC", "InactiveExitTimestampMonotonic": "128779938", "InvocationID": "117905c673bb4070ab38a68ed12c5c97", "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": "23218", "MemoryAccounting": "yes", "MemoryCurrent": "27631616", "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:00:34 UTC", "StateChangeTimestampMonotonic": "129035085", "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:00:34 UTC", "WatchdogTimestampMonotonic": "129035083", "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:01:21 +0000 (0:00:00.500) 0:00:18.994 ******** 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:01:21 +0000 (0:00:00.048) 0:00:19.043 ******** 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:01:21 +0000 (0:00:00.032) 0:00:19.076 ******** changed: [/cache/centos-8.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" } } changed: [/cache/centos-8.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" } } 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:01:22 +0000 (0:00:01.170) 0:00:20.247 ******** skipping: [/cache/centos-8.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" }, "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:01:22 +0000 (0:00:00.046) 0:00:20.294 ******** 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:01:22 +0000 (0:00:00.034) 0:00:20.328 ******** 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:01:22 +0000 (0:00:00.032) 0:00:20.360 ******** 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:01:22 +0000 (0:00:00.032) 0:00:20.393 ******** 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:01:22 +0000 (0:00:00.031) 0:00:20.425 ******** 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:01:22 +0000 (0:00:00.031) 0:00:20.456 ******** 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=22 changed=3 unreachable=0 failed=0 skipped=28 rescued=0 ignored=0 Wednesday 27 July 2022 01:01:22 +0000 (0:00:00.045) 0:00:20.502 ******** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.17s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.93s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.88s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.84s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.80s /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 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.33s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.17s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml:2 ---------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.78s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.56s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.53s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.51s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.50s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.50s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.08s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.06s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 forward_port (dict) and undo -------------------------------------------- 0.05s /tmp/tmp2v5r575a/tests/firewall/tests_forward_port.yml:26 --------------------- fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.05s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9