ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 03 August 2024 01:21:35 -0400 (0:00:00.020) 0:00:00.020 ******* included: /tmp/tmp.iciTbUhvbM/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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 01:21:35 -0400 (0:00:00.018) 0:00:00.039 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 03 August 2024 01:21:36 -0400 (0:00:00.754) 0:00:00.794 ******* 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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 03 August 2024 01:21:36 -0400 (0:00:00.452) 0:00:01.247 ******* 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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 03 August 2024 01:21:36 -0400 (0:00:00.035) 0:00:01.282 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 03 August 2024 01:21:36 -0400 (0:00:00.352) 0:00:01.634 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 03 August 2024 01:21:37 -0400 (0:00:00.051) 0:00:01.686 ******* 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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 03 August 2024 01:21:39 -0400 (0:00:02.885) 0:00:04.571 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 03 August 2024 01:21:39 -0400 (0:00:00.035) 0:00:04.606 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 03 August 2024 01:21:39 -0400 (0:00:00.031) 0:00:04.638 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 03 August 2024 01:21:39 -0400 (0:00:00.033) 0:00:04.671 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 03 August 2024 01:21:40 -0400 (0:00:00.031) 0:00:04.703 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 03 August 2024 01:21:40 -0400 (0:00:00.043) 0:00:04.746 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 01:20:38 EDT", "ActiveEnterTimestampMonotonic": "192959866", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service sysinit.target basic.target system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 01:20:38 EDT", "AssertTimestampMonotonic": "192474476", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-03 01:20:38 EDT", "ConditionTimestampMonotonic": "192474475", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service nftables.service iptables.service ipset.service shutdown.target ebtables.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": "8121", "ExecMainStartTimestamp": "Sat 2024-08-03 01:20:38 EDT", "ExecMainStartTimestampMonotonic": "192476020", "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:38 EDT] ; stop_time=[n/a] ; pid=8121 ; 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:38 EDT", "InactiveExitTimestampMonotonic": "192476077", "InvocationID": "7fb0a8d73cf644148ec9a44aecffe748", "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": "8121", "MemoryAccounting": "yes", "MemoryCurrent": "46182400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-03 01:20:38 EDT", "StateChangeTimestampMonotonic": "192959866", "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:38 EDT", "WatchdogTimestampMonotonic": "192959863", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 03 August 2024 01:21:40 -0400 (0:00:00.656) 0:00:05.403 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 01:20:38 EDT", "ActiveEnterTimestampMonotonic": "192959866", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service sysinit.target basic.target system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 01:20:38 EDT", "AssertTimestampMonotonic": "192474476", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-03 01:20:38 EDT", "ConditionTimestampMonotonic": "192474475", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service nftables.service iptables.service ipset.service shutdown.target ebtables.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": "8121", "ExecMainStartTimestamp": "Sat 2024-08-03 01:20:38 EDT", "ExecMainStartTimestampMonotonic": "192476020", "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:38 EDT] ; stop_time=[n/a] ; pid=8121 ; 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:38 EDT", "InactiveExitTimestampMonotonic": "192476077", "InvocationID": "7fb0a8d73cf644148ec9a44aecffe748", "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": "8121", "MemoryAccounting": "yes", "MemoryCurrent": "46182400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-03 01:20:38 EDT", "StateChangeTimestampMonotonic": "192959866", "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:38 EDT", "WatchdogTimestampMonotonic": "192959863", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.481) 0:00:05.884 ******* 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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.036) 0:00:05.921 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.031) 0:00:05.952 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.031) 0:00:05.984 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.034) 0:00:06.019 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.032) 0:00:06.051 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 03 August 2024 01:21:41 -0400 (0:00:00.034) 0:00:06.085 ******* 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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 03 August 2024 01:21:42 -0400 (0:00:00.623) 0:00:06.709 ******* 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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 03 August 2024 01:21:42 -0400 (0:00:00.038) 0:00:06.747 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 03 August 2024 01:21:42 -0400 (0:00:00.033) 0:00:06.780 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 03 August 2024 01:21:42 -0400 (0:00:00.031) 0:00:06.811 ******* skipping: [managed_node1] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=12 changed=0 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Saturday 03 August 2024 01:21:42 -0400 (0:00:00.032) 0:00:06.843 ******* =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.89s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.75s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.66s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.62s /tmp/tmp.iciTbUhvbM/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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.45s /tmp/tmp.iciTbUhvbM/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.35s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 fedora.linux_system_roles.firewall : Set flag if transactional-update exists --- 0.05s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.04s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Update firewalld_config fact ------- 0.04s /tmp/tmp.iciTbUhvbM/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.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes --- 0.04s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.04s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Update firewalld_config fact ------- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 fedora.linux_system_roles.firewall : Fail if reboot is needed and not set --- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmp.iciTbUhvbM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43