ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/collections-Ojv/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-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Tuesday 13 May 2025 05:50:13 -0400 (0:00:00.019) 0:00:00.019 *********** ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 13 May 2025 05:50:14 -0400 (0:00:01.149) 0:00:01.169 *********** included: /tmp/collections-Ojv/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-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 13 May 2025 05:50:14 -0400 (0:00:00.024) 0:00:01.194 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 13 May 2025 05:50:14 -0400 (0:00:00.036) 0:00:01.231 *********** 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-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 13 May 2025 05:50:15 -0400 (0:00:00.447) 0:00:01.678 *********** 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-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 13 May 2025 05:50:15 -0400 (0:00:00.058) 0:00:01.737 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 13 May 2025 05:50:15 -0400 (0:00:00.415) 0:00:02.152 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 13 May 2025 05:50:15 -0400 (0:00:00.038) 0:00:02.191 *********** 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-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 13 May 2025 05:50:30 -0400 (0:00:14.926) 0:00:17.118 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 13 May 2025 05:50:30 -0400 (0:00:00.036) 0:00:17.154 *********** skipping: [managed-node1] => { "changed": 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-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 13 May 2025 05:50:30 -0400 (0:00:00.035) 0:00:17.190 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 13 May 2025 05:50:30 -0400 (0:00:00.035) 0:00:17.226 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Disable conflicting services] ******* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 13 May 2025 05:50:30 -0400 (0:00:00.044) 0:00:17.270 *********** skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'nftables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'iptables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'ufw', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Stop conflicting services] ********** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:23 Tuesday 13 May 2025 05:50:30 -0400 (0:00:00.045) 0:00:17.316 *********** skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'nftables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'iptables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'ufw', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Tuesday 13 May 2025 05:50:30 -0400 (0:00:00.046) 0:00:17.362 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.socket system.slice dbus.service polkit.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service ipset.service ip6tables.service nftables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Tuesday 13 May 2025 05:50:31 -0400 (0:00:00.692) 0:00:18.055 *********** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket sysinit.target system.slice basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ebtables.service iptables.service ipset.service ip6tables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:44 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.966) 0:00:19.021 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:53 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.039) 0:00:19.060 *********** skipping: [managed-node1] => { "changed": false, "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-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:65 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.034) 0:00:19.095 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.035) 0:00:19.130 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.036) 0:00:19.167 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:141 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.035) 0:00:19.203 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Tuesday 13 May 2025 05:50:32 -0400 (0:00:00.036) 0:00:19.240 *********** 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.", "forward": false, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client", "cockpit" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type", "unknown-option", "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown" ], "policies": [ "allow-host-ipv6" ], "services": [ "RH-Satellite-6", "amanda-client", "amanda-k5-client", "amqp", "amqps", "apcupsd", "audit", "bacula-client", "bacula", "bb", "bgp", "bitcoin-rpc", "bitcoin-testnet-rpc", "bitcoin-testnet", "bitcoin", "bittorrent-lsd", "ceph-mon", "ceph", "cfengine", "cockpit", "collectd", "condor-collector", "ctdb", "dhcp", "dhcpv6-client", "dhcpv6", "distcc", "dns-over-tls", "dns", "docker-registry", "docker-swarm", "dropbox-lansync", "elasticsearch", "etcd-client", "etcd-server", "finger", "foreman-proxy", "foreman", "freeipa-4", "freeipa-ldap", "freeipa-ldaps", "freeipa-replication", "freeipa-trust", "ftp", "galera", "ganglia-client", "ganglia-master", "git", "grafana", "gre", "high-availability", "http", "https", "imap", "imaps", "ipp-client", "ipp", "ipsec", "irc", "ircs", "iscsi-target", "isns", "jenkins", "kadmin", "kdeconnect", "kerberos", "kibana", "klogin", "kpasswd", "kprop", "kshell", "kube-apiserver", "ldap", "ldaps", "libvirt-tls", "libvirt", "lightning-network", "llmnr", "managesieve", "matrix", "mdns", "memcache", "minidlna", "mongodb", "mosh", "mountd", "mqtt-tls", "mqtt", "ms-wbt", "mssql", "murmur", "mysql", "nbd", "nfs", "nfs3", "nmea-0183", "nrpe", "ntp", "nut", "openvpn", "ovirt-imageio", "ovirt-storageconsole", "ovirt-vmconsole", "plex", "pmcd", "pmproxy", "pmwebapi", "pmwebapis", "pop3", "pop3s", "postgresql", "privoxy", "prometheus", "proxy-dhcp", "ptp", "pulseaudio", "puppetmaster", "quassel", "radius", "rdp", "redis-sentinel", "redis", "rpc-bind", "rquotad", "rsh", "rsyncd", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server", "RH-Satellite-6-capsule", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:155 Tuesday 13 May 2025 05:50:33 -0400 (0:00:00.754) 0:00:19.995 *********** 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.", "forward": false, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client", "cockpit" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type", "unknown-option", "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown" ], "policies": [ "allow-host-ipv6" ], "services": [ "RH-Satellite-6", "amanda-client", "amanda-k5-client", "amqp", "amqps", "apcupsd", "audit", "bacula-client", "bacula", "bb", "bgp", "bitcoin-rpc", "bitcoin-testnet-rpc", "bitcoin-testnet", "bitcoin", "bittorrent-lsd", "ceph-mon", "ceph", "cfengine", "cockpit", "collectd", "condor-collector", "ctdb", "dhcp", "dhcpv6-client", "dhcpv6", "distcc", "dns-over-tls", "dns", "docker-registry", "docker-swarm", "dropbox-lansync", "elasticsearch", "etcd-client", "etcd-server", "finger", "foreman-proxy", "foreman", "freeipa-4", "freeipa-ldap", "freeipa-ldaps", "freeipa-replication", "freeipa-trust", "ftp", "galera", "ganglia-client", "ganglia-master", "git", "grafana", "gre", "high-availability", "http", "https", "imap", "imaps", "ipp-client", "ipp", "ipsec", "irc", "ircs", "iscsi-target", "isns", "jenkins", "kadmin", "kdeconnect", "kerberos", "kibana", "klogin", "kpasswd", "kprop", "kshell", "kube-apiserver", "ldap", "ldaps", "libvirt-tls", "libvirt", "lightning-network", "llmnr", "managesieve", "matrix", "mdns", "memcache", "minidlna", "mongodb", "mosh", "mountd", "mqtt-tls", "mqtt", "ms-wbt", "mssql", "murmur", "mysql", "nbd", "nfs", "nfs3", "nmea-0183", "nrpe", "ntp", "nut", "openvpn", "ovirt-imageio", "ovirt-storageconsole", "ovirt-vmconsole", "plex", "pmcd", "pmproxy", "pmwebapi", "pmwebapis", "pop3", "pop3s", "postgresql", "privoxy", "prometheus", "proxy-dhcp", "ptp", "pulseaudio", "puppetmaster", "quassel", "radius", "rdp", "redis-sentinel", "redis", "rpc-bind", "rquotad", "rsh", "rsyncd", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server", "RH-Satellite-6-capsule", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 13 May 2025 05:50:33 -0400 (0:00:00.046) 0:00:20.041 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:174 Tuesday 13 May 2025 05:50:33 -0400 (0:00:00.034) 0:00:20.076 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:180 Tuesday 13 May 2025 05:50:33 -0400 (0:00:00.035) 0:00:20.111 *********** skipping: [managed-node1] => {} TASK [Get default zone] ******************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Tuesday 13 May 2025 05:50:33 -0400 (0:00:00.035) 0:00:20.146 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--get-default-zone" ], "delta": "0:00:00.259962", "end": "2025-05-13 05:50:34.191253", "rc": 0, "start": "2025-05-13 05:50:33.931291" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Tuesday 13 May 2025 05:50:34 -0400 (0:00:00.725) 0:00:20.872 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--delete-zone=custom" ], "delta": "0:00:00.256798", "end": "2025-05-13 05:50:34.794881", "failed_when_result": false, "rc": 112, "start": "2025-05-13 05:50:34.538083" } STDERR: INVALID_ZONE: get_zone(): custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Tuesday 13 May 2025 05:50:34 -0400 (0:00:00.644) 0:00:21.516 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=internal" ], "delta": "0:00:00.257567", "end": "2025-05-13 05:50:35.454885", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:35.197318" } STDERR: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Tuesday 13 May 2025 05:50:35 -0400 (0:00:00.640) 0:00:22.156 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=trusted" ], "delta": "0:00:00.255908", "end": "2025-05-13 05:50:36.113162", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:35.857254" } STDERR: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Tuesday 13 May 2025 05:50:36 -0400 (0:00:00.657) 0:00:22.814 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=dmz" ], "delta": "0:00:00.259556", "end": "2025-05-13 05:50:36.771011", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:36.511455" } STDERR: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Tuesday 13 May 2025 05:50:36 -0400 (0:00:00.666) 0:00:23.481 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=drop" ], "delta": "0:00:00.257742", "end": "2025-05-13 05:50:37.450107", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:37.192365" } STDERR: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Tuesday 13 May 2025 05:50:37 -0400 (0:00:00.676) 0:00:24.158 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=public" ], "delta": "0:00:00.258240", "end": "2025-05-13 05:50:38.123470", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:50:37.865230" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Tuesday 13 May 2025 05:50:38 -0400 (0:00:00.680) 0:00:24.838 *********** ok: [managed-node1] => { "changed": false, "cmd": "zone=$(firewall-offline-cmd --get-default-zone)\nfirewall-offline-cmd --load-zone-defaults=$zone\n", "delta": "0:00:00.515793", "end": "2025-05-13 05:50:39.030714", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:50:38.514921" } STDOUT: success TASK [Create custom zone] ****************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Tuesday 13 May 2025 05:50:39 -0400 (0:00:00.914) 0:00:25.752 *********** changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-offline-cmd", "--new-zone=custom" ], "delta": "0:00:00.261948", "end": "2025-05-13 05:50:39.691219", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:50:39.429271" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Tuesday 13 May 2025 05:50:39 -0400 (0:00:00.641) 0:00:26.394 *********** fatal: [managed-node1]: FAILED! => {} MSG: The conditional check '__firewall_is_booted' failed. The error was: error while evaluating conditional (__firewall_is_booted): '__firewall_is_booted' is undefined The error appears to be in '/tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml': line 72, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Reload firewalld ^ here TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:672 Tuesday 13 May 2025 05:50:39 -0400 (0:00:00.035) 0:00:26.429 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--delete-zone=custom" ], "delta": "0:00:00.256629", "end": "2025-05-13 05:50:40.356586", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:50:40.099957" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:678 Tuesday 13 May 2025 05:50:40 -0400 (0:00:00.628) 0:00:27.057 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--delete-zone=customzone" ], "delta": "0:00:00.256783", "end": "2025-05-13 05:50:40.982558", "failed_when_result": false, "rc": 112, "start": "2025-05-13 05:50:40.725775" } STDERR: INVALID_ZONE: get_zone(): customzone MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:684 Tuesday 13 May 2025 05:50:41 -0400 (0:00:00.627) 0:00:27.685 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=internal" ], "delta": "0:00:00.254872", "end": "2025-05-13 05:50:41.608161", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:41.353289" } STDERR: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:690 Tuesday 13 May 2025 05:50:41 -0400 (0:00:00.625) 0:00:28.311 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=trusted" ], "delta": "0:00:00.254021", "end": "2025-05-13 05:50:42.234548", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:41.980527" } STDERR: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:696 Tuesday 13 May 2025 05:50:42 -0400 (0:00:00.659) 0:00:28.970 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=dmz" ], "delta": "0:00:00.259411", "end": "2025-05-13 05:50:42.920891", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:42.661480" } STDERR: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:702 Tuesday 13 May 2025 05:50:43 -0400 (0:00:00.661) 0:00:29.631 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=drop" ], "delta": "0:00:00.255481", "end": "2025-05-13 05:50:43.557196", "failed_when_result": false, "rc": 22, "start": "2025-05-13 05:50:43.301715" } STDERR: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:708 Tuesday 13 May 2025 05:50:43 -0400 (0:00:00.650) 0:00:30.282 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=public" ], "delta": "0:00:00.254713", "end": "2025-05-13 05:50:44.237592", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:50:43.982879" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:714 Tuesday 13 May 2025 05:50:44 -0400 (0:00:00.675) 0:00:30.957 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=public" ], "delta": "0:00:00.255333", "end": "2025-05-13 05:50:44.956049", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:50:44.700716" } STDOUT: success TASK [Reset default zone] ****************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:720 Tuesday 13 May 2025 05:50:45 -0400 (0:00:00.710) 0:00:31.668 *********** ok: [managed-node1] => { "changed": false, "cmd": "cur_zone=$(firewall-offline-cmd --get-default-zone)\nif [ \"$cur_zone\" != public ]; then\n firewall-offline-cmd --set-default-zone=public\nfi\n", "delta": "0:00:00.256963", "end": "2025-05-13 05:50:45.625483", "rc": 0, "start": "2025-05-13 05:50:45.368520" } TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:729 Tuesday 13 May 2025 05:50:45 -0400 (0:00:00.635) 0:00:32.304 *********** fatal: [managed-node1]: FAILED! => {} MSG: The conditional check '__firewall_is_booted' failed. The error was: error while evaluating conditional (__firewall_is_booted): '__firewall_is_booted' is undefined The error appears to be in '/tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml': line 729, column 15, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Reload firewalld ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=30 changed=2 unreachable=0 failed=2 skipped=15 rescued=0 ignored=0 Tuesday 13 May 2025 05:50:45 -0400 (0:00:00.032) 0:00:32.336 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 14.93s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.97s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Reset default zone to defaults ------------------------------------------ 0.91s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.75s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Get default zone -------------------------------------------------------- 0.73s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Reset default zone to defaults ------------------------------------------ 0.71s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:714 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.69s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Reset public zone to defaults ------------------------------------------- 0.68s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Reset drop zone to defaults --------------------------------------------- 0.68s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Reset public zone to defaults ------------------------------------------- 0.68s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:708 Reset dmz zone to defaults ---------------------------------------------- 0.67s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Reset dmz zone to defaults ---------------------------------------------- 0.66s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:696 Reset trusted zone to defaults ------------------------------------------ 0.66s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:690 Reset trusted zone to defaults ------------------------------------------ 0.66s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Reset drop zone to defaults --------------------------------------------- 0.65s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:702 Remove custom zone ------------------------------------------------------ 0.64s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Create custom zone ------------------------------------------------------ 0.64s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Reset internal zone to defaults ----------------------------------------- 0.64s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Reset default zone ------------------------------------------------------ 0.64s /tmp/collections-Ojv/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:720