ansible-playbook [core 2.16.14] 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-MyO executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 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-MyO/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-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Tuesday 13 May 2025 06:00:04 -0400 (0:00:00.008) 0:00:00.008 *********** ok: [managed-node1] TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 13 May 2025 06:00:05 -0400 (0:00:01.356) 0:00:01.365 *********** included: /tmp/collections-MyO/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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 13 May 2025 06:00:05 -0400 (0:00:00.022) 0:00:01.388 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 13 May 2025 06:00:05 -0400 (0:00:00.034) 0:00:01.423 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 13 May 2025 06:00:06 -0400 (0:00:00.505) 0:00:01.928 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 13 May 2025 06:00:06 -0400 (0:00:00.031) 0:00:01.960 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 13 May 2025 06:00:06 -0400 (0:00:00.389) 0:00:02.349 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 13 May 2025 06:00:06 -0400 (0:00:00.033) 0:00:02.383 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 13 May 2025 06:00:22 -0400 (0:00:15.679) 0:00:18.062 *********** skipping: [managed-node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 13 May 2025 06:00:22 -0400 (0:00:00.033) 0:00:18.095 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 13 May 2025 06:00:22 -0400 (0:00:00.032) 0:00:18.128 *********** skipping: [managed-node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 13 May 2025 06:00:22 -0400 (0:00:00.036) 0:00:18.164 *********** 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 : Disable conflicting services] ******* task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 13 May 2025 06:00:22 -0400 (0:00:00.050) 0:00:18.215 *********** skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'nftables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "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', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'iptables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "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', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'ufw', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Stop conflicting services] ********** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:23 Tuesday 13 May 2025 06:00:22 -0400 (0:00:00.040) 0:00:18.256 *********** skipping: [managed-node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'nftables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "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', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'iptables', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "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', 'false_condition': 'firewall_disable_conflicting_services | bool', 'item': 'ufw', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Tuesday 13 May 2025 06:00:22 -0400 (0:00:00.039) 0:00:18.295 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target polkit.service dbus.service dbus.socket 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": "nftables.service iptables.service ebtables.service ip6tables.service ipset.service shutdown.target", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "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": "22405", "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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Tuesday 13 May 2025 06:00:23 -0400 (0:00:00.725) 0:00:19.021 *********** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service sysinit.target system.slice dbus.service dbus.socket basic.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 ebtables.service nftables.service ipset.service ip6tables.service iptables.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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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": "22405", "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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:44 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.981) 0:00:20.002 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:53 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.039) 0:00:20.041 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:65 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.030) 0:00:20.072 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.029) 0:00:20.101 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.037) 0:00:20.139 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:141 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.036) 0:00:20.175 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Tuesday 13 May 2025 06:00:24 -0400 (0:00:00.032) 0:00:20.207 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:155 Tuesday 13 May 2025 06:00:25 -0400 (0:00:00.717) 0:00:20.925 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 13 May 2025 06:00:25 -0400 (0:00:00.041) 0:00:20.967 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:174 Tuesday 13 May 2025 06:00:25 -0400 (0:00:00.029) 0:00:20.996 *********** 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-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:180 Tuesday 13 May 2025 06:00:25 -0400 (0:00:00.028) 0:00:21.025 *********** skipping: [managed-node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [Get default zone] ******************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Tuesday 13 May 2025 06:00:25 -0400 (0:00:00.032) 0:00:21.058 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--get-default-zone" ], "delta": "0:00:00.263010", "end": "2025-05-13 06:00:26.008120", "rc": 0, "start": "2025-05-13 06:00:25.745110" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Tuesday 13 May 2025 06:00:26 -0400 (0:00:00.707) 0:00:21.765 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--delete-zone=custom" ], "delta": "0:00:00.260726", "end": "2025-05-13 06:00:26.616026", "failed_when_result": false, "rc": 112, "start": "2025-05-13 06:00:26.355300" } STDERR: INVALID_ZONE: get_zone(): custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Tuesday 13 May 2025 06:00:26 -0400 (0:00:00.616) 0:00:22.381 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=internal" ], "delta": "0:00:00.259246", "end": "2025-05-13 06:00:27.243540", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:26.984294" } STDERR: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Tuesday 13 May 2025 06:00:27 -0400 (0:00:00.625) 0:00:23.006 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=trusted" ], "delta": "0:00:00.258275", "end": "2025-05-13 06:00:27.875253", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:27.616978" } STDERR: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Tuesday 13 May 2025 06:00:27 -0400 (0:00:00.627) 0:00:23.634 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=dmz" ], "delta": "0:00:00.259661", "end": "2025-05-13 06:00:28.482345", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:28.222684" } STDERR: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Tuesday 13 May 2025 06:00:28 -0400 (0:00:00.615) 0:00:24.249 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=drop" ], "delta": "0:00:00.263880", "end": "2025-05-13 06:00:29.126816", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:28.862936" } STDERR: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Tuesday 13 May 2025 06:00:29 -0400 (0:00:00.635) 0:00:24.885 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=public" ], "delta": "0:00:00.261656", "end": "2025-05-13 06:00:29.738727", "failed_when_result": false, "rc": 0, "start": "2025-05-13 06:00:29.477071" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Tuesday 13 May 2025 06:00:29 -0400 (0:00:00.612) 0:00:25.498 *********** 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.528026", "end": "2025-05-13 06:00:30.629862", "failed_when_result": false, "rc": 0, "start": "2025-05-13 06:00:30.101836" } STDOUT: success TASK [Create custom zone] ****************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Tuesday 13 May 2025 06:00:30 -0400 (0:00:00.892) 0:00:26.391 *********** changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-offline-cmd", "--new-zone=custom" ], "delta": "0:00:00.267145", "end": "2025-05-13 06:00:31.260929", "failed_when_result": false, "rc": 0, "start": "2025-05-13 06:00:30.993784" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Tuesday 13 May 2025 06:00:31 -0400 (0:00:00.629) 0:00:27.020 *********** 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. '__firewall_is_booted' is undefined The error appears to be in '/tmp/collections-MyO/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-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:672 Tuesday 13 May 2025 06:00:31 -0400 (0:00:00.014) 0:00:27.034 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--delete-zone=custom" ], "delta": "0:00:00.262728", "end": "2025-05-13 06:00:31.890296", "failed_when_result": false, "rc": 0, "start": "2025-05-13 06:00:31.627568" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:678 Tuesday 13 May 2025 06:00:31 -0400 (0:00:00.615) 0:00:27.649 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--delete-zone=customzone" ], "delta": "0:00:00.261853", "end": "2025-05-13 06:00:32.506266", "failed_when_result": false, "rc": 112, "start": "2025-05-13 06:00:32.244413" } STDERR: INVALID_ZONE: get_zone(): customzone MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:684 Tuesday 13 May 2025 06:00:32 -0400 (0:00:00.616) 0:00:28.266 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=internal" ], "delta": "0:00:00.262108", "end": "2025-05-13 06:00:33.124242", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:32.862134" } STDERR: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:690 Tuesday 13 May 2025 06:00:33 -0400 (0:00:00.623) 0:00:28.889 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=trusted" ], "delta": "0:00:00.261573", "end": "2025-05-13 06:00:33.746090", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:33.484517" } STDERR: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:696 Tuesday 13 May 2025 06:00:33 -0400 (0:00:00.629) 0:00:29.518 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=dmz" ], "delta": "0:00:00.263064", "end": "2025-05-13 06:00:34.414599", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:34.151535" } STDERR: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:702 Tuesday 13 May 2025 06:00:34 -0400 (0:00:00.655) 0:00:30.174 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=drop" ], "delta": "0:00:00.263026", "end": "2025-05-13 06:00:35.033312", "failed_when_result": false, "rc": 22, "start": "2025-05-13 06:00:34.770286" } STDERR: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:708 Tuesday 13 May 2025 06:00:35 -0400 (0:00:00.618) 0:00:30.792 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=public" ], "delta": "0:00:00.266811", "end": "2025-05-13 06:00:35.663960", "failed_when_result": false, "rc": 0, "start": "2025-05-13 06:00:35.397149" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:714 Tuesday 13 May 2025 06:00:35 -0400 (0:00:00.637) 0:00:31.430 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--load-zone-defaults=public" ], "delta": "0:00:00.266500", "end": "2025-05-13 06:00:36.295609", "failed_when_result": false, "rc": 0, "start": "2025-05-13 06:00:36.029109" } STDOUT: success TASK [Reset default zone] ****************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:720 Tuesday 13 May 2025 06:00:36 -0400 (0:00:00.625) 0:00:32.055 *********** 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.266288", "end": "2025-05-13 06:00:36.933708", "rc": 0, "start": "2025-05-13 06:00:36.667420" } TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:729 Tuesday 13 May 2025 06:00:36 -0400 (0:00:00.636) 0:00:32.692 *********** 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. '__firewall_is_booted' is undefined The error appears to be in '/tmp/collections-MyO/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 TASKS RECAP ******************************************************************** Tuesday 13 May 2025 06:00:36 -0400 (0:00:00.010) 0:00:32.703 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 15.68s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Gathering Facts --------------------------------------------------------- 1.36s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.98s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Reset default zone to defaults ------------------------------------------ 0.89s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.73s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.72s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Get default zone -------------------------------------------------------- 0.71s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Reset dmz zone to defaults ---------------------------------------------- 0.66s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:696 Reset public zone to defaults ------------------------------------------- 0.64s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:708 Reset default zone ------------------------------------------------------ 0.64s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:720 Reset drop zone to defaults --------------------------------------------- 0.64s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Reset trusted zone to defaults ------------------------------------------ 0.63s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:690 Create custom zone ------------------------------------------------------ 0.63s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Reset trusted zone to defaults ------------------------------------------ 0.63s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Reset default zone to defaults ------------------------------------------ 0.63s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:714 Reset internal zone to defaults ----------------------------------------- 0.63s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Reset internal zone to defaults ----------------------------------------- 0.62s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:684 Reset drop zone to defaults --------------------------------------------- 0.62s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:702 Remove custom zone ------------------------------------------------------ 0.62s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Remove customzone zone -------------------------------------------------- 0.62s /tmp/collections-MyO/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:678