[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] 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-Ogj 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.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_zone.yml ******************************************************* 1 plays in /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:2 Saturday 31 August 2024 02:17:51 -0400 (0:00:00.007) 0:00:00.007 ******* ok: [managed_node1] TASK [Verify used firewalld zones] ********************************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:13 Saturday 31 August 2024 02:17:52 -0400 (0:00:01.155) 0:00:01.163 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 31 August 2024 02:17:52 -0400 (0:00:00.085) 0:00:01.248 ******* included: /tmp/collections-Ogj/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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 31 August 2024 02:17:52 -0400 (0:00:00.067) 0:00:01.316 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 31 August 2024 02:17:52 -0400 (0:00:00.058) 0:00:01.375 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 31 August 2024 02:17:53 -0400 (0:00:00.525) 0:00:01.900 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 31 August 2024 02:17:53 -0400 (0:00:00.039) 0:00:01.940 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 31 August 2024 02:17:53 -0400 (0:00:00.338) 0:00:02.278 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 31 August 2024 02:17:53 -0400 (0:00:00.040) 0:00:02.318 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 31 August 2024 02:17:56 -0400 (0:00:02.818) 0:00:05.137 ******* skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 31 August 2024 02:17:56 -0400 (0:00:00.044) 0:00:05.181 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 31 August 2024 02:17:56 -0400 (0:00:00.040) 0:00:05.221 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 31 August 2024 02:17:56 -0400 (0:00:00.039) 0:00:05.261 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 31 August 2024 02:17:56 -0400 (0:00:00.042) 0:00:05.303 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 31 August 2024 02:17:56 -0400 (0:00:00.048) 0:00:05.352 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 02:14:46 EDT", "ActiveEnterTimestampMonotonic": "3337303608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket sysinit.target system.slice polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 02:14:45 EDT", "AssertTimestampMonotonic": "3336770340", "Before": "multi-user.target shutdown.target network-pre.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": "yes", "ConditionTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ConditionTimestampMonotonic": "3336770339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service nftables.service ebtables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.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": "26337", "ExecMainStartTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ExecMainStartTimestampMonotonic": "3336771566", "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", "InactiveExitTimestamp": "Sat 2024-08-31 02:14:45 EDT", "InactiveExitTimestampMonotonic": "3336771616", "InvocationID": "5e24a99e802346e78c42d15953b0c3c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26337", "MemoryAccounting": "yes", "MemoryCurrent": "45846528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-31 02:14:46 EDT", "StateChangeTimestampMonotonic": "3337303608", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2024-08-31 02:14:46 EDT", "WatchdogTimestampMonotonic": "3337303605", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 31 August 2024 02:17:57 -0400 (0:00:00.701) 0:00:06.053 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 02:14:46 EDT", "ActiveEnterTimestampMonotonic": "3337303608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket sysinit.target system.slice polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 02:14:45 EDT", "AssertTimestampMonotonic": "3336770340", "Before": "multi-user.target shutdown.target network-pre.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": "yes", "ConditionTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ConditionTimestampMonotonic": "3336770339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service nftables.service ebtables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.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": "26337", "ExecMainStartTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ExecMainStartTimestampMonotonic": "3336771566", "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", "InactiveExitTimestamp": "Sat 2024-08-31 02:14:45 EDT", "InactiveExitTimestampMonotonic": "3336771616", "InvocationID": "5e24a99e802346e78c42d15953b0c3c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26337", "MemoryAccounting": "yes", "MemoryCurrent": "45846528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-31 02:14:46 EDT", "StateChangeTimestampMonotonic": "3337303608", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2024-08-31 02:14:46 EDT", "WatchdogTimestampMonotonic": "3337303605", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 31 August 2024 02:17:58 -0400 (0:00:00.546) 0:00:06.600 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 31 August 2024 02:17:58 -0400 (0:00:00.063) 0:00:06.663 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 31 August 2024 02:17:58 -0400 (0:00:00.039) 0:00:06.702 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 31 August 2024 02:17:58 -0400 (0:00:00.039) 0:00:06.741 ******* ok: [managed_node1] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [managed_node1] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 31 August 2024 02:17:59 -0400 (0:00:01.652) 0:00:08.394 ******* skipping: [managed_node1] => (item={'zone': 'internal', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'external', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "state": "enabled", "zone": "external" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "state": "enabled", "zone": "trusted" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 31 August 2024 02:17:59 -0400 (0:00:00.070) 0:00:08.464 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.044) 0:00:08.508 ******* skipping: [managed_node1] => { "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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.036) 0:00:08.545 ******* skipping: [managed_node1] => { "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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.034) 0:00:08.579 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.035) 0:00:08.614 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.032) 0:00:08.647 ******* skipping: [managed_node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [Fail on missing zones] *************************************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:25 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.035) 0:00:08.682 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_lib_result.changed", "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:32 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.032) 0:00:08.714 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.066) 0:00:08.780 ******* included: /tmp/collections-Ogj/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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.046) 0:00:08.827 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.050) 0:00:08.878 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.054) 0:00:08.932 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.055) 0:00:08.988 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.057) 0:00:09.046 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 31 August 2024 02:18:00 -0400 (0:00:00.061) 0:00:09.108 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 31 August 2024 02:18:03 -0400 (0:00:02.707) 0:00:11.815 ******* skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 31 August 2024 02:18:03 -0400 (0:00:00.035) 0:00:11.850 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 31 August 2024 02:18:03 -0400 (0:00:00.034) 0:00:11.885 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 31 August 2024 02:18:03 -0400 (0:00:00.034) 0:00:11.920 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 31 August 2024 02:18:03 -0400 (0:00:00.033) 0:00:11.953 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 31 August 2024 02:18:03 -0400 (0:00:00.044) 0:00:11.998 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 02:14:46 EDT", "ActiveEnterTimestampMonotonic": "3337303608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket sysinit.target system.slice polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 02:14:45 EDT", "AssertTimestampMonotonic": "3336770340", "Before": "multi-user.target shutdown.target network-pre.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": "yes", "ConditionTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ConditionTimestampMonotonic": "3336770339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service nftables.service ebtables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.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": "26337", "ExecMainStartTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ExecMainStartTimestampMonotonic": "3336771566", "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", "InactiveExitTimestamp": "Sat 2024-08-31 02:14:45 EDT", "InactiveExitTimestampMonotonic": "3336771616", "InvocationID": "5e24a99e802346e78c42d15953b0c3c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26337", "MemoryAccounting": "yes", "MemoryCurrent": "45830144", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-31 02:14:46 EDT", "StateChangeTimestampMonotonic": "3337303608", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2024-08-31 02:14:46 EDT", "WatchdogTimestampMonotonic": "3337303605", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 31 August 2024 02:18:04 -0400 (0:00:00.479) 0:00:12.478 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 02:14:46 EDT", "ActiveEnterTimestampMonotonic": "3337303608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket sysinit.target system.slice polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 02:14:45 EDT", "AssertTimestampMonotonic": "3336770340", "Before": "multi-user.target shutdown.target network-pre.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": "yes", "ConditionTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ConditionTimestampMonotonic": "3336770339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service nftables.service ebtables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.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": "26337", "ExecMainStartTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ExecMainStartTimestampMonotonic": "3336771566", "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", "InactiveExitTimestamp": "Sat 2024-08-31 02:14:45 EDT", "InactiveExitTimestampMonotonic": "3336771616", "InvocationID": "5e24a99e802346e78c42d15953b0c3c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26337", "MemoryAccounting": "yes", "MemoryCurrent": "45830144", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-31 02:14:46 EDT", "StateChangeTimestampMonotonic": "3337303608", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2024-08-31 02:14:46 EDT", "WatchdogTimestampMonotonic": "3337303605", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 31 August 2024 02:18:04 -0400 (0:00:00.489) 0:00:12.967 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 31 August 2024 02:18:04 -0400 (0:00:00.066) 0:00:13.034 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 125431fb0f0e77e66255267a5da843aa1bf0b94b1f1b0cc88c1033a06732ef46 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.8.75 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 31 August 2024 02:18:05 -0400 (0:00:00.983) 0:00:14.018 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 31 August 2024 02:18:05 -0400 (0:00:00.043) 0:00:14.061 ******* ok: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [managed_node1] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [managed_node1] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 31 August 2024 02:18:09 -0400 (0:00:03.543) 0:00:17.605 ******* skipping: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.077) 0:00:17.682 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.035) 0:00:17.718 ******* skipping: [managed_node1] => { "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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.033) 0:00:17.752 ******* skipping: [managed_node1] => { "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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.034) 0:00:17.786 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.8.75 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.336) 0:00:18.122 ******* changed: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.061) 0:00:18.184 ******* skipping: [managed_node1] => { "false_condition": "__firewall_debug | d(false)" } TASK [Fail if no changes are done] ********************************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:60 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.059) 0:00:18.244 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not firewall_lib_result.changed", "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:67 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.045) 0:00:18.289 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.110) 0:00:18.400 ******* included: /tmp/collections-Ogj/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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 31 August 2024 02:18:09 -0400 (0:00:00.050) 0:00:18.451 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 31 August 2024 02:18:10 -0400 (0:00:00.042) 0:00:18.494 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 31 August 2024 02:18:10 -0400 (0:00:00.047) 0:00:18.541 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 31 August 2024 02:18:10 -0400 (0:00:00.039) 0:00:18.581 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 31 August 2024 02:18:10 -0400 (0:00:00.036) 0:00:18.618 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 31 August 2024 02:18:10 -0400 (0:00:00.035) 0:00:18.653 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 31 August 2024 02:18:12 -0400 (0:00:02.690) 0:00:21.344 ******* skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 31 August 2024 02:18:12 -0400 (0:00:00.033) 0:00:21.378 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 31 August 2024 02:18:12 -0400 (0:00:00.034) 0:00:21.412 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 31 August 2024 02:18:12 -0400 (0:00:00.034) 0:00:21.447 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 31 August 2024 02:18:13 -0400 (0:00:00.032) 0:00:21.480 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 31 August 2024 02:18:13 -0400 (0:00:00.043) 0:00:21.523 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 02:14:46 EDT", "ActiveEnterTimestampMonotonic": "3337303608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket sysinit.target system.slice polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 02:14:45 EDT", "AssertTimestampMonotonic": "3336770340", "Before": "multi-user.target shutdown.target network-pre.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": "yes", "ConditionTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ConditionTimestampMonotonic": "3336770339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service nftables.service ebtables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.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": "26337", "ExecMainStartTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ExecMainStartTimestampMonotonic": "3336771566", "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", "InactiveExitTimestamp": "Sat 2024-08-31 02:14:45 EDT", "InactiveExitTimestampMonotonic": "3336771616", "InvocationID": "5e24a99e802346e78c42d15953b0c3c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26337", "MemoryAccounting": "yes", "MemoryCurrent": "45936640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-31 02:14:46 EDT", "StateChangeTimestampMonotonic": "3337303608", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2024-08-31 02:14:46 EDT", "WatchdogTimestampMonotonic": "3337303605", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 31 August 2024 02:18:13 -0400 (0:00:00.480) 0:00:22.004 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 02:14:46 EDT", "ActiveEnterTimestampMonotonic": "3337303608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target dbus.socket sysinit.target system.slice polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 02:14:45 EDT", "AssertTimestampMonotonic": "3336770340", "Before": "multi-user.target shutdown.target network-pre.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": "yes", "ConditionTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ConditionTimestampMonotonic": "3336770339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service nftables.service ebtables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.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": "26337", "ExecMainStartTimestamp": "Sat 2024-08-31 02:14:45 EDT", "ExecMainStartTimestampMonotonic": "3336771566", "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", "InactiveExitTimestamp": "Sat 2024-08-31 02:14:45 EDT", "InactiveExitTimestampMonotonic": "3336771616", "InvocationID": "5e24a99e802346e78c42d15953b0c3c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26337", "MemoryAccounting": "yes", "MemoryCurrent": "45936640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-31 02:14:46 EDT", "StateChangeTimestampMonotonic": "3337303608", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2024-08-31 02:14:46 EDT", "WatchdogTimestampMonotonic": "3337303605", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 31 August 2024 02:18:14 -0400 (0:00:00.474) 0:00:22.478 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 31 August 2024 02:18:14 -0400 (0:00:00.043) 0:00:22.522 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.8.75 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 31 August 2024 02:18:15 -0400 (0:00:00.995) 0:00:23.518 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 31 August 2024 02:18:15 -0400 (0:00:00.037) 0:00:23.556 ******* ok: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [managed_node1] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [managed_node1] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 31 August 2024 02:18:18 -0400 (0:00:03.463) 0:00:27.019 ******* skipping: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 31 August 2024 02:18:18 -0400 (0:00:00.076) 0:00:27.096 ******* 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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 31 August 2024 02:18:18 -0400 (0:00:00.034) 0:00:27.130 ******* skipping: [managed_node1] => { "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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 31 August 2024 02:18:18 -0400 (0:00:00.032) 0:00:27.163 ******* skipping: [managed_node1] => { "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-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 31 August 2024 02:18:18 -0400 (0:00:00.035) 0:00:27.198 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.8.75 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 31 August 2024 02:18:19 -0400 (0:00:00.334) 0:00:27.533 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 31 August 2024 02:18:19 -0400 (0:00:00.041) 0:00:27.574 ******* skipping: [managed_node1] => { "false_condition": "__firewall_debug | d(false)" } TASK [Fail on newly changes] *************************************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:95 Saturday 31 August 2024 02:18:19 -0400 (0:00:00.038) 0:00:27.612 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_lib_result.changed", "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:102 Saturday 31 August 2024 02:18:19 -0400 (0:00:00.033) 0:00:27.646 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.249519", "end": "2024-08-31 02:18:19.806978", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:19.557459" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:108 Saturday 31 August 2024 02:18:19 -0400 (0:00:00.674) 0:00:28.320 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.256450", "end": "2024-08-31 02:18:20.404676", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:20.148226" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:114 Saturday 31 August 2024 02:18:20 -0400 (0:00:00.595) 0:00:28.916 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.248332", "end": "2024-08-31 02:18:20.991781", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:20.743449" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:120 Saturday 31 August 2024 02:18:21 -0400 (0:00:00.587) 0:00:29.503 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.245501", "end": "2024-08-31 02:18:21.578914", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:21.333413" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:126 Saturday 31 August 2024 02:18:21 -0400 (0:00:00.588) 0:00:30.092 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.238042", "end": "2024-08-31 02:18:22.159102", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:21.921060" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:132 Saturday 31 August 2024 02:18:22 -0400 (0:00:00.580) 0:00:30.672 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.237473", "end": "2024-08-31 02:18:22.737174", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:22.499701" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:144 Saturday 31 August 2024 02:18:22 -0400 (0:00:00.580) 0:00:31.253 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.248342", "end": "2024-08-31 02:18:23.332876", "failed_when_result": false, "rc": 0, "start": "2024-08-31 02:18:23.084534" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:150 Saturday 31 August 2024 02:18:23 -0400 (0:00:00.590) 0:00:31.844 ******* ok: [managed_node1] => { "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:01.346974", "end": "2024-08-31 02:18:25.017309", "rc": 0, "start": "2024-08-31 02:18:23.670335" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted PLAY RECAP ********************************************************************* managed_node1 : ok=39 changed=1 unreachable=0 failed=0 skipped=48 rescued=0 ignored=0 Saturday 31 August 2024 02:18:25 -0400 (0:00:01.691) 0:00:33.535 ******* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.54s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.46s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.82s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.71s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.69s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Reset to zone defaults -------------------------------------------------- 1.69s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:150 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.65s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:2 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.00s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.98s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.70s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Verify firewalld zone internal services --------------------------------- 0.67s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:102 Verify firewalld zone internal ports ------------------------------------ 0.60s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:108 Remove customzone zone -------------------------------------------------- 0.59s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:144 Verify custom zone has masquerade added to it --------------------------- 0.59s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:120 Verify firewalld zone internal forward ports ---------------------------- 0.59s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:114 Verify that service http has been added to the default zone dmz --------- 0.58s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:132 Verify custom zone has masquerade added to it --------------------------- 0.58s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:126 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.55s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.53s /tmp/collections-Ogj/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10