ansible-playbook [core 2.17.5]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /tmp/collections-JPL
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.6 (main, Sep  9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True
No config file found; using defaults
running playbook inside collection fedora.linux_system_roles
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

PLAYBOOK: tests_issue_234.yml **************************************************
1 plays in /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml

PLAY [Test issue 234] **********************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:2
Tuesday 15 October 2024  18:45:27 -0400 (0:00:00.011)       0:00:00.011 ******* 
[WARNING]: Platform linux on host managed-node3 is using the discovered Python
interpreter at /usr/bin/python3.12, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [managed-node3]

TASK [Setup firewalld] *********************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:8
Tuesday 15 October 2024  18:45:28 -0400 (0:00:01.280)       0:00:01.292 ******* 
included: fedora.linux_system_roles.firewall for managed-node3

TASK [fedora.linux_system_roles.firewall : Setup firewalld] ********************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2
Tuesday 15 October 2024  18:45:28 -0400 (0:00:00.050)       0:00:01.342 ******* 
included: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3

TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2
Tuesday 15 October 2024  18:45:28 -0400 (0:00:00.025)       0:00:01.367 ******* 
skipping: [managed-node3] => {
    "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-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10
Tuesday 15 October 2024  18:45:28 -0400 (0:00:00.042)       0:00:01.410 ******* 
ok: [managed-node3] => {
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15
Tuesday 15 October 2024  18:45:28 -0400 (0:00:00.455)       0:00:01.866 ******* 
ok: [managed-node3] => {
    "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-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22
Tuesday 15 October 2024  18:45:28 -0400 (0:00:00.036)       0:00:01.902 ******* 
ok: [managed-node3] => {
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27
Tuesday 15 October 2024  18:45:29 -0400 (0:00:00.398)       0:00:02.301 ******* 
ok: [managed-node3] => {
    "ansible_facts": {
        "__firewall_is_transactional": false
    },
    "changed": false
}

TASK [fedora.linux_system_roles.firewall : Install firewalld] ******************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31
Tuesday 15 October 2024  18:45:29 -0400 (0:00:00.036)       0:00:02.337 ******* 
ok: [managed-node3] => {
    "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-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43
Tuesday 15 October 2024  18:45:31 -0400 (0:00:01.655)       0:00:03.993 ******* 
skipping: [managed-node3] => {
    "false_condition": "__firewall_is_transactional | d(false)"
}

TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48
Tuesday 15 October 2024  18:45:31 -0400 (0:00:00.054)       0:00:04.048 ******* 
skipping: [managed-node3] => {
    "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-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53
Tuesday 15 October 2024  18:45:31 -0400 (0:00:00.056)       0:00:04.104 ******* 
skipping: [managed-node3] => {
    "changed": false,
    "false_condition": "__firewall_is_transactional | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.firewall : Collect service facts] **************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5
Tuesday 15 October 2024  18:45:31 -0400 (0:00:00.049)       0:00:04.154 ******* 
skipping: [managed-node3] => {
    "changed": false,
    "false_condition": "firewall_disable_conflicting_services | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9
Tuesday 15 October 2024  18:45:31 -0400 (0:00:00.037)       0:00:04.191 ******* 
skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] ***********
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22
Tuesday 15 October 2024  18:45:31 -0400 (0:00:00.047)       0:00:04.238 ******* 
ok: [managed-node3] => {
    "changed": false,
    "name": "firewalld",
    "status": {
        "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0",
        "ActiveEnterTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "ActiveEnterTimestampMonotonic": "280352815",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "dbus.socket basic.target polkit.service system.slice sysinit.target dbus-broker.service",
        "AllowIsolate": "no",
        "AssertResult": "yes",
        "AssertTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "AssertTimestampMonotonic": "279550790",
        "Before": "network-pre.target shutdown.target multi-user.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "BusName": "org.fedoraproject.FirewallD1",
        "CPUAccounting": "yes",
        "CPUAffinityFromNUMA": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUQuotaPeriodUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "[not set]",
        "CPUUsageNSec": "5749235000",
        "CPUWeight": "[not set]",
        "CacheDirectoryMode": "0755",
        "CanFreeze": "yes",
        "CanIsolate": "no",
        "CanReload": "yes",
        "CanStart": "yes",
        "CanStop": "yes",
        "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore",
        "CleanResult": "success",
        "CollectMode": "inactive",
        "ConditionResult": "yes",
        "ConditionTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "ConditionTimestampMonotonic": "279550787",
        "ConfigurationDirectoryMode": "0755",
        "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ipset.service ip6tables.service",
        "ControlGroup": "/system.slice/firewalld.service",
        "ControlGroupId": "5009",
        "ControlPID": "0",
        "CoredumpFilter": "0x33",
        "CoredumpReceive": "no",
        "DefaultDependencies": "yes",
        "DefaultMemoryLow": "0",
        "DefaultMemoryMin": "0",
        "DefaultStartupMemoryLow": "0",
        "Delegate": "no",
        "Description": "firewalld - dynamic firewall daemon",
        "DevicePolicy": "auto",
        "Documentation": "\"man:firewalld(1)\"",
        "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf",
        "DynamicUser": "no",
        "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "3480",
        "ExecMainStartTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "ExecMainStartTimestampMonotonic": "279561667",
        "ExecMainStatus": "0",
        "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExitType": "main",
        "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FileDescriptorStorePreserve": "restart",
        "FinalKillSignal": "9",
        "FragmentPath": "/usr/lib/systemd/system/firewalld.service",
        "FreezerState": "running",
        "GID": "[not set]",
        "GuessMainPID": "yes",
        "IOAccounting": "no",
        "IOReadBytes": "[not set]",
        "IOReadOperations": "[not set]",
        "IOSchedulingClass": "2",
        "IOSchedulingPriority": "4",
        "IOWeight": "[not set]",
        "IOWriteBytes": "[not set]",
        "IOWriteOperations": "[not set]",
        "IPAccounting": "no",
        "IPEgressBytes": "[no data]",
        "IPEgressPackets": "[no data]",
        "IPIngressBytes": "[no data]",
        "IPIngressPackets": "[no data]",
        "Id": "firewalld.service",
        "IgnoreOnIsolate": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "InactiveExitTimestampMonotonic": "279562041",
        "InvocationID": "197937920c1f4edabffb04ba6a8d8334",
        "JobRunningTimeoutUSec": "infinity",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "infinity",
        "KeyringMode": "private",
        "KillMode": "mixed",
        "KillSignal": "15",
        "LimitAS": "infinity",
        "LimitASSoft": "infinity",
        "LimitCORE": "infinity",
        "LimitCORESoft": "infinity",
        "LimitCPU": "infinity",
        "LimitCPUSoft": "infinity",
        "LimitDATA": "infinity",
        "LimitDATASoft": "infinity",
        "LimitFSIZE": "infinity",
        "LimitFSIZESoft": "infinity",
        "LimitLOCKS": "infinity",
        "LimitLOCKSSoft": "infinity",
        "LimitMEMLOCK": "8388608",
        "LimitMEMLOCKSoft": "8388608",
        "LimitMSGQUEUE": "819200",
        "LimitMSGQUEUESoft": "819200",
        "LimitNICE": "0",
        "LimitNICESoft": "0",
        "LimitNOFILE": "524288",
        "LimitNOFILESoft": "1024",
        "LimitNPROC": "14721",
        "LimitNPROCSoft": "14721",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "14721",
        "LimitSIGPENDINGSoft": "14721",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "3480",
        "ManagedOOMMemoryPressure": "auto",
        "ManagedOOMMemoryPressureLimit": "0",
        "ManagedOOMPreference": "none",
        "ManagedOOMSwap": "auto",
        "MemoryAccounting": "yes",
        "MemoryAvailable": "3421487104",
        "MemoryCurrent": "37019648",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryKSM": "no",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemoryPeak": "38027264",
        "MemoryPressureThresholdUSec": "200ms",
        "MemoryPressureWatch": "auto",
        "MemorySwapCurrent": "0",
        "MemorySwapMax": "infinity",
        "MemorySwapPeak": "0",
        "MemoryZSwapCurrent": "0",
        "MemoryZSwapMax": "infinity",
        "MountAPIVFS": "no",
        "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAPolicy": "n/a",
        "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMPolicy": "stop",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "OnSuccessJobMode": "fail",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateIPC": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProcSubset": "all",
        "ProtectClock": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectHostname": "no",
        "ProtectKernelLogs": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectProc": "default",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "ReloadResult": "success",
        "ReloadSignal": "1",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "dbus.socket system.slice sysinit.target",
        "Restart": "no",
        "RestartKillSignal": "15",
        "RestartMaxDelayUSec": "infinity",
        "RestartMode": "normal",
        "RestartSteps": "0",
        "RestartUSec": "100ms",
        "RestartUSecNext": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RootEphemeral": "no",
        "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent",
        "RuntimeDirectoryMode": "0755",
        "RuntimeDirectoryPreserve": "no",
        "RuntimeMaxUSec": "infinity",
        "RuntimeRandomizedExtraUSec": "0",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "SetLoginEnvironment": "no",
        "Slice": "system.slice",
        "StandardError": "null",
        "StandardInput": "null",
        "StandardOutput": "null",
        "StartLimitAction": "none",
        "StartLimitBurst": "5",
        "StartLimitIntervalUSec": "10s",
        "StartupBlockIOWeight": "[not set]",
        "StartupCPUShares": "[not set]",
        "StartupCPUWeight": "[not set]",
        "StartupIOWeight": "[not set]",
        "StartupMemoryHigh": "infinity",
        "StartupMemoryLow": "0",
        "StartupMemoryMax": "infinity",
        "StartupMemorySwapMax": "infinity",
        "StartupMemoryZSwapMax": "infinity",
        "StateChangeTimestamp": "Tue 2024-10-15 18:45:04 EDT",
        "StateChangeTimestampMonotonic": "436542549",
        "StateDirectoryMode": "0755",
        "StatusErrno": "0",
        "StopWhenUnneeded": "no",
        "SubState": "running",
        "SuccessAction": "none",
        "SurviveFinalKillSignal": "no",
        "SyslogFacility": "3",
        "SyslogLevel": "6",
        "SyslogLevelPrefix": "yes",
        "SyslogPriority": "30",
        "SystemCallErrorNumber": "2147483646",
        "TTYReset": "no",
        "TTYVHangup": "no",
        "TTYVTDisallocate": "no",
        "TasksAccounting": "yes",
        "TasksCurrent": "4",
        "TasksMax": "4416",
        "TimeoutAbortUSec": "45s",
        "TimeoutCleanUSec": "infinity",
        "TimeoutStartFailureMode": "terminate",
        "TimeoutStartUSec": "45s",
        "TimeoutStopFailureMode": "abort",
        "TimeoutStopUSec": "45s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "dbus",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "enabled",
        "UnitFileState": "enabled",
        "UtmpMode": "init",
        "WantedBy": "multi-user.target",
        "Wants": "network-pre.target",
        "WatchdogSignal": "6",
        "WatchdogTimestampMonotonic": "0",
        "WatchdogUSec": "0"
    }
}

TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28
Tuesday 15 October 2024  18:45:32 -0400 (0:00:00.748)       0:00:04.987 ******* 
ok: [managed-node3] => {
    "changed": false,
    "enabled": true,
    "name": "firewalld",
    "state": "started",
    "status": {
        "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0",
        "ActiveEnterTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "ActiveEnterTimestampMonotonic": "280352815",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "active",
        "After": "dbus.socket basic.target polkit.service system.slice sysinit.target dbus-broker.service",
        "AllowIsolate": "no",
        "AssertResult": "yes",
        "AssertTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "AssertTimestampMonotonic": "279550790",
        "Before": "network-pre.target shutdown.target multi-user.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "BusName": "org.fedoraproject.FirewallD1",
        "CPUAccounting": "yes",
        "CPUAffinityFromNUMA": "no",
        "CPUQuotaPerSecUSec": "infinity",
        "CPUQuotaPeriodUSec": "infinity",
        "CPUSchedulingPolicy": "0",
        "CPUSchedulingPriority": "0",
        "CPUSchedulingResetOnFork": "no",
        "CPUShares": "[not set]",
        "CPUUsageNSec": "5749235000",
        "CPUWeight": "[not set]",
        "CacheDirectoryMode": "0755",
        "CanFreeze": "yes",
        "CanIsolate": "no",
        "CanReload": "yes",
        "CanStart": "yes",
        "CanStop": "yes",
        "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore",
        "CleanResult": "success",
        "CollectMode": "inactive",
        "ConditionResult": "yes",
        "ConditionTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "ConditionTimestampMonotonic": "279550787",
        "ConfigurationDirectoryMode": "0755",
        "Conflicts": "shutdown.target iptables.service ebtables.service nftables.service ipset.service ip6tables.service",
        "ControlGroup": "/system.slice/firewalld.service",
        "ControlGroupId": "5009",
        "ControlPID": "0",
        "CoredumpFilter": "0x33",
        "CoredumpReceive": "no",
        "DefaultDependencies": "yes",
        "DefaultMemoryLow": "0",
        "DefaultMemoryMin": "0",
        "DefaultStartupMemoryLow": "0",
        "Delegate": "no",
        "Description": "firewalld - dynamic firewall daemon",
        "DevicePolicy": "auto",
        "Documentation": "\"man:firewalld(1)\"",
        "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf",
        "DynamicUser": "no",
        "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "3480",
        "ExecMainStartTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "ExecMainStartTimestampMonotonic": "279561667",
        "ExecMainStatus": "0",
        "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "ExitType": "main",
        "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FileDescriptorStorePreserve": "restart",
        "FinalKillSignal": "9",
        "FragmentPath": "/usr/lib/systemd/system/firewalld.service",
        "FreezerState": "running",
        "GID": "[not set]",
        "GuessMainPID": "yes",
        "IOAccounting": "no",
        "IOReadBytes": "[not set]",
        "IOReadOperations": "[not set]",
        "IOSchedulingClass": "2",
        "IOSchedulingPriority": "4",
        "IOWeight": "[not set]",
        "IOWriteBytes": "[not set]",
        "IOWriteOperations": "[not set]",
        "IPAccounting": "no",
        "IPEgressBytes": "[no data]",
        "IPEgressPackets": "[no data]",
        "IPIngressBytes": "[no data]",
        "IPIngressPackets": "[no data]",
        "Id": "firewalld.service",
        "IgnoreOnIsolate": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestamp": "Tue 2024-10-15 18:42:27 EDT",
        "InactiveExitTimestampMonotonic": "279562041",
        "InvocationID": "197937920c1f4edabffb04ba6a8d8334",
        "JobRunningTimeoutUSec": "infinity",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "infinity",
        "KeyringMode": "private",
        "KillMode": "mixed",
        "KillSignal": "15",
        "LimitAS": "infinity",
        "LimitASSoft": "infinity",
        "LimitCORE": "infinity",
        "LimitCORESoft": "infinity",
        "LimitCPU": "infinity",
        "LimitCPUSoft": "infinity",
        "LimitDATA": "infinity",
        "LimitDATASoft": "infinity",
        "LimitFSIZE": "infinity",
        "LimitFSIZESoft": "infinity",
        "LimitLOCKS": "infinity",
        "LimitLOCKSSoft": "infinity",
        "LimitMEMLOCK": "8388608",
        "LimitMEMLOCKSoft": "8388608",
        "LimitMSGQUEUE": "819200",
        "LimitMSGQUEUESoft": "819200",
        "LimitNICE": "0",
        "LimitNICESoft": "0",
        "LimitNOFILE": "524288",
        "LimitNOFILESoft": "1024",
        "LimitNPROC": "14721",
        "LimitNPROCSoft": "14721",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "14721",
        "LimitSIGPENDINGSoft": "14721",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "3480",
        "ManagedOOMMemoryPressure": "auto",
        "ManagedOOMMemoryPressureLimit": "0",
        "ManagedOOMPreference": "none",
        "ManagedOOMSwap": "auto",
        "MemoryAccounting": "yes",
        "MemoryAvailable": "3421261824",
        "MemoryCurrent": "37019648",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryKSM": "no",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemoryPeak": "38027264",
        "MemoryPressureThresholdUSec": "200ms",
        "MemoryPressureWatch": "auto",
        "MemorySwapCurrent": "0",
        "MemorySwapMax": "infinity",
        "MemorySwapPeak": "0",
        "MemoryZSwapCurrent": "0",
        "MemoryZSwapMax": "infinity",
        "MountAPIVFS": "no",
        "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAPolicy": "n/a",
        "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMPolicy": "stop",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "OnSuccessJobMode": "fail",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateIPC": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProcSubset": "all",
        "ProtectClock": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectHostname": "no",
        "ProtectKernelLogs": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectProc": "default",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "ReloadResult": "success",
        "ReloadSignal": "1",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "dbus.socket system.slice sysinit.target",
        "Restart": "no",
        "RestartKillSignal": "15",
        "RestartMaxDelayUSec": "infinity",
        "RestartMode": "normal",
        "RestartSteps": "0",
        "RestartUSec": "100ms",
        "RestartUSecNext": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RootEphemeral": "no",
        "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent",
        "RuntimeDirectoryMode": "0755",
        "RuntimeDirectoryPreserve": "no",
        "RuntimeMaxUSec": "infinity",
        "RuntimeRandomizedExtraUSec": "0",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "SetLoginEnvironment": "no",
        "Slice": "system.slice",
        "StandardError": "null",
        "StandardInput": "null",
        "StandardOutput": "null",
        "StartLimitAction": "none",
        "StartLimitBurst": "5",
        "StartLimitIntervalUSec": "10s",
        "StartupBlockIOWeight": "[not set]",
        "StartupCPUShares": "[not set]",
        "StartupCPUWeight": "[not set]",
        "StartupIOWeight": "[not set]",
        "StartupMemoryHigh": "infinity",
        "StartupMemoryLow": "0",
        "StartupMemoryMax": "infinity",
        "StartupMemorySwapMax": "infinity",
        "StartupMemoryZSwapMax": "infinity",
        "StateChangeTimestamp": "Tue 2024-10-15 18:45:04 EDT",
        "StateChangeTimestampMonotonic": "436542549",
        "StateDirectoryMode": "0755",
        "StatusErrno": "0",
        "StopWhenUnneeded": "no",
        "SubState": "running",
        "SuccessAction": "none",
        "SurviveFinalKillSignal": "no",
        "SyslogFacility": "3",
        "SyslogLevel": "6",
        "SyslogLevelPrefix": "yes",
        "SyslogPriority": "30",
        "SystemCallErrorNumber": "2147483646",
        "TTYReset": "no",
        "TTYVHangup": "no",
        "TTYVTDisallocate": "no",
        "TasksAccounting": "yes",
        "TasksCurrent": "4",
        "TasksMax": "4416",
        "TimeoutAbortUSec": "45s",
        "TimeoutCleanUSec": "infinity",
        "TimeoutStartFailureMode": "terminate",
        "TimeoutStartUSec": "45s",
        "TimeoutStopFailureMode": "abort",
        "TimeoutStopUSec": "45s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "dbus",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "enabled",
        "UnitFileState": "enabled",
        "UtmpMode": "init",
        "WantedBy": "multi-user.target",
        "Wants": "network-pre.target",
        "WatchdogSignal": "6",
        "WatchdogTimestampMonotonic": "0",
        "WatchdogUSec": "0"
    }
}

TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34
Tuesday 15 October 2024  18:45:32 -0400 (0:00:00.532)       0:00:05.520 ******* 
ok: [managed-node3] => {
    "ansible_facts": {
        "__firewall_previous_replaced": true,
        "__firewall_python_cmd": "/usr/bin/python3.12",
        "__firewall_report_changed": true
    },
    "changed": false
}

TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43
Tuesday 15 October 2024  18:45:32 -0400 (0:00:00.045)       0:00:05.565 ******* 
ok: [managed-node3] => {
    "changed": false,
    "rc": 0
}

STDOUT:

5ac184c65a9229835cdd179a0157f807e9cf78989d72bcc66588894e1c0dac10 /etc/firewalld/firewalld.conf



STDERR:

OpenSSH_9.6p1, OpenSSL 3.2.2 4 Jun 2024
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.31.44.140 originally 10.31.44.140
debug2: match not found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.31.44.140 is address
debug1: re-parsing configuration
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.31.44.140 originally 10.31.44.140
debug2: match found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: auto-mux: Trying existing master at '/root/.ansible/cp/86ba3e1988'
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug1: mux_client_request_session: master session id: 2
debug2: Received exit status from master 0
Shared connection to 10.31.44.140 closed.


TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55
Tuesday 15 October 2024  18:45:33 -0400 (0:00:00.701)       0:00:06.266 ******* 
ok: [managed-node3] => {
    "ansible_facts": {
        "__firewall_report_changed": false
    },
    "changed": false
}

TASK [fedora.linux_system_roles.firewall : Configure firewall] *****************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71
Tuesday 15 October 2024  18:45:33 -0400 (0:00:00.043)       0:00:06.310 ******* 
ok: [managed-node3] => (item={'service': ['cockpit', 'dhcpv6-client'], 'state': 'disabled'}) => {
    "__firewall_changed": false,
    "ansible_loop_var": "item",
    "changed": false,
    "item": {
        "service": [
            "cockpit",
            "dhcpv6-client"
        ],
        "state": "disabled"
    }
}
ok: [managed-node3] => (item={'zone': 'public', 'state': 'enabled', 'permanent': True, 'interface': 'ens18', 'services': ['ssh'], 'port': ['80/tcp', '443/tcp'], 'masquerade': True, 'forward_port': [{'port': 1194, 'proto': 'udp', 'toaddr': '192.168.1.1', 'toport': 1195}, {'port': 16001, 'proto': 'tcp', 'toaddr': '192.168.1.21', 'toport': 16001}]}) => {
    "__firewall_changed": false,
    "ansible_loop_var": "item",
    "changed": false,
    "item": {
        "forward_port": [
            {
                "port": 1194,
                "proto": "udp",
                "toaddr": "192.168.1.1",
                "toport": 1195
            },
            {
                "port": 16001,
                "proto": "tcp",
                "toaddr": "192.168.1.21",
                "toport": 16001
            }
        ],
        "interface": "ens18",
        "masquerade": true,
        "permanent": true,
        "port": [
            "80/tcp",
            "443/tcp"
        ],
        "services": [
            "ssh"
        ],
        "state": "enabled",
        "zone": "public"
    }
}

TASK [fedora.linux_system_roles.firewall : Gather firewall config information] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120
Tuesday 15 October 2024  18:45:34 -0400 (0:00:01.194)       0:00:07.504 ******* 
skipping: [managed-node3] => (item={'service': ['cockpit', 'dhcpv6-client'], 'state': 'disabled'})  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "firewall | length == 1",
    "item": {
        "service": [
            "cockpit",
            "dhcpv6-client"
        ],
        "state": "disabled"
    },
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node3] => (item={'zone': 'public', 'state': 'enabled', 'permanent': True, 'interface': 'ens18', 'services': ['ssh'], 'port': ['80/tcp', '443/tcp'], 'masquerade': True, 'forward_port': [{'port': 1194, 'proto': 'udp', 'toaddr': '192.168.1.1', 'toport': 1195}, {'port': 16001, 'proto': 'tcp', 'toaddr': '192.168.1.21', 'toport': 16001}]})  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "firewall | length == 1",
    "item": {
        "forward_port": [
            {
                "port": 1194,
                "proto": "udp",
                "toaddr": "192.168.1.1",
                "toport": 1195
            },
            {
                "port": 16001,
                "proto": "tcp",
                "toaddr": "192.168.1.21",
                "toport": 16001
            }
        ],
        "interface": "ens18",
        "masquerade": true,
        "permanent": true,
        "port": [
            "80/tcp",
            "443/tcp"
        ],
        "services": [
            "ssh"
        ],
        "state": "enabled",
        "zone": "public"
    },
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node3] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] *******
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130
Tuesday 15 October 2024  18:45:34 -0400 (0:00:00.073)       0:00:07.578 ******* 
skipping: [managed-node3] => {
    "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-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139
Tuesday 15 October 2024  18:45:34 -0400 (0:00:00.041)       0:00:07.619 ******* 
skipping: [managed-node3] => {
    "changed": false,
    "false_condition": "firewall == None or firewall | length == 0",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] *******
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144
Tuesday 15 October 2024  18:45:34 -0400 (0:00:00.040)       0:00:07.660 ******* 
skipping: [managed-node3] => {
    "changed": false,
    "false_condition": "firewall == None or firewall | length == 0",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] ***
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153
Tuesday 15 October 2024  18:45:34 -0400 (0:00:00.041)       0:00:07.701 ******* 
ok: [managed-node3] => {
    "changed": false,
    "rc": 0
}

STDOUT:

17f94adb67587371a5030ce434a93299ab14e2b2873529b99b17aea3937a855e /etc/firewalld/zones/public.xml
5ac184c65a9229835cdd179a0157f807e9cf78989d72bcc66588894e1c0dac10 /etc/firewalld/firewalld.conf



STDERR:

OpenSSH_9.6p1, OpenSSL 3.2.2 4 Jun 2024
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.31.44.140 originally 10.31.44.140
debug2: match not found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.31.44.140 is address
debug1: re-parsing configuration
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.31.44.140 originally 10.31.44.140
debug2: match found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: auto-mux: Trying existing master at '/root/.ansible/cp/86ba3e1988'
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug1: mux_client_request_session: master session id: 2
debug2: Received exit status from master 0
Shared connection to 10.31.44.140 closed.


TASK [fedora.linux_system_roles.firewall : Calculate what has changed] *********
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163
Tuesday 15 October 2024  18:45:35 -0400 (0:00:00.318)       0:00:08.020 ******* 
changed: [managed-node3] => {
    "ansible_facts": {
        "firewall_lib_result": {
            "changed": true
        }
    },
    "changed": true
}

TASK [fedora.linux_system_roles.firewall : Show diffs] *************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169
Tuesday 15 October 2024  18:45:35 -0400 (0:00:00.047)       0:00:08.067 ******* 
skipping: [managed-node3] => {
    "false_condition": "__firewall_debug | d(false)"
}

TASK [Debug1] ******************************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:49
Tuesday 15 October 2024  18:45:35 -0400 (0:00:00.056)       0:00:08.124 ******* 
ok: [managed-node3] => {
    "changed": false,
    "cmd": [
        "firewall-cmd",
        "--list-all-zones"
    ],
    "delta": "0:00:00.204120",
    "end": "2024-10-15 18:45:35.776939",
    "rc": 0,
    "start": "2024-10-15 18:45:35.572819"
}

STDOUT:

FedoraServer
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: cockpit dhcpv6-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

FedoraWorkstation
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client samba-client ssh
  ports: 1025-65535/udp 1025-65535/tcp
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

block
  target: %%REJECT%%
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: 
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

dmz
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

drop
  target: DROP
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: 
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

external
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: yes
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

home
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client mdns samba-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

internal
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client mdns samba-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

nm-shared
  target: ACCEPT
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcp dns ssh
  ports: 
  protocols: icmp ipv6-icmp
  forward: no
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
	rule priority="32767" reject

public (default, active)
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: ens18 eth0
  sources: 
  services: mdns ssh
  ports: 80/tcp 443/tcp
  protocols: 
  forward: yes
  masquerade: yes
  forward-ports: 
	port=1194:proto=udp:toport=1195:toaddr=192.168.1.1
	port=16001:proto=tcp:toport=16001:toaddr=192.168.1.21
  source-ports: 
  icmp-blocks: 
  rich rules: 

trusted
  target: ACCEPT
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: 
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

work
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client mdns ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

TASK [Reboot] ******************************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:53
Tuesday 15 October 2024  18:45:35 -0400 (0:00:00.672)       0:00:08.796 ******* 
changed: [managed-node3] => {
    "changed": true,
    "elapsed": 33,
    "rebooted": true
}

TASK [Debug2] ******************************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:56
Tuesday 15 October 2024  18:46:10 -0400 (0:00:34.687)       0:00:43.484 ******* 
ok: [managed-node3] => {
    "changed": false,
    "cmd": [
        "firewall-cmd",
        "--list-all-zones"
    ],
    "delta": "0:00:00.207424",
    "end": "2024-10-15 18:46:10.646587",
    "rc": 0,
    "start": "2024-10-15 18:46:10.439163"
}

STDOUT:

FedoraServer
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: cockpit dhcpv6-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

FedoraWorkstation
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client samba-client ssh
  ports: 1025-65535/udp 1025-65535/tcp
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

block
  target: %%REJECT%%
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: 
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

dmz
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

drop
  target: DROP
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: 
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

external
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: yes
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

home
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client mdns samba-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

internal
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client mdns samba-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

nm-shared
  target: ACCEPT
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcp dns ssh
  ports: 
  protocols: icmp ipv6-icmp
  forward: no
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
	rule priority="32767" reject

public (default, active)
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: ens18 eth0
  sources: 
  services: mdns ssh
  ports: 80/tcp 443/tcp
  protocols: 
  forward: yes
  masquerade: yes
  forward-ports: 
	port=1194:proto=udp:toport=1195:toaddr=192.168.1.1
	port=16001:proto=tcp:toport=16001:toaddr=192.168.1.21
  source-ports: 
  icmp-blocks: 
  rich rules: 

trusted
  target: ACCEPT
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: 
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

work
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: dhcpv6-client mdns ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

TASK [Remove customzone zone] **************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:67
Tuesday 15 October 2024  18:46:11 -0400 (0:00:00.608)       0:00:44.093 ******* 
ok: [managed-node3] => {
    "changed": false,
    "cmd": [
        "firewall-cmd",
        "--permanent",
        "--delete-zone=customzone"
    ],
    "delta": "0:00:00.182870",
    "end": "2024-10-15 18:46:11.189580",
    "failed_when_result": false,
    "rc": 112,
    "start": "2024-10-15 18:46:11.006710"
}

STDERR:

Error: INVALID_ZONE: customzone


MSG:

non-zero return code

TASK [Reset to zone defaults] **************************************************
task path: /tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:73
Tuesday 15 October 2024  18:46:11 -0400 (0:00:00.546)       0:00:44.639 ******* 
ok: [managed-node3] => {
    "changed": false,
    "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n",
    "delta": "0:00:00.989704",
    "end": "2024-10-15 18:46:12.572451",
    "rc": 0,
    "start": "2024-10-15 18:46:11.582747"
}

STDOUT:

success


STDERR:

Error: NO_DEFAULTS: internal
Error: NO_DEFAULTS: external
Error: NO_DEFAULTS: trusted

PLAY RECAP *********************************************************************
managed-node3              : ok=21   changed=2    unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   

Tuesday 15 October 2024  18:46:12 -0400 (0:00:01.285)       0:00:45.924 ******* 
=============================================================================== 
Reboot ----------------------------------------------------------------- 34.69s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:53 
fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.66s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 
Reset to zone defaults -------------------------------------------------- 1.29s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:73 
Gathering Facts --------------------------------------------------------- 1.28s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:2 
fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.19s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 
fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.75s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 
fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.70s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 
Debug1 ------------------------------------------------------------------ 0.67s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:49 
Debug2 ------------------------------------------------------------------ 0.61s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:56 
Remove customzone zone -------------------------------------------------- 0.55s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:67 
fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.53s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 
fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.46s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 
fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.40s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 
fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.32s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 
fedora.linux_system_roles.firewall : Gather firewall config information --- 0.07s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 
fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.06s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 
fedora.linux_system_roles.firewall : Reboot transactional update systems --- 0.06s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 
fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes --- 0.06s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 
Setup firewalld --------------------------------------------------------- 0.05s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:8 
fedora.linux_system_roles.firewall : Fail if reboot is needed and not set --- 0.05s
/tmp/collections-JPL/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53