[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.9] 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/tmp.NykSBoCYAB 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_default.yml **************************************************** 1 plays in /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 03 August 2024 01:21:28 -0400 (0:00:00.011) 0:00:00.011 ******* included: /tmp/tmp.NykSBoCYAB/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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 01:21:28 -0400 (0:00:00.034) 0:00:00.045 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 03 August 2024 01:21:29 -0400 (0:00:00.765) 0:00:00.811 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 03 August 2024 01:21:29 -0400 (0:00:00.412) 0:00:01.223 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 03 August 2024 01:21:29 -0400 (0:00:00.018) 0:00:01.242 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 03 August 2024 01:21:29 -0400 (0:00:00.324) 0:00:01.566 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 03 August 2024 01:21:29 -0400 (0:00:00.019) 0:00:01.586 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 03 August 2024 01:21:32 -0400 (0:00:02.947) 0:00:04.534 ******* skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 03 August 2024 01:21:32 -0400 (0:00:00.029) 0:00:04.563 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 03 August 2024 01:21:32 -0400 (0:00:00.028) 0:00:04.592 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 03 August 2024 01:21:32 -0400 (0:00:00.027) 0:00:04.620 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 03 August 2024 01:21:32 -0400 (0:00:00.027) 0:00:04.648 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 03 August 2024 01:21:32 -0400 (0:00:00.033) 0:00:04.681 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 01:20:34 EDT", "ActiveEnterTimestampMonotonic": "171222432", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service dbus.service sysinit.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 01:20:33 EDT", "AssertTimestampMonotonic": "170555560", "Before": "shutdown.target multi-user.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-03 01:20:33 EDT", "ConditionTimestampMonotonic": "170555558", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service ipset.service ip6tables.service nftables.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": "8465", "ExecMainStartTimestamp": "Sat 2024-08-03 01:20:33 EDT", "ExecMainStartTimestampMonotonic": "170558973", "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=[Sat 2024-08-03 01:20:33 EDT] ; stop_time=[n/a] ; pid=8465 ; 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-03 01:20:33 EDT", "InactiveExitTimestampMonotonic": "170559030", "InvocationID": "9c55007930624f59acc7218633078e58", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8465", "MemoryAccounting": "yes", "MemoryCurrent": "46993408", "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-03 01:20:34 EDT", "StateChangeTimestampMonotonic": "171222432", "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": "22405", "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-03 01:20:34 EDT", "WatchdogTimestampMonotonic": "171222429", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 03 August 2024 01:21:33 -0400 (0:00:00.668) 0:00:05.349 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 01:20:34 EDT", "ActiveEnterTimestampMonotonic": "171222432", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service dbus.service sysinit.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 01:20:33 EDT", "AssertTimestampMonotonic": "170555560", "Before": "shutdown.target multi-user.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-03 01:20:33 EDT", "ConditionTimestampMonotonic": "170555558", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ebtables.service ipset.service ip6tables.service nftables.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": "8465", "ExecMainStartTimestamp": "Sat 2024-08-03 01:20:33 EDT", "ExecMainStartTimestampMonotonic": "170558973", "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=[Sat 2024-08-03 01:20:33 EDT] ; stop_time=[n/a] ; pid=8465 ; 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-03 01:20:33 EDT", "InactiveExitTimestampMonotonic": "170559030", "InvocationID": "9c55007930624f59acc7218633078e58", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8465", "MemoryAccounting": "yes", "MemoryCurrent": "46993408", "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-03 01:20:34 EDT", "StateChangeTimestampMonotonic": "171222432", "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": "22405", "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-03 01:20:34 EDT", "WatchdogTimestampMonotonic": "171222429", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.476) 0:00:05.826 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.035) 0:00:05.861 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.026) 0:00:05.888 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.027) 0:00:05.916 ******* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.033) 0:00:05.949 ******* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.034) 0:00:05.983 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.028) 0:00:06.011 ******* ok: [managed_node1] => { "changed": false, "firewall_config": { "custom": { "services": { "customservice": { "description": "Custom Service that does not do a single thing", "destination": { "ipv4": "123.45.6.78", "ipv6": "aaaa:aaaa:aaaa:aaa:aaaa:aaaa:aaaa::" }, "helpers": [], "includes": [], "modules": [], "ports": [ [ "333", "tcp" ] ], "protocols": [ "ipv6" ], "short": "Custom service", "source_ports": [ [ "333", "tcp" ] ], "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type", "unknown-option", "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown" ], "policies": [ "allow-host-ipv6" ], "services": [ "RH-Satellite-6", "amanda-client", "amanda-k5-client", "amqp", "amqps", "apcupsd", "audit", "bacula-client", "bacula", "bb", "bgp", "bitcoin-rpc", "bitcoin-testnet-rpc", "bitcoin-testnet", "bitcoin", "bittorrent-lsd", "ceph-mon", "ceph", "cfengine", "cockpit", "collectd", "condor-collector", "ctdb", "dhcp", "dhcpv6-client", "dhcpv6", "distcc", "dns-over-tls", "dns", "docker-registry", "docker-swarm", "dropbox-lansync", "elasticsearch", "etcd-client", "etcd-server", "finger", "foreman-proxy", "foreman", "freeipa-4", "freeipa-ldap", "freeipa-ldaps", "freeipa-replication", "freeipa-trust", "ftp", "galera", "ganglia-client", "ganglia-master", "git", "grafana", "gre", "high-availability", "http", "https", "imap", "imaps", "ipp-client", "ipp", "ipsec", "irc", "ircs", "iscsi-target", "isns", "jenkins", "kadmin", "kdeconnect", "kerberos", "kibana", "klogin", "kpasswd", "kprop", "kshell", "kube-apiserver", "ldap", "ldaps", "libvirt-tls", "libvirt", "lightning-network", "llmnr", "managesieve", "matrix", "mdns", "memcache", "minidlna", "mongodb", "mosh", "mountd", "mqtt-tls", "mqtt", "ms-wbt", "mssql", "murmur", "mysql", "nbd", "nfs", "nfs3", "nmea-0183", "nrpe", "ntp", "nut", "openvpn", "ovirt-imageio", "ovirt-storageconsole", "ovirt-vmconsole", "plex", "pmcd", "pmproxy", "pmwebapi", "pmwebapis", "pop3", "pop3s", "postgresql", "privoxy", "prometheus", "proxy-dhcp", "ptp", "pulseaudio", "puppetmaster", "quassel", "radius", "rdp", "redis-sentinel", "redis", "rpc-bind", "rquotad", "rsh", "rsyncd", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server", "RH-Satellite-6-capsule", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.603) 0:00:06.615 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_config": { "custom": { "services": { "customservice": { "description": "Custom Service that does not do a single thing", "destination": { "ipv4": "123.45.6.78", "ipv6": "aaaa:aaaa:aaaa:aaa:aaaa:aaaa:aaaa::" }, "helpers": [], "includes": [], "modules": [], "ports": [ [ "333", "tcp" ] ], "protocols": [ "ipv6" ], "short": "Custom service", "source_ports": [ [ "333", "tcp" ] ], "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type", "unknown-option", "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown" ], "policies": [ "allow-host-ipv6" ], "services": [ "RH-Satellite-6", "amanda-client", "amanda-k5-client", "amqp", "amqps", "apcupsd", "audit", "bacula-client", "bacula", "bb", "bgp", "bitcoin-rpc", "bitcoin-testnet-rpc", "bitcoin-testnet", "bitcoin", "bittorrent-lsd", "ceph-mon", "ceph", "cfengine", "cockpit", "collectd", "condor-collector", "ctdb", "dhcp", "dhcpv6-client", "dhcpv6", "distcc", "dns-over-tls", "dns", "docker-registry", "docker-swarm", "dropbox-lansync", "elasticsearch", "etcd-client", "etcd-server", "finger", "foreman-proxy", "foreman", "freeipa-4", "freeipa-ldap", "freeipa-ldaps", "freeipa-replication", "freeipa-trust", "ftp", "galera", "ganglia-client", "ganglia-master", "git", "grafana", "gre", "high-availability", "http", "https", "imap", "imaps", "ipp-client", "ipp", "ipsec", "irc", "ircs", "iscsi-target", "isns", "jenkins", "kadmin", "kdeconnect", "kerberos", "kibana", "klogin", "kpasswd", "kprop", "kshell", "kube-apiserver", "ldap", "ldaps", "libvirt-tls", "libvirt", "lightning-network", "llmnr", "managesieve", "matrix", "mdns", "memcache", "minidlna", "mongodb", "mosh", "mountd", "mqtt-tls", "mqtt", "ms-wbt", "mssql", "murmur", "mysql", "nbd", "nfs", "nfs3", "nmea-0183", "nrpe", "ntp", "nut", "openvpn", "ovirt-imageio", "ovirt-storageconsole", "ovirt-vmconsole", "plex", "pmcd", "pmproxy", "pmwebapi", "pmwebapis", "pop3", "pop3s", "postgresql", "privoxy", "prometheus", "proxy-dhcp", "ptp", "pulseaudio", "puppetmaster", "quassel", "radius", "rdp", "redis-sentinel", "redis", "rpc-bind", "rquotad", "rsh", "rsyncd", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server", "RH-Satellite-6-capsule", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.038) 0:00:06.654 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.029) 0:00:06.683 ******* 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/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.026) 0:00:06.710 ******* skipping: [managed_node1] => { "false_condition": "__firewall_previous_replaced | bool" } PLAY RECAP ********************************************************************* managed_node1 : ok=12 changed=0 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Saturday 03 August 2024 01:21:34 -0400 (0:00:00.032) 0:00:06.743 ******* =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.95s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.77s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.67s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.60s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.48s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.41s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.32s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 fedora.linux_system_roles.firewall : Update firewalld_config fact ------- 0.04s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.04s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes --- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 fedora.linux_system_roles.firewall : Reboot transactional update systems --- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 fedora.linux_system_roles.firewall : Update firewalld_config fact ------- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 fedora.linux_system_roles.firewall : Collect service facts -------------- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 fedora.linux_system_roles.firewall : Fail if reboot is needed and not set --- 0.03s /tmp/tmp.NykSBoCYAB/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53