ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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_interface_pci.yml ********************************************** 1 plays in /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml PLAY [Test interfaces with PCI ids] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Friday 16 May 2025 02:08:56 -0400 (0:00:00.039) 0:00:00.039 ************ ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 16 May 2025 02:08:58 -0400 (0:00:01.982) 0:00:02.022 ************ included: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 16 May 2025 02:08:58 -0400 (0:00:00.035) 0:00:02.057 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 16 May 2025 02:08:58 -0400 (0:00:00.129) 0:00:02.187 ************ ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 16 May 2025 02:08:59 -0400 (0:00:00.430) 0:00:02.618 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 16 May 2025 02:08:59 -0400 (0:00:00.074) 0:00:02.693 ************ ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 16 May 2025 02:08:59 -0400 (0:00:00.349) 0:00:03.043 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 16 May 2025 02:08:59 -0400 (0:00:00.047) 0:00:03.090 ************ ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 16 May 2025 02:09:00 -0400 (0:00:00.763) 0:00:03.854 ************ skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 16 May 2025 02:09:00 -0400 (0:00:00.042) 0:00:03.896 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 16 May 2025 02:09:00 -0400 (0:00:00.048) 0:00:03.945 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 16 May 2025 02:09:00 -0400 (0:00:00.055) 0:00:04.000 ************ 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 : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 16 May 2025 02:09:00 -0400 (0:00:00.082) 0:00:04.083 ************ skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Friday 16 May 2025 02:09:00 -0400 (0:00:00.088) 0:00:04.171 ************ ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Friday 16 May 2025 02:09:01 -0400 (0:00:00.819) 0:00:04.991 ************ ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 16 May 2025 02:09:01 -0400 (0:00:00.387) 0:00:05.378 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Friday 16 May 2025 02:09:01 -0400 (0:00:00.045) 0:00:05.423 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Friday 16 May 2025 02:09:01 -0400 (0:00:00.047) 0:00:05.471 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Friday 16 May 2025 02:09:01 -0400 (0:00:00.057) 0:00:05.528 ************ TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Friday 16 May 2025 02:09:02 -0400 (0:00:00.061) 0:00:05.590 ************ TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Friday 16 May 2025 02:09:02 -0400 (0:00:00.062) 0:00:05.652 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Friday 16 May 2025 02:09:02 -0400 (0:00:00.064) 0:00:05.717 ************ ok: [managed-node1] => { "changed": false, "firewall_config": { "custom": { "services": { "customservice": { "description": "Custom Service that does not do a single thing", "modules": [], "protocols": [ "ipv6" ], "short": "Custom service", "source_ports": [ [ "333", "tcp" ] ], "version": "" } }, "zones": { "dmz": { "description": "For computers in your demilitarized zone that are publicly-accessible with limited access to your internal network. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh" ], "short": "DMZ", "source_ports": [], "sources": [], "target": "default", "version": "" }, "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Friday 16 May 2025 02:09:03 -0400 (0:00:00.813) 0:00:06.531 ************ ok: [managed-node1] => { "ansible_facts": { "firewall_config": { "custom": { "services": { "customservice": { "description": "Custom Service that does not do a single thing", "modules": [], "protocols": [ "ipv6" ], "short": "Custom service", "source_ports": [ [ "333", "tcp" ] ], "version": "" } }, "zones": { "dmz": { "description": "For computers in your demilitarized zone that are publicly-accessible with limited access to your internal network. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh" ], "short": "DMZ", "source_ports": [], "sources": [], "target": "default", "version": "" }, "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Friday 16 May 2025 02:09:03 -0400 (0:00:00.092) 0:00:06.624 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Friday 16 May 2025 02:09:03 -0400 (0:00:00.058) 0:00:06.682 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Friday 16 May 2025 02:09:03 -0400 (0:00:00.047) 0:00:06.730 ************ skipping: [managed-node1] => {} TASK [Get backend from dbus] *************************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:10 Friday 16 May 2025 02:09:03 -0400 (0:00:00.051) 0:00:06.781 ************ fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "dbus-send", "--system", "--print-reply", "--type=method_call", "--dest=org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1/config", "org.freedesktop.DBus.Properties.Get", "string:org.fedoraproject.FirewallD1.config", "string:FirewallBackend" ], "delta": "0:00:00.006555", "end": "2025-05-16 02:09:03.660201", "rc": 1, "start": "2025-05-16 02:09:03.653646" } STDERR: Error org.freedesktop.DBus.Python.dbus.exceptions.DBusException: org.freedesktop.DBus.Error.InvalidArgs: Property 'FirewallBackend' does not exist MSG: non-zero return code ...ignoring TASK [Get backend from result] ************************************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Friday 16 May 2025 02:09:03 -0400 (0:00:00.473) 0:00:07.255 ************ ok: [managed-node1] => { "ansible_facts": { "nftables_backend": false }, "changed": false } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:28 Friday 16 May 2025 02:09:03 -0400 (0:00:00.075) 0:00:07.331 ************ TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 16 May 2025 02:09:03 -0400 (0:00:00.079) 0:00:07.410 ************ included: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 16 May 2025 02:09:03 -0400 (0:00:00.060) 0:00:07.470 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 16 May 2025 02:09:04 -0400 (0:00:00.066) 0:00:07.537 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 16 May 2025 02:09:04 -0400 (0:00:00.063) 0:00:07.601 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 16 May 2025 02:09:04 -0400 (0:00:00.059) 0:00:07.660 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 16 May 2025 02:09:04 -0400 (0:00:00.066) 0:00:07.727 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 16 May 2025 02:09:04 -0400 (0:00:00.070) 0:00:07.798 ************ ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 16 May 2025 02:09:04 -0400 (0:00:00.658) 0:00:08.456 ************ skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 16 May 2025 02:09:04 -0400 (0:00:00.068) 0:00:08.524 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 16 May 2025 02:09:05 -0400 (0:00:00.067) 0:00:08.592 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 16 May 2025 02:09:05 -0400 (0:00:00.069) 0:00:08.661 ************ 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 : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 16 May 2025 02:09:05 -0400 (0:00:00.082) 0:00:08.744 ************ skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Friday 16 May 2025 02:09:05 -0400 (0:00:00.076) 0:00:08.820 ************ ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Friday 16 May 2025 02:09:05 -0400 (0:00:00.438) 0:00:09.259 ************ ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 16 May 2025 02:09:06 -0400 (0:00:00.477) 0:00:09.736 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Friday 16 May 2025 02:09:06 -0400 (0:00:00.068) 0:00:09.804 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Friday 16 May 2025 02:09:06 -0400 (0:00:00.064) 0:00:09.868 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Friday 16 May 2025 02:09:06 -0400 (0:00:00.066) 0:00:09.935 ************ ok: [managed-node1] => (item={u'state': u'enabled', u'permanent': True, u'interface_pci_id': u'1af4:0001', u'zone': u'internal'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "interface_pci_id": "1af4:0001", "permanent": true, "state": "enabled", "zone": "internal" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Friday 16 May 2025 02:09:07 -0400 (0:00:00.741) 0:00:10.676 ************ skipping: [managed-node1] => (item={u'state': u'enabled', u'permanent': True, u'interface_pci_id': u'1af4:0001', u'zone': u'internal'}) => { "ansible_loop_var": "item", "changed": false, "item": { "interface_pci_id": "1af4:0001", "permanent": true, "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Friday 16 May 2025 02:09:07 -0400 (0:00:00.065) 0:00:10.741 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Friday 16 May 2025 02:09:07 -0400 (0:00:00.060) 0:00:10.801 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Friday 16 May 2025 02:09:07 -0400 (0:00:00.060) 0:00:10.862 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Friday 16 May 2025 02:09:07 -0400 (0:00:00.063) 0:00:10.925 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Friday 16 May 2025 02:09:07 -0400 (0:00:00.048) 0:00:10.974 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Friday 16 May 2025 02:09:07 -0400 (0:00:00.054) 0:00:11.028 ************ skipping: [managed-node1] => {} TASK [Add pci device again] **************************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:38 Friday 16 May 2025 02:09:07 -0400 (0:00:00.046) 0:00:11.075 ************ TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 16 May 2025 02:09:07 -0400 (0:00:00.048) 0:00:11.124 ************ included: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 16 May 2025 02:09:07 -0400 (0:00:00.036) 0:00:11.161 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 16 May 2025 02:09:07 -0400 (0:00:00.045) 0:00:11.206 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 16 May 2025 02:09:07 -0400 (0:00:00.043) 0:00:11.249 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 16 May 2025 02:09:07 -0400 (0:00:00.041) 0:00:11.290 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 16 May 2025 02:09:07 -0400 (0:00:00.041) 0:00:11.332 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 16 May 2025 02:09:07 -0400 (0:00:00.041) 0:00:11.374 ************ ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 16 May 2025 02:09:08 -0400 (0:00:00.620) 0:00:11.995 ************ skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 16 May 2025 02:09:08 -0400 (0:00:00.065) 0:00:12.060 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 16 May 2025 02:09:08 -0400 (0:00:00.052) 0:00:12.113 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 16 May 2025 02:09:08 -0400 (0:00:00.051) 0:00:12.165 ************ 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 : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 16 May 2025 02:09:08 -0400 (0:00:00.060) 0:00:12.225 ************ skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Friday 16 May 2025 02:09:08 -0400 (0:00:00.060) 0:00:12.286 ************ ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Friday 16 May 2025 02:09:09 -0400 (0:00:00.445) 0:00:12.732 ************ ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 16 May 2025 02:09:09 -0400 (0:00:00.415) 0:00:13.148 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Friday 16 May 2025 02:09:09 -0400 (0:00:00.068) 0:00:13.216 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Friday 16 May 2025 02:09:09 -0400 (0:00:00.064) 0:00:13.280 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Friday 16 May 2025 02:09:09 -0400 (0:00:00.064) 0:00:13.345 ************ ok: [managed-node1] => (item={u'state': u'enabled', u'permanent': True, u'interface_pci_id': u'1af4:0001', u'zone': u'internal'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "interface_pci_id": "1af4:0001", "permanent": true, "state": "enabled", "zone": "internal" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Friday 16 May 2025 02:09:10 -0400 (0:00:00.653) 0:00:13.999 ************ skipping: [managed-node1] => (item={u'state': u'enabled', u'permanent': True, u'interface_pci_id': u'1af4:0001', u'zone': u'internal'}) => { "ansible_loop_var": "item", "changed": false, "item": { "interface_pci_id": "1af4:0001", "permanent": true, "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Friday 16 May 2025 02:09:10 -0400 (0:00:00.053) 0:00:14.052 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Friday 16 May 2025 02:09:10 -0400 (0:00:00.043) 0:00:14.096 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Friday 16 May 2025 02:09:10 -0400 (0:00:00.041) 0:00:14.138 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Friday 16 May 2025 02:09:10 -0400 (0:00:00.042) 0:00:14.181 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Friday 16 May 2025 02:09:10 -0400 (0:00:00.047) 0:00:14.229 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Friday 16 May 2025 02:09:10 -0400 (0:00:00.057) 0:00:14.287 ************ skipping: [managed-node1] => {} TASK [Assert pcid not in nftable ruleset] ************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:48 Friday 16 May 2025 02:09:10 -0400 (0:00:00.063) 0:00:14.350 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert pcid not in iptables rules] *************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:55 Friday 16 May 2025 02:09:10 -0400 (0:00:00.065) 0:00:14.416 ************ ok: [managed-node1] => { "changed": false, "cmd": [ "iptables", "-S" ], "delta": "0:00:00.004976", "end": "2025-05-16 02:09:11.223670", "failed_when_result": false, "rc": 0, "start": "2025-05-16 02:09:11.218694" } STDOUT: -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N FORWARD_IN_ZONES -N FORWARD_IN_ZONES_SOURCE -N FORWARD_OUT_ZONES -N FORWARD_OUT_ZONES_SOURCE -N FORWARD_direct -N FWDI_public -N FWDI_public_allow -N FWDI_public_deny -N FWDI_public_log -N FWDI_trusted -N FWDI_trusted_allow -N FWDI_trusted_deny -N FWDI_trusted_log -N FWDO_public -N FWDO_public_allow -N FWDO_public_deny -N FWDO_public_log -N FWDO_trusted -N FWDO_trusted_allow -N FWDO_trusted_deny -N FWDO_trusted_log -N INPUT_ZONES -N INPUT_ZONES_SOURCE -N INPUT_direct -N IN_public -N IN_public_allow -N IN_public_deny -N IN_public_log -N IN_trusted -N IN_trusted_allow -N IN_trusted_deny -N IN_trusted_log -N OUTPUT_direct -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -j INPUT_direct -A INPUT -j INPUT_ZONES_SOURCE -A INPUT -j INPUT_ZONES -A INPUT -m conntrack --ctstate INVALID -j DROP -A INPUT -j REJECT --reject-with icmp-host-prohibited -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A FORWARD -i lo -j ACCEPT -A FORWARD -j FORWARD_direct -A FORWARD -j FORWARD_IN_ZONES_SOURCE -A FORWARD -j FORWARD_IN_ZONES -A FORWARD -j FORWARD_OUT_ZONES_SOURCE -A FORWARD -j FORWARD_OUT_ZONES -A FORWARD -m conntrack --ctstate INVALID -j DROP -A FORWARD -j REJECT --reject-with icmp-host-prohibited -A OUTPUT -o lo -j ACCEPT -A OUTPUT -j OUTPUT_direct -A FORWARD_IN_ZONES -i eth2 -g FWDI_trusted -A FORWARD_IN_ZONES -i eth0 -g FWDI_public -A FORWARD_IN_ZONES -g FWDI_public -A FORWARD_OUT_ZONES -o eth2 -g FWDO_trusted -A FORWARD_OUT_ZONES -o eth0 -g FWDO_public -A FORWARD_OUT_ZONES -g FWDO_public -A FWDI_public -j FWDI_public_log -A FWDI_public -j FWDI_public_deny -A FWDI_public -j FWDI_public_allow -A FWDI_public -p icmp -j ACCEPT -A FWDI_trusted -j FWDI_trusted_log -A FWDI_trusted -j FWDI_trusted_deny -A FWDI_trusted -j FWDI_trusted_allow -A FWDI_trusted -j ACCEPT -A FWDO_public -j FWDO_public_log -A FWDO_public -j FWDO_public_deny -A FWDO_public -j FWDO_public_allow -A FWDO_trusted -j FWDO_trusted_log -A FWDO_trusted -j FWDO_trusted_deny -A FWDO_trusted -j FWDO_trusted_allow -A FWDO_trusted -j ACCEPT -A INPUT_ZONES -i eth2 -g IN_trusted -A INPUT_ZONES -i eth0 -g IN_public -A INPUT_ZONES -g IN_public -A IN_public -j IN_public_log -A IN_public -j IN_public_deny -A IN_public -j IN_public_allow -A IN_public -p icmp -j ACCEPT -A IN_public_allow -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW,UNTRACKED -j ACCEPT -A IN_trusted -j IN_trusted_log -A IN_trusted -j IN_trusted_deny -A IN_trusted -j IN_trusted_allow -A IN_trusted -j ACCEPT TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:62 Friday 16 May 2025 02:09:11 -0400 (0:00:00.444) 0:00:14.861 ************ TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 16 May 2025 02:09:11 -0400 (0:00:00.079) 0:00:14.941 ************ included: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 16 May 2025 02:09:11 -0400 (0:00:00.098) 0:00:15.039 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 16 May 2025 02:09:11 -0400 (0:00:00.061) 0:00:15.101 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 16 May 2025 02:09:11 -0400 (0:00:00.052) 0:00:15.154 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 16 May 2025 02:09:11 -0400 (0:00:00.056) 0:00:15.210 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 16 May 2025 02:09:11 -0400 (0:00:00.049) 0:00:15.260 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 16 May 2025 02:09:11 -0400 (0:00:00.044) 0:00:15.304 ************ ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 16 May 2025 02:09:12 -0400 (0:00:00.659) 0:00:15.963 ************ skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 16 May 2025 02:09:12 -0400 (0:00:00.048) 0:00:16.012 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 16 May 2025 02:09:12 -0400 (0:00:00.043) 0:00:16.055 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 16 May 2025 02:09:12 -0400 (0:00:00.045) 0:00:16.101 ************ 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 : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 16 May 2025 02:09:12 -0400 (0:00:00.061) 0:00:16.162 ************ skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Friday 16 May 2025 02:09:12 -0400 (0:00:00.063) 0:00:16.226 ************ ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Friday 16 May 2025 02:09:13 -0400 (0:00:00.414) 0:00:16.640 ************ ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 16 May 2025 02:09:13 -0400 (0:00:00.467) 0:00:17.108 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Friday 16 May 2025 02:09:13 -0400 (0:00:00.050) 0:00:17.159 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Friday 16 May 2025 02:09:13 -0400 (0:00:00.045) 0:00:17.204 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Friday 16 May 2025 02:09:13 -0400 (0:00:00.046) 0:00:17.250 ************ ok: [managed-node1] => (item={u'state': u'disabled', u'permanent': True, u'interface_pci_id': u'1af4:0001', u'zone': u'internal'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "interface_pci_id": "1af4:0001", "permanent": true, "state": "disabled", "zone": "internal" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Friday 16 May 2025 02:09:14 -0400 (0:00:00.569) 0:00:17.819 ************ skipping: [managed-node1] => (item={u'state': u'disabled', u'permanent': True, u'interface_pci_id': u'1af4:0001', u'zone': u'internal'}) => { "ansible_loop_var": "item", "changed": false, "item": { "interface_pci_id": "1af4:0001", "permanent": true, "state": "disabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Friday 16 May 2025 02:09:14 -0400 (0:00:00.053) 0:00:17.873 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Friday 16 May 2025 02:09:14 -0400 (0:00:00.060) 0:00:17.934 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Friday 16 May 2025 02:09:14 -0400 (0:00:00.057) 0:00:17.991 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Friday 16 May 2025 02:09:14 -0400 (0:00:00.066) 0:00:18.057 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Friday 16 May 2025 02:09:14 -0400 (0:00:00.065) 0:00:18.123 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Friday 16 May 2025 02:09:14 -0400 (0:00:00.063) 0:00:18.186 ************ skipping: [managed-node1] => {} TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Friday 16 May 2025 02:09:14 -0400 (0:00:00.064) 0:00:18.251 ************ TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 16 May 2025 02:09:14 -0400 (0:00:00.150) 0:00:18.401 ************ included: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 16 May 2025 02:09:14 -0400 (0:00:00.056) 0:00:18.458 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 16 May 2025 02:09:14 -0400 (0:00:00.066) 0:00:18.524 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 16 May 2025 02:09:15 -0400 (0:00:00.062) 0:00:18.586 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 16 May 2025 02:09:15 -0400 (0:00:00.064) 0:00:18.650 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 16 May 2025 02:09:15 -0400 (0:00:00.066) 0:00:18.717 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 16 May 2025 02:09:15 -0400 (0:00:00.072) 0:00:18.789 ************ ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 16 May 2025 02:09:15 -0400 (0:00:00.706) 0:00:19.496 ************ skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 16 May 2025 02:09:16 -0400 (0:00:00.056) 0:00:19.552 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 16 May 2025 02:09:16 -0400 (0:00:00.068) 0:00:19.620 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 16 May 2025 02:09:16 -0400 (0:00:00.068) 0:00:19.689 ************ 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 : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 16 May 2025 02:09:16 -0400 (0:00:00.090) 0:00:19.780 ************ skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Friday 16 May 2025 02:09:16 -0400 (0:00:00.095) 0:00:19.876 ************ ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Friday 16 May 2025 02:09:16 -0400 (0:00:00.444) 0:00:20.320 ************ ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ActiveEnterTimestampMonotonic": "278174544", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 02:08:04 EDT", "AssertTimestampMonotonic": "277935644", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ConditionTimestampMonotonic": "277935643", "Conflicts": "ebtables.service ipset.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9566", "ExecMainStartTimestamp": "Fri 2025-05-16 02:08:04 EDT", "ExecMainStartTimestampMonotonic": "277936829", "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=[Fri 2025-05-16 02:08:04 EDT] ; stop_time=[n/a] ; pid=9566 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-05-16 02:08:04 EDT", "InactiveExitTimestampMonotonic": "277937280", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9566", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-05-16 02:08:04 EDT", "WatchdogTimestampMonotonic": "278174489", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 16 May 2025 02:09:17 -0400 (0:00:00.438) 0:00:20.759 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Friday 16 May 2025 02:09:17 -0400 (0:00:00.067) 0:00:20.827 ************ ok: [managed-node1] => { "changed": false, "rc": 0 } STDOUT: 490e604682bd0e5e6459d3d88f87ebacadb454f72a1f45802424bfc1d0310893 /etc/firewalld/services/customservice.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.45.1 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Friday 16 May 2025 02:09:18 -0400 (0:00:01.020) 0:00:21.847 ************ ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Friday 16 May 2025 02:09:18 -0400 (0:00:00.073) 0:00:21.921 ************ TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Friday 16 May 2025 02:09:18 -0400 (0:00:00.065) 0:00:21.986 ************ TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Friday 16 May 2025 02:09:18 -0400 (0:00:00.062) 0:00:22.048 ************ 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/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Friday 16 May 2025 02:09:18 -0400 (0:00:00.080) 0:00:22.129 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Friday 16 May 2025 02:09:18 -0400 (0:00:00.067) 0:00:22.197 ************ skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Friday 16 May 2025 02:09:18 -0400 (0:00:00.071) 0:00:22.269 ************ ok: [managed-node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.45.1 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Friday 16 May 2025 02:09:19 -0400 (0:00:00.416) 0:00:22.685 ************ changed: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Friday 16 May 2025 02:09:19 -0400 (0:00:00.067) 0:00:22.753 ************ skipping: [managed-node1] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=42 changed=1 unreachable=0 failed=0 skipped=88 rescued=0 ignored=1 Friday 16 May 2025 02:09:19 -0400 (0:00:00.050) 0:00:22.803 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.98s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.02s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.82s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.81s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.76s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.71s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.65s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.62s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.57s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Get backend from dbus --------------------------------------------------- 0.47s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:10 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.47s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.45s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Assert pcid not in iptables rules --------------------------------------- 0.44s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:55 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.44s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.44s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.43s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.42s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.42s /tmp/collections-zbz/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30