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_issue_234.yml ************************************************** 1 plays in /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml PLAY [Test issue 234] ********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:2 Tuesday 15 October 2024 18:46:35 -0400 (0:00:00.034) 0:00:00.034 ******* ok: [managed-node3] META: ran handlers TASK [Setup firewalld] ********************************************************* task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:8 Tuesday 15 October 2024 18:46:36 -0400 (0:00:01.055) 0:00:01.090 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 15 October 2024 18:46:36 -0400 (0:00:00.093) 0:00:01.184 ******* included: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 15 October 2024 18:46:36 -0400 (0:00:00.069) 0:00:01.253 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 15 October 2024 18:46:36 -0400 (0:00:00.097) 0:00:01.351 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 15 October 2024 18:46:37 -0400 (0:00:00.664) 0:00:02.015 ******* ok: [managed-node3] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 15 October 2024 18:46:37 -0400 (0:00:00.043) 0:00:02.058 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 15 October 2024 18:46:37 -0400 (0:00:00.394) 0:00:02.453 ******* ok: [managed-node3] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 15 October 2024 18:46:37 -0400 (0:00:00.060) 0:00:02.514 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 15 October 2024 18:46:40 -0400 (0:00:03.034) 0:00:05.548 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 15 October 2024 18:46:40 -0400 (0:00:00.057) 0:00:05.606 ******* skipping: [managed-node3] => { "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/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 15 October 2024 18:46:40 -0400 (0:00:00.085) 0:00:05.691 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 15 October 2024 18:46:40 -0400 (0:00:00.093) 0:00:05.784 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 15 October 2024 18:46:41 -0400 (0:00:00.069) 0:00:05.853 ******* skipping: [managed-node3] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 15 October 2024 18:46:41 -0400 (0:00:00.093) 0:00:05.947 ******* ok: [managed-node3] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-10-15 18:43:19 EDT", "ActiveEnterTimestampMonotonic": "272393111", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target system.slice basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-15 18:43:19 EDT", "AssertTimestampMonotonic": "272056745", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2024-10-15 18:43:19 EDT", "ConditionTimestampMonotonic": "272056743", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service ebtables.service shutdown.target 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": "7955", "ExecMainStartTimestamp": "Tue 2024-10-15 18:43:19 EDT", "ExecMainStartTimestampMonotonic": "272058716", "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": "Tue 2024-10-15 18:43:19 EDT", "InactiveExitTimestampMonotonic": "272058764", "InvocationID": "b48f050e07654d05ac792f7b0de72bc3", "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": "7955", "MemoryAccounting": "yes", "MemoryCurrent": "47169536", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice 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": "Tue 2024-10-15 18:43:19 EDT", "StateChangeTimestampMonotonic": "272393111", "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": "Tue 2024-10-15 18:43:19 EDT", "WatchdogTimestampMonotonic": "272393108", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 15 October 2024 18:46:41 -0400 (0:00:00.754) 0:00:06.701 ******* ok: [managed-node3] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-15 18:43:19 EDT", "ActiveEnterTimestampMonotonic": "272393111", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target system.slice basic.target polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-15 18:43:19 EDT", "AssertTimestampMonotonic": "272056745", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2024-10-15 18:43:19 EDT", "ConditionTimestampMonotonic": "272056743", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service ebtables.service shutdown.target 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": "7955", "ExecMainStartTimestamp": "Tue 2024-10-15 18:43:19 EDT", "ExecMainStartTimestampMonotonic": "272058716", "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": "Tue 2024-10-15 18:43:19 EDT", "InactiveExitTimestampMonotonic": "272058764", "InvocationID": "b48f050e07654d05ac792f7b0de72bc3", "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": "7955", "MemoryAccounting": "yes", "MemoryCurrent": "47169536", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice 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": "Tue 2024-10-15 18:43:19 EDT", "StateChangeTimestampMonotonic": "272393111", "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": "Tue 2024-10-15 18:43:19 EDT", "WatchdogTimestampMonotonic": "272393108", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 15 October 2024 18:46:42 -0400 (0:00:00.532) 0:00:07.234 ******* ok: [managed-node3] => { "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-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 15 October 2024 18:46:42 -0400 (0:00:00.049) 0:00:07.284 ******* ok: [managed-node3] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.98 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 15 October 2024 18:46:42 -0400 (0:00:00.320) 0:00:07.604 ******* ok: [managed-node3] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 15 October 2024 18:46:42 -0400 (0:00:00.041) 0:00:07.645 ******* changed: [managed-node3] => (item={'service': ['cockpit', 'dhcpv6-client'], 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": [ "cockpit", "dhcpv6-client" ], "state": "disabled" } } changed: [managed-node3] => (item={'zone': 'public', 'state': 'enabled', 'permanent': True, 'interface': 'ens18', 'services': ['ssh'], 'port': ['80/tcp', '443/tcp'], 'masquerade': True, 'forward_port': [{'port': 1194, 'proto': 'udp', 'toaddr': '192.168.1.1', 'toport': 1195}, {'port': 16001, 'proto': 'tcp', 'toaddr': '192.168.1.21', 'toport': 16001}]}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ { "port": 1194, "proto": "udp", "toaddr": "192.168.1.1", "toport": 1195 }, { "port": 16001, "proto": "tcp", "toaddr": "192.168.1.21", "toport": 16001 } ], "interface": "ens18", "masquerade": true, "permanent": true, "port": [ "80/tcp", "443/tcp" ], "services": [ "ssh" ], "state": "enabled", "zone": "public" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 15 October 2024 18:46:44 -0400 (0:00:01.477) 0:00:09.123 ******* skipping: [managed-node3] => (item={'service': ['cockpit', 'dhcpv6-client'], 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": [ "cockpit", "dhcpv6-client" ], "state": "disabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'zone': 'public', 'state': 'enabled', 'permanent': True, 'interface': 'ens18', 'services': ['ssh'], 'port': ['80/tcp', '443/tcp'], 'masquerade': True, 'forward_port': [{'port': 1194, 'proto': 'udp', 'toaddr': '192.168.1.1', 'toport': 1195}, {'port': 16001, 'proto': 'tcp', 'toaddr': '192.168.1.21', 'toport': 16001}]}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ { "port": 1194, "proto": "udp", "toaddr": "192.168.1.1", "toport": 1195 }, { "port": 16001, "proto": "tcp", "toaddr": "192.168.1.21", "toport": 16001 } ], "interface": "ens18", "masquerade": true, "permanent": true, "port": [ "80/tcp", "443/tcp" ], "services": [ "ssh" ], "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.052) 0:00:09.175 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.037) 0:00:09.213 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.037) 0:00:09.251 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.044) 0:00:09.296 ******* ok: [managed-node3] => { "changed": false, "rc": 0 } STDOUT: 84c33ff9c3a116640cae2f85896b66a19692519b9b821612acc955205c738566 /etc/firewalld/zones/public.xml STDERR: Shared connection to 10.31.12.98 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.336) 0:00:09.633 ******* changed: [managed-node3] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.044) 0:00:09.678 ******* skipping: [managed-node3] => {} TASK [Debug1] ****************************************************************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:49 Tuesday 15 October 2024 18:46:44 -0400 (0:00:00.040) 0:00:09.718 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--list-all-zones" ], "delta": "0:00:00.282264", "end": "2024-10-15 18:46:45.658274", "rc": 0, "start": "2024-10-15 18:46:45.376010" } STDOUT: block target: %%REJECT%% icmp-block-inversion: no interfaces: sources: services: ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: dmz target: default icmp-block-inversion: no interfaces: sources: services: ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: drop target: DROP icmp-block-inversion: no interfaces: sources: services: ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: external target: default icmp-block-inversion: no interfaces: sources: services: ssh ports: protocols: forward: no masquerade: yes forward-ports: source-ports: icmp-blocks: rich rules: home target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client mdns samba-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: internal target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client mdns samba-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: nm-shared target: ACCEPT icmp-block-inversion: no interfaces: sources: services: dhcp dns ssh ports: protocols: icmp ipv6-icmp forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: rule priority="32767" reject public (active) target: default icmp-block-inversion: no interfaces: ens18 eth0 sources: services: ssh ports: 80/tcp 443/tcp protocols: forward: no masquerade: yes forward-ports: port=1194:proto=udp:toport=1195:toaddr=192.168.1.1 port=16001:proto=tcp:toport=16001:toaddr=192.168.1.21 source-ports: icmp-blocks: rich rules: trusted target: ACCEPT icmp-block-inversion: no interfaces: sources: services: ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: work target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Reboot] ****************************************************************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:53 Tuesday 15 October 2024 18:46:45 -0400 (0:00:00.790) 0:00:10.509 ******* changed: [managed-node3] => { "changed": true, "elapsed": 28, "rebooted": true } TASK [Debug2] ****************************************************************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:56 Tuesday 15 October 2024 18:47:15 -0400 (0:00:29.326) 0:00:39.836 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--list-all-zones" ], "delta": "0:00:00.342191", "end": "2024-10-15 18:47:15.240791", "rc": 0, "start": "2024-10-15 18:47:14.898600" } STDOUT: block target: %%REJECT%% icmp-block-inversion: no interfaces: sources: services: ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: dmz target: default icmp-block-inversion: no interfaces: sources: services: ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: drop target: DROP icmp-block-inversion: no interfaces: sources: services: ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: external target: default icmp-block-inversion: no interfaces: sources: services: ssh ports: protocols: forward: no masquerade: yes forward-ports: source-ports: icmp-blocks: rich rules: home target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client mdns samba-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: internal target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client mdns samba-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: nm-shared target: ACCEPT icmp-block-inversion: no interfaces: sources: services: dhcp dns ssh ports: protocols: icmp ipv6-icmp forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: rule priority="32767" reject public (active) target: default icmp-block-inversion: no interfaces: ens18 eth0 sources: services: ssh ports: 80/tcp 443/tcp protocols: forward: no masquerade: yes forward-ports: port=1194:proto=udp:toport=1195:toaddr=192.168.1.1 port=16001:proto=tcp:toport=16001:toaddr=192.168.1.21 source-ports: icmp-blocks: rich rules: trusted target: ACCEPT icmp-block-inversion: no interfaces: sources: services: ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: work target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:67 Tuesday 15 October 2024 18:47:15 -0400 (0:00:00.695) 0:00:40.531 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.300404", "end": "2024-10-15 18:47:15.933389", "failed_when_result": false, "rc": 112, "start": "2024-10-15 18:47:15.632985" } STDERR: Error: INVALID_ZONE: customzone MSG: non-zero return code TASK [Reset to zone defaults] ************************************************** task path: /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:73 Tuesday 15 October 2024 18:47:16 -0400 (0:00:00.661) 0:00:41.193 ******* ok: [managed-node3] => { "changed": false, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.618048", "end": "2024-10-15 18:47:17.971109", "rc": 0, "start": "2024-10-15 18:47:16.353061" } STDOUT: success STDERR: Error: NO_DEFAULTS: internal Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=20 changed=3 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Tuesday 15 October 2024 18:47:18 -0400 (0:00:01.858) 0:00:43.052 ******* =============================================================================== Reboot ----------------------------------------------------------------- 29.33s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:53 fedora.linux_system_roles.firewall : Install firewalld ------------------ 3.03s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Reset to zone defaults -------------------------------------------------- 1.86s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:73 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.48s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:2 Debug1 ------------------------------------------------------------------ 0.79s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:49 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.75s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Debug2 ------------------------------------------------------------------ 0.70s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:56 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.66s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Remove customzone zone -------------------------------------------------- 0.66s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:67 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.53s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.39s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.34s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.32s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.10s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Setup firewalld --------------------------------------------------------- 0.09s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_issue_234.yml:8 fedora.linux_system_roles.firewall : Fail if reboot is needed and not set --- 0.09s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.09s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Reboot transactional update systems --- 0.09s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.07s /tmp/collections-iTa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2