ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-zjc executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Wednesday 23 October 2024 09:34:14 -0400 (0:00:00.010) 0:00:00.010 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 23 October 2024 09:34:19 -0400 (0:00:05.146) 0:00:05.157 ***** included: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 23 October 2024 09:34:19 -0400 (0:00:00.032) 0:00:05.190 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 23 October 2024 09:34:19 -0400 (0:00:00.040) 0:00:05.230 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 23 October 2024 09:34:20 -0400 (0:00:00.493) 0:00:05.724 ***** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Wednesday 23 October 2024 09:34:20 -0400 (0:00:00.023) 0:00:05.748 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Wednesday 23 October 2024 09:34:20 -0400 (0:00:00.387) 0:00:06.135 ***** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Wednesday 23 October 2024 09:34:20 -0400 (0:00:00.032) 0:00:06.168 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Wednesday 23 October 2024 09:34:38 -0400 (0:00:18.109) 0:00:24.278 ***** skipping: [managed-node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Wednesday 23 October 2024 09:34:38 -0400 (0:00:00.054) 0:00:24.333 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Wednesday 23 October 2024 09:34:38 -0400 (0:00:00.054) 0:00:24.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 23 October 2024 09:34:38 -0400 (0:00:00.041) 0:00:24.429 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 23 October 2024 09:34:39 -0400 (0:00:00.035) 0:00:24.465 ***** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 23 October 2024 09:34:39 -0400 (0:00:00.065) 0:00:24.531 ***** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target dbus.socket basic.target dbus-broker.service polkit.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.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": "[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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service ebtables.service nftables.service ipset.service iptables.service shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3519569920", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.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", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 23 October 2024 09:34:40 -0400 (0:00:01.063) 0:00:25.594 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus-broker.service sysinit.target polkit.service dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.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": "[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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service nftables.service iptables.service shutdown.target ipset.service ip6tables.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3519401984", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.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", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 23 October 2024 09:34:42 -0400 (0:00:02.177) 0:00:27.772 ***** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3.12", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 23 October 2024 09:34:42 -0400 (0:00:00.139) 0:00:27.912 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 23 October 2024 09:34:42 -0400 (0:00:00.085) 0:00:27.997 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 23 October 2024 09:34:42 -0400 (0:00:00.055) 0:00:28.052 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 23 October 2024 09:34:42 -0400 (0:00:00.067) 0:00:28.120 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 23 October 2024 09:34:42 -0400 (0:00:00.061) 0:00:28.181 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "firewall | length == 1", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 23 October 2024 09:34:42 -0400 (0:00:00.040) 0:00:28.222 ***** ok: [managed-node1] => { "changed": false, "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "egress_priority": 0, "forward": true, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "ingress_priority": 0, "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "mdns", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "Q.931", "RAS", "pptp", "proto-gre", "h323", "sip", "netbios-ns", "sane", "amanda", "tftp", "irc", "ftp" ], "icmptypes": [ "neighbour-solicitation", "tos-network-redirect", "unknown-option", "mld-listener-done", "router-solicitation", "network-unknown", "failed-policy", "required-option-missing", "precedence-cutoff", "protocol-unreachable", "destination-unreachable", "echo-reply", "mld-listener-query", "no-route", "bad-header", "parameter-problem", "mld-listener-report", "host-prohibited", "source-route-failed", "echo-request", "time-exceeded", "timestamp-request", "communication-prohibited", "network-prohibited", "host-unknown", "network-redirect", "network-unreachable", "port-unreachable", "address-unreachable", "tos-host-redirect", "neighbour-advertisement", "mld2-listener-report", "host-redirect", "beyond-scope", "host-unreachable", "tos-host-unreachable", "ttl-zero-during-reassembly", "tos-network-unreachable", "redirect", "router-advertisement", "reject-route", "host-precedence-violation", "unknown-header-type", "ttl-zero-during-transit", "ip-header-bad", "timestamp-reply", "source-quench", "packet-too-big", "fragmentation-needed" ], "policies": [ "allow-host-ipv6" ], "services": [ "xdmcp", "slp", "kdeconnect", "ps2link", "ipp", "snmptrap", "mysql", "rquotad", "dhcp", "bareos-storage", "xmpp-bosh", "grafana", "civilization-iv", "bgp", "bareos-filedaemon", "ceph-mon", "imaps", "audit", "ssdp", "ovirt-storageconsole", "upnp-client", "gre", "need-for-speed-most-wanted", "terraria", "tentacle", "ldap", "kube-worker", "snmp", "kube-controller-manager", "ovirt-vmconsole", "dropbox-lansync", "lightning-network", "amqp", "finger", "steam-streaming", "snmptls", "rdp", "dds-multicast", "kube-control-plane-secure", "dhcpv6", "llmnr", "tinc", "rsh", "samba", "condor-collector", "kpasswd", "opentelemetry", "pmwebapis", "bacula-client", "imap", "ntp", "libvirt-tls", "ceph-exporter", "radius", "managesieve", "prometheus-node-exporter", "kerberos", "minecraft", "dhcpv6-client", "bittorrent-lsd", "bitcoin-rpc", "kube-api", "stronghold-crusader", "samba-client", "pmcd", "jenkins", "squid", "kube-nodeport-services", "distcc", "kprop", "warpinator", "freeipa-trust", "dns-over-tls", "submission", "transmission-client", "https", "snmptls-trap", "ctdb", "freeipa-ldap", "syncthing", "cratedb", "elasticsearch", "ptp", "xmpp-local", "RH-Satellite-6", "gpsd", "bitcoin", "nbd", "kshell", "RH-Satellite-6-capsule", "vdsm", "docker-registry", "etcd-client", "alvr", "supertuxkart", "salt-master", "wbem-https", "zabbix-trapper", "ipsec", "amanda-k5-client", "anno-1602", "high-availability", "svn", "spotify-sync", "0-AD", "ms-wbt", "amqps", "http3", "xmpp-client", "anno-1800", "libvirt", "kube-scheduler", "samba-dc", "zabbix-java-gateway", "tor-socks", "apcupsd", "spideroak-lansync", "redis-sentinel", "freeipa-ldaps", "prometheus", "etcd-server", "nrpe", "kibana", "kubelet", "settlers-history-collection", "vnc-server", "smtps", "stellaris", "wsman", "dns-over-quic", "factorio", "sip", "ganglia-client", "checkmk-agent", "postgresql", "nfs3", "mqtt", "nut", "llmnr-udp", "mongodb", "ident", "freeipa-4", "syncthing-gui", "redis", "wireguard", "klogin", "galera", "syslog", "zabbix-web-service", "dns", "matrix", "isns", "proxy-dhcp", "netbios-ns", "bitcoin-testnet-rpc", "pulseaudio", "wsmans", "freeipa-replication", "bb", "dds-unicast", "puppetmaster", "mountd", "tile38", "syscomlan", "ws-discovery-udp", "collectd", "synergy", "ovirt-imageio", "nebula", "git", "foreman-proxy", "pop3s", "pmproxy", "minidlna", "foreman", "kube-apiserver", "vrrp", "kube-control-plane", "kubelet-readonly", "ircs", "zabbix-agent", "ganglia-master", "memcache", "mosh", "ipp-client", "civilization-v", "openvpn", "sips", "cockpit", "ausweisapp2", "iscsi-target", "amanda-client", "rtsp", "kadmin", "svdrp", "rpc-bind", "syslog-tls", "quassel", "dds", "zerotier", "zabbix-server", "ssh", "nmea-0183", "murmur", "sane", "rsyncd", "ldaps", "mssql", "bareos-director", "syncthing-relay", "ceph", "ws-discovery-client", "statsrv", "docker-swarm", "llmnr-client", "bitcoin-testnet", "xmpp-server", "afp", "pmwebapi", "cfengine", "http", "nfs", "tftp", "ipfs", "zero-k", "ws-discovery-tcp", "mdns", "ps3netsrv", "irc", "wbem-http", "telnet", "llmnr-tcp", "smtp", "privoxy", "ftp", "kube-controller-manager-secure", "smtp-submission", "mqtt-tls", "kubelet-worker", "bacula", "ws-discovery", "plex", "kube-scheduler-secure", "netdata-dashboard", "pop3" ], "zones": [ "external", "dmz", "block", "public", "FedoraServer", "drop", "internal", "nm-shared", "FedoraWorkstation", "trusted", "work", "home" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 23 October 2024 09:34:44 -0400 (0:00:01.301) 0:00:29.523 ***** ok: [managed-node1] => { "ansible_facts": { "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "egress_priority": 0, "forward": true, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "ingress_priority": 0, "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "mdns", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "Q.931", "RAS", "pptp", "proto-gre", "h323", "sip", "netbios-ns", "sane", "amanda", "tftp", "irc", "ftp" ], "icmptypes": [ "neighbour-solicitation", "tos-network-redirect", "unknown-option", "mld-listener-done", "router-solicitation", "network-unknown", "failed-policy", "required-option-missing", "precedence-cutoff", "protocol-unreachable", "destination-unreachable", "echo-reply", "mld-listener-query", "no-route", "bad-header", "parameter-problem", "mld-listener-report", "host-prohibited", "source-route-failed", "echo-request", "time-exceeded", "timestamp-request", "communication-prohibited", "network-prohibited", "host-unknown", "network-redirect", "network-unreachable", "port-unreachable", "address-unreachable", "tos-host-redirect", "neighbour-advertisement", "mld2-listener-report", "host-redirect", "beyond-scope", "host-unreachable", "tos-host-unreachable", "ttl-zero-during-reassembly", "tos-network-unreachable", "redirect", "router-advertisement", "reject-route", "host-precedence-violation", "unknown-header-type", "ttl-zero-during-transit", "ip-header-bad", "timestamp-reply", "source-quench", "packet-too-big", "fragmentation-needed" ], "policies": [ "allow-host-ipv6" ], "services": [ "xdmcp", "slp", "kdeconnect", "ps2link", "ipp", "snmptrap", "mysql", "rquotad", "dhcp", "bareos-storage", "xmpp-bosh", "grafana", "civilization-iv", "bgp", "bareos-filedaemon", "ceph-mon", "imaps", "audit", "ssdp", "ovirt-storageconsole", "upnp-client", "gre", "need-for-speed-most-wanted", "terraria", "tentacle", "ldap", "kube-worker", "snmp", "kube-controller-manager", "ovirt-vmconsole", "dropbox-lansync", "lightning-network", "amqp", "finger", "steam-streaming", "snmptls", "rdp", "dds-multicast", "kube-control-plane-secure", "dhcpv6", "llmnr", "tinc", "rsh", "samba", "condor-collector", "kpasswd", "opentelemetry", "pmwebapis", "bacula-client", "imap", "ntp", "libvirt-tls", "ceph-exporter", "radius", "managesieve", "prometheus-node-exporter", "kerberos", "minecraft", "dhcpv6-client", "bittorrent-lsd", "bitcoin-rpc", "kube-api", "stronghold-crusader", "samba-client", "pmcd", "jenkins", "squid", "kube-nodeport-services", "distcc", "kprop", "warpinator", "freeipa-trust", "dns-over-tls", "submission", "transmission-client", "https", "snmptls-trap", "ctdb", "freeipa-ldap", "syncthing", "cratedb", "elasticsearch", "ptp", "xmpp-local", "RH-Satellite-6", "gpsd", "bitcoin", "nbd", "kshell", "RH-Satellite-6-capsule", "vdsm", "docker-registry", "etcd-client", "alvr", "supertuxkart", "salt-master", "wbem-https", "zabbix-trapper", "ipsec", "amanda-k5-client", "anno-1602", "high-availability", "svn", "spotify-sync", "0-AD", "ms-wbt", "amqps", "http3", "xmpp-client", "anno-1800", "libvirt", "kube-scheduler", "samba-dc", "zabbix-java-gateway", "tor-socks", "apcupsd", "spideroak-lansync", "redis-sentinel", "freeipa-ldaps", "prometheus", "etcd-server", "nrpe", "kibana", "kubelet", "settlers-history-collection", "vnc-server", "smtps", "stellaris", "wsman", "dns-over-quic", "factorio", "sip", "ganglia-client", "checkmk-agent", "postgresql", "nfs3", "mqtt", "nut", "llmnr-udp", "mongodb", "ident", "freeipa-4", "syncthing-gui", "redis", "wireguard", "klogin", "galera", "syslog", "zabbix-web-service", "dns", "matrix", "isns", "proxy-dhcp", "netbios-ns", "bitcoin-testnet-rpc", "pulseaudio", "wsmans", "freeipa-replication", "bb", "dds-unicast", "puppetmaster", "mountd", "tile38", "syscomlan", "ws-discovery-udp", "collectd", "synergy", "ovirt-imageio", "nebula", "git", "foreman-proxy", "pop3s", "pmproxy", "minidlna", "foreman", "kube-apiserver", "vrrp", "kube-control-plane", "kubelet-readonly", "ircs", "zabbix-agent", "ganglia-master", "memcache", "mosh", "ipp-client", "civilization-v", "openvpn", "sips", "cockpit", "ausweisapp2", "iscsi-target", "amanda-client", "rtsp", "kadmin", "svdrp", "rpc-bind", "syslog-tls", "quassel", "dds", "zerotier", "zabbix-server", "ssh", "nmea-0183", "murmur", "sane", "rsyncd", "ldaps", "mssql", "bareos-director", "syncthing-relay", "ceph", "ws-discovery-client", "statsrv", "docker-swarm", "llmnr-client", "bitcoin-testnet", "xmpp-server", "afp", "pmwebapi", "cfengine", "http", "nfs", "tftp", "ipfs", "zero-k", "ws-discovery-tcp", "mdns", "ps3netsrv", "irc", "wbem-http", "telnet", "llmnr-tcp", "smtp", "privoxy", "ftp", "kube-controller-manager-secure", "smtp-submission", "mqtt-tls", "kubelet-worker", "bacula", "ws-discovery", "plex", "kube-scheduler-secure", "netdata-dashboard", "pop3" ], "zones": [ "external", "dmz", "block", "public", "FedoraServer", "drop", "internal", "nm-shared", "FedoraWorkstation", "trusted", "work", "home" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 23 October 2024 09:34:44 -0400 (0:00:00.074) 0:00:29.598 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 23 October 2024 09:34:44 -0400 (0:00:00.053) 0:00:29.651 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 23 October 2024 09:34:44 -0400 (0:00:00.052) 0:00:29.704 ***** skipping: [managed-node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [Get default zone] ******************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Wednesday 23 October 2024 09:34:44 -0400 (0:00:00.058) 0:00:29.762 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.252454", "end": "2024-10-23 09:34:44.983633", "rc": 0, "start": "2024-10-23 09:34:44.731179" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Wednesday 23 October 2024 09:34:45 -0400 (0:00:00.841) 0:00:30.604 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.404116", "end": "2024-10-23 09:34:45.953281", "failed_when_result": false, "rc": 112, "start": "2024-10-23 09:34:45.549165" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Wednesday 23 October 2024 09:34:46 -0400 (0:00:00.867) 0:00:31.472 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.202346", "end": "2024-10-23 09:34:46.549124", "failed_when_result": false, "rc": 22, "start": "2024-10-23 09:34:46.346778" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Wednesday 23 October 2024 09:34:46 -0400 (0:00:00.630) 0:00:32.103 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.199085", "end": "2024-10-23 09:34:47.221897", "failed_when_result": false, "rc": 22, "start": "2024-10-23 09:34:47.022812" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Wednesday 23 October 2024 09:34:47 -0400 (0:00:00.639) 0:00:32.742 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.199238", "end": "2024-10-23 09:34:47.821687", "failed_when_result": false, "rc": 22, "start": "2024-10-23 09:34:47.622449" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Wednesday 23 October 2024 09:34:47 -0400 (0:00:00.598) 0:00:33.341 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.198280", "end": "2024-10-23 09:34:48.407823", "failed_when_result": false, "rc": 22, "start": "2024-10-23 09:34:48.209543" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Wednesday 23 October 2024 09:34:48 -0400 (0:00:00.584) 0:00:33.925 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.209572", "end": "2024-10-23 09:34:49.007470", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:34:48.797898" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Wednesday 23 October 2024 09:34:49 -0400 (0:00:00.602) 0:00:34.527 ***** ok: [managed-node1] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.397901", "end": "2024-10-23 09:34:49.811023", "failed_when_result": false, "rc": 22, "start": "2024-10-23 09:34:49.413122" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Wednesday 23 October 2024 09:34:49 -0400 (0:00:00.806) 0:00:35.334 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.208275", "end": "2024-10-23 09:34:50.427279", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:34:50.219004" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Wednesday 23 October 2024 09:34:50 -0400 (0:00:00.621) 0:00:35.955 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.367771", "end": "2024-10-23 09:34:51.219096", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:34:50.851325" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:80 Wednesday 23 October 2024 09:34:51 -0400 (0:00:00.794) 0:00:36.750 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:88 Wednesday 23 October 2024 09:34:51 -0400 (0:00:00.646) 0:00:37.396 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:96 Wednesday 23 October 2024 09:34:52 -0400 (0:00:00.502) 0:00:37.899 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:104 Wednesday 23 October 2024 09:34:52 -0400 (0:00:00.495) 0:00:38.395 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:112 Wednesday 23 October 2024 09:34:53 -0400 (0:00:00.496) 0:00:38.891 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:120 Wednesday 23 October 2024 09:34:53 -0400 (0:00:00.521) 0:00:39.412 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:128 Wednesday 23 October 2024 09:34:54 -0400 (0:00:00.509) 0:00:39.922 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:136 Wednesday 23 October 2024 09:34:54 -0400 (0:00:00.496) 0:00:40.418 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:144 Wednesday 23 October 2024 09:34:55 -0400 (0:00:00.522) 0:00:40.941 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:153 Wednesday 23 October 2024 09:34:56 -0400 (0:00:00.651) 0:00:41.592 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:162 Wednesday 23 October 2024 09:34:56 -0400 (0:00:00.518) 0:00:42.111 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:170 Wednesday 23 October 2024 09:34:57 -0400 (0:00:00.523) 0:00:42.635 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:178 Wednesday 23 October 2024 09:34:57 -0400 (0:00:00.487) 0:00:43.122 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:187 Wednesday 23 October 2024 09:34:58 -0400 (0:00:00.519) 0:00:43.641 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone] *********************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:196 Wednesday 23 October 2024 09:34:58 -0400 (0:00:00.492) 0:00:44.134 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone, again] **************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:205 Wednesday 23 October 2024 09:34:59 -0400 (0:00:00.642) 0:00:44.776 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone] ********************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:214 Wednesday 23 October 2024 09:34:59 -0400 (0:00:00.498) 0:00:45.275 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone, again] ************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:223 Wednesday 23 October 2024 09:35:00 -0400 (0:00:00.713) 0:00:45.989 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:232 Wednesday 23 October 2024 09:35:01 -0400 (0:00:00.509) 0:00:46.498 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:241 Wednesday 23 October 2024 09:35:01 -0400 (0:00:00.558) 0:00:47.057 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:250 Wednesday 23 October 2024 09:35:02 -0400 (0:00:00.580) 0:00:47.637 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:258 Wednesday 23 October 2024 09:35:02 -0400 (0:00:00.585) 0:00:48.222 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:266 Wednesday 23 October 2024 09:35:03 -0400 (0:00:00.628) 0:00:48.851 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:274 Wednesday 23 October 2024 09:35:03 -0400 (0:00:00.525) 0:00:49.377 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:282 Wednesday 23 October 2024 09:35:04 -0400 (0:00:00.499) 0:00:49.876 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:290 Wednesday 23 October 2024 09:35:04 -0400 (0:00:00.482) 0:00:50.359 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:299 Wednesday 23 October 2024 09:35:05 -0400 (0:00:00.528) 0:00:50.887 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:308 Wednesday 23 October 2024 09:35:05 -0400 (0:00:00.509) 0:00:51.397 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Wednesday 23 October 2024 09:35:06 -0400 (0:00:00.509) 0:00:51.907 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:326 Wednesday 23 October 2024 09:35:07 -0400 (0:00:00.968) 0:00:52.876 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Wednesday 23 October 2024 09:35:07 -0400 (0:00:00.514) 0:00:53.390 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:344 Wednesday 23 October 2024 09:35:08 -0400 (0:00:00.768) 0:00:54.159 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:353 Wednesday 23 October 2024 09:35:09 -0400 (0:00:00.506) 0:00:54.666 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:363 Wednesday 23 October 2024 09:35:09 -0400 (0:00:00.552) 0:00:55.218 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 Wednesday 23 October 2024 09:35:10 -0400 (0:00:00.574) 0:00:55.792 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:381 Wednesday 23 October 2024 09:35:11 -0400 (0:00:00.731) 0:00:56.524 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:386 Wednesday 23 October 2024 09:35:11 -0400 (0:00:00.021) 0:00:56.545 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:396 Wednesday 23 October 2024 09:35:11 -0400 (0:00:00.507) 0:00:57.053 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:406 Wednesday 23 October 2024 09:35:12 -0400 (0:00:00.494) 0:00:57.547 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.195845", "end": "2024-10-23 09:35:12.638063", "rc": 0, "start": "2024-10-23 09:35:12.442218" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:410 Wednesday 23 October 2024 09:35:12 -0400 (0:00:00.619) 0:00:58.166 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:417 Wednesday 23 October 2024 09:35:13 -0400 (0:00:00.768) 0:00:58.935 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:424 Wednesday 23 October 2024 09:35:14 -0400 (0:00:00.529) 0:00:59.464 ***** ok: [managed-node1] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [Add custom service without details] ************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Wednesday 23 October 2024 09:35:14 -0400 (0:00:00.487) 0:00:59.952 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:442 Wednesday 23 October 2024 09:35:15 -0400 (0:00:00.787) 0:01:00.739 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450 Wednesday 23 October 2024 09:35:15 -0400 (0:00:00.668) 0:01:01.408 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Wednesday 23 October 2024 09:35:16 -0400 (0:00:00.740) 0:01:02.148 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Wednesday 23 October 2024 09:35:17 -0400 (0:00:00.742) 0:01:02.890 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:477 Wednesday 23 October 2024 09:35:18 -0400 (0:00:00.748) 0:01:03.639 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:486 Wednesday 23 October 2024 09:35:18 -0400 (0:00:00.516) 0:01:04.155 ***** ok: [managed-node1] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Wednesday 23 October 2024 09:35:19 -0400 (0:00:00.631) 0:01:04.786 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Wednesday 23 October 2024 09:35:20 -0400 (0:00:00.758) 0:01:05.544 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove ports from custom service without deleting service] *************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Wednesday 23 October 2024 09:35:20 -0400 (0:00:00.804) 0:01:06.349 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:522 Wednesday 23 October 2024 09:35:21 -0400 (0:00:00.759) 0:01:07.109 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:533 Wednesday 23 October 2024 09:35:22 -0400 (0:00:00.740) 0:01:07.850 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:541 Wednesday 23 October 2024 09:35:23 -0400 (0:00:00.707) 0:01:08.557 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add custom service with all the elements at once] ************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:549 Wednesday 23 October 2024 09:35:23 -0400 (0:00:00.578) 0:01:09.136 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add helper module that already is on customservice] ********************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:566 Wednesday 23 October 2024 09:35:24 -0400 (0:00:00.748) 0:01:09.884 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:575 Wednesday 23 October 2024 09:35:24 -0400 (0:00:00.522) 0:01:10.407 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:582 Wednesday 23 October 2024 09:35:25 -0400 (0:00:00.548) 0:01:10.955 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:589 Wednesday 23 October 2024 09:35:25 -0400 (0:00:00.496) 0:01:11.452 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:596 Wednesday 23 October 2024 09:35:26 -0400 (0:00:00.567) 0:01:12.020 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:607 Wednesday 23 October 2024 09:35:27 -0400 (0:00:00.548) 0:01:12.569 ***** ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:618 Wednesday 23 October 2024 09:35:27 -0400 (0:00:00.515) 0:01:13.084 ***** changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:637 Wednesday 23 October 2024 09:35:28 -0400 (0:00:00.542) 0:01:13.626 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.199254", "end": "2024-10-23 09:35:28.697393", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:28.498139" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:643 Wednesday 23 October 2024 09:35:28 -0400 (0:00:00.604) 0:01:14.231 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.206430", "end": "2024-10-23 09:35:29.336170", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:29.129740" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:649 Wednesday 23 October 2024 09:35:29 -0400 (0:00:00.626) 0:01:14.857 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.203255", "end": "2024-10-23 09:35:29.927955", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:29.724700" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:655 Wednesday 23 October 2024 09:35:29 -0400 (0:00:00.603) 0:01:15.460 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.203114", "end": "2024-10-23 09:35:30.557362", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:30.354248" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:661 Wednesday 23 October 2024 09:35:30 -0400 (0:00:00.651) 0:01:16.112 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.203341", "end": "2024-10-23 09:35:31.238118", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:31.034777" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:667 Wednesday 23 October 2024 09:35:31 -0400 (0:00:00.655) 0:01:16.767 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.202621", "end": "2024-10-23 09:35:31.883072", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:31.680451" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:673 Wednesday 23 October 2024 09:35:31 -0400 (0:00:00.637) 0:01:17.405 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.205085", "end": "2024-10-23 09:35:32.551570", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:32.346485" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:679 Wednesday 23 October 2024 09:35:32 -0400 (0:00:00.667) 0:01:18.072 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.204109", "end": "2024-10-23 09:35:33.166359", "failed_when_result": false, "rc": 22, "start": "2024-10-23 09:35:32.962250" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:685 Wednesday 23 October 2024 09:35:33 -0400 (0:00:00.612) 0:01:18.684 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.365912", "end": "2024-10-23 09:35:33.974928", "rc": 0, "start": "2024-10-23 09:35:33.609016" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:691 Wednesday 23 October 2024 09:35:34 -0400 (0:00:00.816) 0:01:19.501 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.355306", "end": "2024-10-23 09:35:34.779955", "failed_when_result": false, "rc": 0, "start": "2024-10-23 09:35:34.424649" } STDOUT: success PLAY RECAP ********************************************************************* managed-node1 : ok=95 changed=37 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Wednesday 23 October 2024 09:35:34 -0400 (0:00:00.827) 0:01:20.329 ***** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 18.11s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Gathering Facts --------------------------------------------------------- 5.15s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 2.18s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 1.30s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 1.06s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Ensure target ACCEPT in permanent internal zone ------------------------- 0.97s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Remove custom zone ------------------------------------------------------ 0.87s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Get default zone -------------------------------------------------------- 0.84s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Reload firewalld -------------------------------------------------------- 0.83s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:691 Reset default zone ------------------------------------------------------ 0.82s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:685 Reset default zone to defaults ------------------------------------------ 0.81s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Remove valid protocol from customservice -------------------------------- 0.80s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Reload firewalld -------------------------------------------------------- 0.79s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Add custom service without details -------------------------------------- 0.79s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Ensure default target in permanent internal zone ------------------------ 0.77s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Set default zone -------------------------------------------------------- 0.77s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:410 Remove ports from custom service without deleting service --------------- 0.76s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Add valid protocol to custom service ------------------------------------ 0.76s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Add source_ports to custom service -------------------------------------- 0.75s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Add custom service with all the elements at once ------------------------ 0.75s /tmp/collections-zjc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:549