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 'jsonl', 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_firewalld_conf.yml ********************************************* 1 plays in /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml PLAY [Test firewalld_conf options] ********************************************* [WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin (): 'Play' object has no attribute 'get_path' META: ran handlers TASK [Start with a clean configuration] **************************************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 Tuesday 20 May 2025 10:05:13 -0400 (0:00:00.045) 0:00:00.045 *********** [WARNING]: Failure using method (v2_runner_on_start) in callback plugin (): 'module' object has no attribute 'timezone' TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 10:05:13 -0400 (0:00:00.161) 0:00:00.207 *********** included: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 10:05:13 -0400 (0:00:00.038) 0:00:00.245 *********** ok: [managed-node2] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 10:05:13 -0400 (0:00:00.733) 0:00:00.979 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 10:05:14 -0400 (0:00:00.428) 0:00:01.407 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 10:05:14 -0400 (0:00:00.059) 0:00:01.467 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 10:05:14 -0400 (0:00:00.288) 0:00:01.755 *********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 20 May 2025 10:05:14 -0400 (0:00:00.046) 0:00:01.802 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 20 May 2025 10:05:15 -0400 (0:00:01.058) 0:00:02.861 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 20 May 2025 10:05:15 -0400 (0:00:00.042) 0:00:02.903 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 20 May 2025 10:05:15 -0400 (0:00:00.041) 0:00:02.945 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 10:05:15 -0400 (0:00:00.041) 0:00:02.986 *********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 10:05:16 -0400 (0:00:00.057) 0:00:03.044 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 10:05:16 -0400 (0:00:00.060) 0:00:03.105 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ActiveEnterTimestampMonotonic": "247700753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 10:05:10 EDT", "AssertTimestampMonotonic": "247364377", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2025-05-20 10:05:10 EDT", "ConditionTimestampMonotonic": "247364375", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "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": "9556", "ExecMainStartTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ExecMainStartTimestampMonotonic": "247365904", "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=[Tue 2025-05-20 10:05:10 EDT] ; stop_time=[n/a] ; pid=9556 ; 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": "Tue 2025-05-20 10:05:10 EDT", "InactiveExitTimestampMonotonic": "247365945", "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": "9556", "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": "Tue 2025-05-20 10:05:10 EDT", "WatchdogTimestampMonotonic": "247700689", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 10:05:16 -0400 (0:00:00.669) 0:00:03.774 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ActiveEnterTimestampMonotonic": "247700753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 10:05:10 EDT", "AssertTimestampMonotonic": "247364377", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2025-05-20 10:05:10 EDT", "ConditionTimestampMonotonic": "247364375", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "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": "9556", "ExecMainStartTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ExecMainStartTimestampMonotonic": "247365904", "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=[Tue 2025-05-20 10:05:10 EDT] ; stop_time=[n/a] ; pid=9556 ; 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": "Tue 2025-05-20 10:05:10 EDT", "InactiveExitTimestampMonotonic": "247365945", "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": "9556", "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": "Tue 2025-05-20 10:05:10 EDT", "WatchdogTimestampMonotonic": "247700689", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.393) 0:00:04.168 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.047) 0:00:04.215 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.045) 0:00:04.260 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.061) 0:00:04.322 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.059) 0:00:04.382 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.052) 0:00:04.435 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.059) 0:00:04.494 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.059) 0:00:04.554 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.043) 0:00:04.597 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.041) 0:00:04.639 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.041) 0:00:04.681 *********** skipping: [managed-node2] => {} TASK [Determine if AllowZoneDrifting is deprecated] **************************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 Tuesday 20 May 2025 10:05:17 -0400 (0:00:00.040) 0:00:04.721 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "AllowZoneDrifting", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003468", "end": "2025-05-20 10:05:18.119187", "failed_when_result": false, "rc": 0, "start": "2025-05-20 10:05:18.115719" } STDOUT: # AllowZoneDrifting AllowZoneDrifting=yes TASK [Set fact allow_zone_drifting_not_deprecated] ***************************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:19 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.461) 0:00:05.182 *********** ok: [managed-node2] => { "ansible_facts": { "allow_zone_drifting_not_deprecated": true }, "changed": false } TASK [Try to disable zone drifting] ******************************************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:23 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.046) 0:00:05.229 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.061) 0:00:05.290 *********** included: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.033) 0:00:05.324 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.043) 0:00:05.368 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.044) 0:00:05.412 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.044) 0:00:05.456 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.050) 0:00:05.506 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 20 May 2025 10:05:18 -0400 (0:00:00.088) 0:00:05.594 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 20 May 2025 10:05:19 -0400 (0:00:00.892) 0:00:06.487 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 20 May 2025 10:05:19 -0400 (0:00:00.042) 0:00:06.529 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 20 May 2025 10:05:19 -0400 (0:00:00.042) 0:00:06.571 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 10:05:19 -0400 (0:00:00.050) 0:00:06.622 *********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 10:05:19 -0400 (0:00:00.058) 0:00:06.680 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 10:05:19 -0400 (0:00:00.086) 0:00:06.767 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ActiveEnterTimestampMonotonic": "247700753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 10:05:10 EDT", "AssertTimestampMonotonic": "247364377", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2025-05-20 10:05:10 EDT", "ConditionTimestampMonotonic": "247364375", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "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": "9556", "ExecMainStartTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ExecMainStartTimestampMonotonic": "247365904", "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=[Tue 2025-05-20 10:05:10 EDT] ; stop_time=[n/a] ; pid=9556 ; 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": "Tue 2025-05-20 10:05:10 EDT", "InactiveExitTimestampMonotonic": "247365945", "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": "9556", "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": "Tue 2025-05-20 10:05:10 EDT", "WatchdogTimestampMonotonic": "247700689", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 10:05:20 -0400 (0:00:00.407) 0:00:07.175 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ActiveEnterTimestampMonotonic": "247700753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 10:05:10 EDT", "AssertTimestampMonotonic": "247364377", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2025-05-20 10:05:10 EDT", "ConditionTimestampMonotonic": "247364375", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "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": "9556", "ExecMainStartTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ExecMainStartTimestampMonotonic": "247365904", "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=[Tue 2025-05-20 10:05:10 EDT] ; stop_time=[n/a] ; pid=9556 ; 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": "Tue 2025-05-20 10:05:10 EDT", "InactiveExitTimestampMonotonic": "247365945", "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": "9556", "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": "Tue 2025-05-20 10:05:10 EDT", "WatchdogTimestampMonotonic": "247700689", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 10:05:20 -0400 (0:00:00.389) 0:00:07.564 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 10:05:20 -0400 (0:00:00.054) 0:00:07.619 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Tuesday 20 May 2025 10:05:20 -0400 (0:00:00.045) 0:00:07.664 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Tuesday 20 May 2025 10:05:20 -0400 (0:00:00.042) 0:00:07.706 *********** changed: [managed-node2] => (item={u'permanent': True, u'firewalld_conf': {u'allow_zone_drifting': False}}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "firewalld_conf": { "allow_zone_drifting": false }, "permanent": true } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Tuesday 20 May 2025 10:05:21 -0400 (0:00:01.014) 0:00:08.721 *********** skipping: [managed-node2] => (item={u'permanent': True, u'firewalld_conf': {u'allow_zone_drifting': False}}) => { "ansible_loop_var": "item", "changed": false, "item": { "firewalld_conf": { "allow_zone_drifting": false }, "permanent": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Tuesday 20 May 2025 10:05:21 -0400 (0:00:00.056) 0:00:08.777 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Tuesday 20 May 2025 10:05:21 -0400 (0:00:00.043) 0:00:08.821 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Tuesday 20 May 2025 10:05:21 -0400 (0:00:00.041) 0:00:08.863 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Tuesday 20 May 2025 10:05:21 -0400 (0:00:00.040) 0:00:08.904 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Tuesday 20 May 2025 10:05:21 -0400 (0:00:00.040) 0:00:08.945 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 10:05:21 -0400 (0:00:00.042) 0:00:08.987 *********** skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is disabled if possible] ********************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.040) 0:00:09.027 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=no", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003197", "end": "2025-05-20 10:05:22.276421", "failed_when_result": false, "rc": 0, "start": "2025-05-20 10:05:22.273224" } STDOUT: AllowZoneDrifting=no TASK [Fail if AllowZoneDrifting disabled and not deprecated] ******************* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:38 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.314) 0:00:09.342 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Try to enable zone drifting] ********************************************* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:45 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.044) 0:00:09.387 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.078) 0:00:09.466 *********** included: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.031) 0:00:09.497 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.045) 0:00:09.543 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.045) 0:00:09.588 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.042) 0:00:09.631 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.055) 0:00:09.686 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 20 May 2025 10:05:22 -0400 (0:00:00.063) 0:00:09.750 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 20 May 2025 10:05:23 -0400 (0:00:00.899) 0:00:10.649 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 20 May 2025 10:05:23 -0400 (0:00:00.058) 0:00:10.708 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 20 May 2025 10:05:23 -0400 (0:00:00.042) 0:00:10.750 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 10:05:23 -0400 (0:00:00.042) 0:00:10.793 *********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 10:05:23 -0400 (0:00:00.057) 0:00:10.850 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 10:05:23 -0400 (0:00:00.077) 0:00:10.928 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ActiveEnterTimestampMonotonic": "247700753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 10:05:10 EDT", "AssertTimestampMonotonic": "247364377", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2025-05-20 10:05:10 EDT", "ConditionTimestampMonotonic": "247364375", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "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": "9556", "ExecMainStartTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ExecMainStartTimestampMonotonic": "247365904", "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=[Tue 2025-05-20 10:05:10 EDT] ; stop_time=[n/a] ; pid=9556 ; 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": "Tue 2025-05-20 10:05:10 EDT", "InactiveExitTimestampMonotonic": "247365945", "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": "9556", "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": "Tue 2025-05-20 10:05:10 EDT", "WatchdogTimestampMonotonic": "247700689", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 10:05:24 -0400 (0:00:00.439) 0:00:11.367 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ActiveEnterTimestampMonotonic": "247700753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 10:05:10 EDT", "AssertTimestampMonotonic": "247364377", "Before": "shutdown.target network-pre.target multi-user.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": "Tue 2025-05-20 10:05:10 EDT", "ConditionTimestampMonotonic": "247364375", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "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": "9556", "ExecMainStartTimestamp": "Tue 2025-05-20 10:05:10 EDT", "ExecMainStartTimestampMonotonic": "247365904", "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=[Tue 2025-05-20 10:05:10 EDT] ; stop_time=[n/a] ; pid=9556 ; 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": "Tue 2025-05-20 10:05:10 EDT", "InactiveExitTimestampMonotonic": "247365945", "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": "9556", "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": "Tue 2025-05-20 10:05:10 EDT", "WatchdogTimestampMonotonic": "247700689", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 10:05:24 -0400 (0:00:00.386) 0:00:11.754 *********** ok: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 10:05:24 -0400 (0:00:00.048) 0:00:11.803 *********** skipping: [managed-node2] => { "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-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:57 Tuesday 20 May 2025 10:05:24 -0400 (0:00:00.041) 0:00:11.844 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 Tuesday 20 May 2025 10:05:24 -0400 (0:00:00.041) 0:00:11.886 *********** changed: [managed-node2] => (item={u'permanent': True, u'firewalld_conf': {u'allow_zone_drifting': True}}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "firewalld_conf": { "allow_zone_drifting": true }, "permanent": true } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 Tuesday 20 May 2025 10:05:25 -0400 (0:00:00.808) 0:00:12.695 *********** skipping: [managed-node2] => (item={u'permanent': True, u'firewalld_conf': {u'allow_zone_drifting': True}}) => { "ansible_loop_var": "item", "changed": false, "item": { "firewalld_conf": { "allow_zone_drifting": true }, "permanent": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:133 Tuesday 20 May 2025 10:05:25 -0400 (0:00:00.098) 0:00:12.794 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:142 Tuesday 20 May 2025 10:05:25 -0400 (0:00:00.053) 0:00:12.847 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:147 Tuesday 20 May 2025 10:05:25 -0400 (0:00:00.055) 0:00:12.903 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:156 Tuesday 20 May 2025 10:05:25 -0400 (0:00:00.052) 0:00:12.956 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:166 Tuesday 20 May 2025 10:05:26 -0400 (0:00:00.042) 0:00:12.998 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 10:05:26 -0400 (0:00:00.040) 0:00:13.039 *********** skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is enabled if possible] *********************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:54 Tuesday 20 May 2025 10:05:26 -0400 (0:00:00.040) 0:00:13.080 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=yes", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003246", "end": "2025-05-20 10:05:26.308951", "failed_when_result": false, "rc": 0, "start": "2025-05-20 10:05:26.305705" } STDOUT: AllowZoneDrifting=yes TASK [Fail if AllowZoneDrifting disabled if not deprecated] ******************** task path: /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:60 Tuesday 20 May 2025 10:05:26 -0400 (0:00:00.305) 0:00:13.385 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=26 changed=2 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 20 May 2025 10:05:26 -0400 (0:00:00.064) 0:00:13.450 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.06s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.01s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.90s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.89s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.81s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:73 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.73s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.67s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Determine if AllowZoneDrifting is deprecated ---------------------------- 0.46s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.44s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.43s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.41s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.39s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.39s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.39s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Check if AllowZoneDrifting is disabled if possible ---------------------- 0.31s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Check if AllowZoneDrifting is enabled if possible ----------------------- 0.31s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:54 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.29s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Start with a clean configuration ---------------------------------------- 0.16s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.10s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:123 fedora.linux_system_roles.firewall : Set flag if transactional-update exists --- 0.09s /tmp/collections-eZr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27