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/tmpvyhyaxwy executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /tmp/tmp55lbl9aa/tests/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp55lbl9aa/tests/tests_forward_port.yml:2 Friday 22 July 2022 00:18:57 +0000 (0:00:00.035) 0:00:00.035 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Clean slate] ************************************************************* task path: /tmp/tmp55lbl9aa/tests/tests_forward_port.yml:7 Friday 22 July 2022 00:18:58 +0000 (0:00:01.111) 0:00:01.146 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:18:58 +0000 (0:00:00.033) 0:00:01.180 *********** included: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:18:58 +0000 (0:00:00.031) 0:00:01.211 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:18:59 +0000 (0:00:00.542) 0:00:01.754 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:19:00 +0000 (0:00:00.977) 0:00:02.732 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:19:00 +0000 (0:00:00.024) 0:00:02.757 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:19:01 +0000 (0:00:00.796) 0:00:03.553 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ActiveEnterTimestampMonotonic": "4287123", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus-broker.service sysinit.target dbus.socket system.slice polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:17:59 EDT", "AssertTimestampMonotonic": "4093214", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8470139000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ConditionTimestampMonotonic": "4093212", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target iptables.service ebtables.service ipset.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1095", "ExecMainStartTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ExecMainStartTimestampMonotonic": "4094587", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:17:59 EDT", "InactiveExitTimestampMonotonic": "4094863", "InvocationID": "63bfb2b55b464a9284a7ab5dfad846c8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1095", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "41009152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:17:59 EDT", "StateChangeTimestampMonotonic": "4287123", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:19:01 +0000 (0:00:00.752) 0:00:04.306 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:19:01 +0000 (0:00:00.046) 0:00:04.353 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:19:01 +0000 (0:00:00.033) 0:00:04.387 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:19:01 +0000 (0:00:00.033) 0:00:04.420 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:19:01 +0000 (0:00:00.033) 0:00:04.454 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:19:01 +0000 (0:00:00.032) 0:00:04.486 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap TASK [forward_port and undo (string)] ****************************************** task path: /tmp/tmp55lbl9aa/tests/tests_forward_port.yml:16 Friday 22 July 2022 00:19:02 +0000 (0:00:00.040) 0:00:04.527 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:19:02 +0000 (0:00:00.037) 0:00:04.564 *********** included: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:19:02 +0000 (0:00:00.027) 0:00:04.592 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:19:02 +0000 (0:00:00.495) 0:00:05.088 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:19:03 +0000 (0:00:00.832) 0:00:05.920 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:19:03 +0000 (0:00:00.027) 0:00:05.948 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:19:04 +0000 (0:00:00.833) 0:00:06.782 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ActiveEnterTimestampMonotonic": "4287123", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus-broker.service sysinit.target dbus.socket system.slice polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:17:59 EDT", "AssertTimestampMonotonic": "4093214", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8470139000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ConditionTimestampMonotonic": "4093212", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target iptables.service ebtables.service ipset.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1095", "ExecMainStartTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ExecMainStartTimestampMonotonic": "4094587", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:17:59 EDT", "InactiveExitTimestampMonotonic": "4094863", "InvocationID": "63bfb2b55b464a9284a7ab5dfad846c8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1095", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "41005056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:17:59 EDT", "StateChangeTimestampMonotonic": "4287123", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:19:04 +0000 (0:00:00.485) 0:00:07.267 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:19:04 +0000 (0:00:00.049) 0:00:07.316 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:19:04 +0000 (0:00:00.033) 0:00:07.350 *********** changed: [/cache/rhel-9.qcow2.snap] => (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/rhel-9.qcow2.snap] => (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 : Get config files, checksums after] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:19:05 +0000 (0:00:01.126) 0:00:08.477 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:19:05 +0000 (0:00:00.034) 0:00:08.511 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:19:06 +0000 (0:00:00.031) 0:00:08.543 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap TASK [forward_port (dict) and undo] ******************************************** task path: /tmp/tmp55lbl9aa/tests/tests_forward_port.yml:26 Friday 22 July 2022 00:19:06 +0000 (0:00:00.042) 0:00:08.585 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:19:06 +0000 (0:00:00.041) 0:00:08.627 *********** included: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:19:06 +0000 (0:00:00.026) 0:00:08.653 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:19:06 +0000 (0:00:00.556) 0:00:09.210 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:19:07 +0000 (0:00:00.840) 0:00:10.050 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:19:07 +0000 (0:00:00.026) 0:00:10.077 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:19:08 +0000 (0:00:00.833) 0:00:10.910 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ActiveEnterTimestampMonotonic": "4287123", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus-broker.service sysinit.target dbus.socket system.slice polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:17:59 EDT", "AssertTimestampMonotonic": "4093214", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8621064000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ConditionTimestampMonotonic": "4093212", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target iptables.service ebtables.service ipset.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1095", "ExecMainStartTimestamp": "Thu 2022-07-21 20:17:59 EDT", "ExecMainStartTimestampMonotonic": "4094587", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:17:59 EDT] ; stop_time=[n/a] ; pid=1095 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:17:59 EDT", "InactiveExitTimestampMonotonic": "4094863", "InvocationID": "63bfb2b55b464a9284a7ab5dfad846c8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1095", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "41013248", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:17:59 EDT", "StateChangeTimestampMonotonic": "4287123", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:19:08 +0000 (0:00:00.493) 0:00:11.404 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:19:08 +0000 (0:00:00.046) 0:00:11.451 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:19:08 +0000 (0:00:00.030) 0:00:11.481 *********** changed: [/cache/rhel-9.qcow2.snap] => (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/rhel-9.qcow2.snap] => (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 : Get config files, checksums after] ********* task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:19:09 +0000 (0:00:01.032) 0:00:12.514 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:19:10 +0000 (0:00:00.034) 0:00:12.548 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:19:10 +0000 (0:00:00.031) 0:00:12.579 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=21 changed=2 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0 Friday 22 July 2022 00:19:10 +0000 (0:00:00.045) 0:00:12.625 *********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.13s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp55lbl9aa/tests/tests_forward_port.yml:2 ------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 1.03s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 0.98s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.84s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.83s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 0.83s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.83s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.80s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 0.75s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.56s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.54s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.50s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.49s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.49s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Show diffs -------------------------------- 0.05s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 ---- linux-system-roles.firewall : Show diffs -------------------------------- 0.04s /tmp/tmp55lbl9aa/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 ---- 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/tmpvyhyaxwy executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml:2 Friday 22 July 2022 00:23:15 +0000 (0:00:00.032) 0:00:00.032 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Clean slate] ************************************************************* task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml:7 Friday 22 July 2022 00:23:16 +0000 (0:00:01.082) 0:00:01.115 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:16 +0000 (0:00:00.036) 0:00:01.152 *********** included: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:16 +0000 (0:00:00.030) 0:00:01.182 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:23:17 +0000 (0:00:00.534) 0:00:01.716 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:23:18 +0000 (0:00:01.014) 0:00:02.730 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:23:18 +0000 (0:00:00.026) 0:00:02.757 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:18 +0000 (0:00:00.826) 0:00:03.584 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ActiveEnterTimestampMonotonic": "3845116", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service sysinit.target polkit.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:15 EDT", "AssertTimestampMonotonic": "3660160", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8468141000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ConditionTimestampMonotonic": "3660158", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service shutdown.target iptables.service ebtables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "970", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ExecMainStartTimestampMonotonic": "3661506", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:15 EDT", "InactiveExitTimestampMonotonic": "3661802", "InvocationID": "ae7fc8f3177941f3a6f0656e9349e6e2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "970", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "40927232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:15 EDT", "StateChangeTimestampMonotonic": "3845116", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:19 +0000 (0:00:00.761) 0:00:04.345 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:23:19 +0000 (0:00:00.049) 0:00:04.395 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:23:19 +0000 (0:00:00.033) 0:00:04.428 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:23:19 +0000 (0:00:00.036) 0:00:04.464 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:23:19 +0000 (0:00:00.033) 0:00:04.498 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:19 +0000 (0:00:00.032) 0:00:04.531 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap TASK [forward_port and undo (string)] ****************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml:16 Friday 22 July 2022 00:23:19 +0000 (0:00:00.039) 0:00:04.571 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:20 +0000 (0:00:00.038) 0:00:04.609 *********** included: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:20 +0000 (0:00:00.029) 0:00:04.639 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:23:20 +0000 (0:00:00.504) 0:00:05.143 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:23:21 +0000 (0:00:00.838) 0:00:05.982 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:23:21 +0000 (0:00:00.030) 0:00:06.012 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:22 +0000 (0:00:00.838) 0:00:06.851 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ActiveEnterTimestampMonotonic": "3845116", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service sysinit.target polkit.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:15 EDT", "AssertTimestampMonotonic": "3660160", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8468141000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ConditionTimestampMonotonic": "3660158", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service shutdown.target iptables.service ebtables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "970", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ExecMainStartTimestampMonotonic": "3661506", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:15 EDT", "InactiveExitTimestampMonotonic": "3661802", "InvocationID": "ae7fc8f3177941f3a6f0656e9349e6e2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "970", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "40927232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:15 EDT", "StateChangeTimestampMonotonic": "3845116", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:22 +0000 (0:00:00.494) 0:00:07.346 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:23:22 +0000 (0:00:00.050) 0:00:07.396 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:23:22 +0000 (0:00:00.033) 0:00:07.430 *********** changed: [/cache/rhel-9.qcow2.snap] => (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/rhel-9.qcow2.snap] => (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 : Get config files, checksums after] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:23:23 +0000 (0:00:01.137) 0:00:08.568 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:23:24 +0000 (0:00:00.035) 0:00:08.603 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:24 +0000 (0:00:00.033) 0:00:08.637 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap TASK [forward_port (dict) and undo] ******************************************** task path: /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml:26 Friday 22 July 2022 00:23:24 +0000 (0:00:00.040) 0:00:08.678 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:24 +0000 (0:00:00.043) 0:00:08.722 *********** included: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:24 +0000 (0:00:00.028) 0:00:08.751 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:23:24 +0000 (0:00:00.531) 0:00:09.282 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:23:25 +0000 (0:00:00.855) 0:00:10.137 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:23:25 +0000 (0:00:00.024) 0:00:10.162 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:26 +0000 (0:00:00.819) 0:00:10.981 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ActiveEnterTimestampMonotonic": "3845116", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service sysinit.target polkit.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:15 EDT", "AssertTimestampMonotonic": "3660160", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8621461000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ConditionTimestampMonotonic": "3660158", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service shutdown.target iptables.service ebtables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "970", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:15 EDT", "ExecMainStartTimestampMonotonic": "3661506", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Thu 2022-07-21 20:22:15 EDT] ; stop_time=[n/a] ; pid=970 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:15 EDT", "InactiveExitTimestampMonotonic": "3661802", "InvocationID": "ae7fc8f3177941f3a6f0656e9349e6e2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "970", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "40935424", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:15 EDT", "StateChangeTimestampMonotonic": "3845116", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:26 +0000 (0:00:00.520) 0:00:11.502 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:23:26 +0000 (0:00:00.046) 0:00:11.549 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:23:26 +0000 (0:00:00.029) 0:00:11.579 *********** changed: [/cache/rhel-9.qcow2.snap] => (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/rhel-9.qcow2.snap] => (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 : Get config files, checksums after] *** task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:23:28 +0000 (0:00:01.025) 0:00:12.604 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:23:28 +0000 (0:00:00.032) 0:00:12.636 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:28 +0000 (0:00:00.031) 0:00:12.668 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=21 changed=2 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0 Friday 22 July 2022 00:23:28 +0000 (0:00:00.049) 0:00:12.717 *********** =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.14s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml:2 ---------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.03s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.01s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.86s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 0.84s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.84s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 0.83s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 0.82s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.76s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.53s /tmp/tmpvyhyaxwy/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/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.52s /tmp/tmpvyhyaxwy/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/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.49s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.05s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.05s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.05s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.05s /tmp/tmpvyhyaxwy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 forward_port (dict) and undo -------------------------------------------- 0.04s /tmp/tmpwsd_sg3v/tests/firewall/tests_forward_port.yml:26 ---------------------