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-I5U/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-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 Tuesday 20 May 2025 12:52:49 -0400 (0:00:00.026) 0:00:00.026 *********** [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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:52:49 -0400 (0:00:00.104) 0:00:00.130 *********** included: /tmp/collections-I5U/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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:52:49 -0400 (0:00:00.044) 0:00:00.174 *********** ok: [managed-node2] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:52:49 -0400 (0:00:00.775) 0:00:00.950 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:52:50 -0400 (0:00:00.456) 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:52:50 -0400 (0:00:00.048) 0:00:01.456 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:52:50 -0400 (0:00:00.332) 0:00:01.788 *********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:52:50 -0400 (0:00:00.044) 0:00:01.832 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008191", "end": "2025-05-20 12:52:51.249874", "failed_when_result": false, "rc": 0, "start": "2025-05-20 12:52:51.241683" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:52:51 -0400 (0:00:00.456) 0:00:02.289 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:52:51 -0400 (0:00:00.052) 0:00:02.342 *********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:52:51 -0400 (0:00:00.046) 0:00:02.388 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:52:52 -0400 (0:00:01.067) 0:00:03.456 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:52:52 -0400 (0:00:00.046) 0:00:03.502 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:52:52 -0400 (0:00:00.039) 0:00:03.542 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:52:52 -0400 (0:00:00.039) 0:00:03.582 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:52:52 -0400 (0:00:00.053) 0:00:03.635 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:52:52 -0400 (0:00:00.068) 0:00:03.703 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ActiveEnterTimestampMonotonic": "257905121", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:46 EDT", "AssertTimestampMonotonic": "257534650", "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": "Tue 2025-05-20 12:52:46 EDT", "ConditionTimestampMonotonic": "257534648", "Conflicts": "iptables.service ebtables.service shutdown.target ipset.service ip6tables.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": "9602", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ExecMainStartTimestampMonotonic": "257538146", "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 12:52:46 EDT] ; stop_time=[n/a] ; pid=9602 ; 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 12:52:46 EDT", "InactiveExitTimestampMonotonic": "257538189", "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": "9602", "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 12:52:46 EDT", "WatchdogTimestampMonotonic": "257905059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:52:53 -0400 (0:00:00.689) 0:00:04.393 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ActiveEnterTimestampMonotonic": "257905121", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:46 EDT", "AssertTimestampMonotonic": "257534650", "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": "Tue 2025-05-20 12:52:46 EDT", "ConditionTimestampMonotonic": "257534648", "Conflicts": "iptables.service ebtables.service shutdown.target ipset.service ip6tables.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": "9602", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ExecMainStartTimestampMonotonic": "257538146", "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 12:52:46 EDT] ; stop_time=[n/a] ; pid=9602 ; 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 12:52:46 EDT", "InactiveExitTimestampMonotonic": "257538189", "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": "9602", "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 12:52:46 EDT", "WatchdogTimestampMonotonic": "257905059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:52:53 -0400 (0:00:00.418) 0:00:04.811 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:52:53 -0400 (0:00:00.053) 0:00:04.865 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:52:53 -0400 (0:00:00.056) 0:00:04.922 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:52:53 -0400 (0:00:00.049) 0:00:04.971 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.045) 0:00:05.016 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.047) 0:00:05.064 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.048) 0:00:05.113 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.151 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.040) 0:00:05.191 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.230 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.269 *********** skipping: [managed-node2] => {} TASK [Determine if AllowZoneDrifting is deprecated] **************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.308 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "AllowZoneDrifting", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003683", "end": "2025-05-20 12:52:54.568682", "failed_when_result": false, "rc": 0, "start": "2025-05-20 12:52:54.564999" } STDOUT: # AllowZoneDrifting AllowZoneDrifting=yes TASK [Set fact allow_zone_drifting_not_deprecated] ***************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:19 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.329) 0:00:05.637 *********** ok: [managed-node2] => { "ansible_facts": { "allow_zone_drifting_not_deprecated": true }, "changed": false } TASK [Try to disable zone drifting] ******************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:23 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.047) 0:00:05.685 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.059) 0:00:05.744 *********** included: /tmp/collections-I5U/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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.033) 0:00:05.777 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.039) 0:00:05.817 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.856 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.894 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.038) 0:00:05.933 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:52:54 -0400 (0:00:00.039) 0:00:05.973 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:52:55 -0400 (0:00:00.042) 0:00:06.015 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:52:55 -0400 (0:00:00.052) 0:00:06.068 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:52:55 -0400 (0:00:00.058) 0:00:06.126 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.934) 0:00:07.061 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.038) 0:00:07.099 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.040) 0:00:07.140 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.042) 0:00:07.183 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.068) 0:00:07.251 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.071) 0:00:07.324 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ActiveEnterTimestampMonotonic": "257905121", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:46 EDT", "AssertTimestampMonotonic": "257534650", "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": "Tue 2025-05-20 12:52:46 EDT", "ConditionTimestampMonotonic": "257534648", "Conflicts": "iptables.service ebtables.service shutdown.target ipset.service ip6tables.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": "9602", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ExecMainStartTimestampMonotonic": "257538146", "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 12:52:46 EDT] ; stop_time=[n/a] ; pid=9602 ; 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 12:52:46 EDT", "InactiveExitTimestampMonotonic": "257538189", "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": "9602", "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 12:52:46 EDT", "WatchdogTimestampMonotonic": "257905059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:52:56 -0400 (0:00:00.414) 0:00:07.738 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ActiveEnterTimestampMonotonic": "257905121", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:46 EDT", "AssertTimestampMonotonic": "257534650", "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": "Tue 2025-05-20 12:52:46 EDT", "ConditionTimestampMonotonic": "257534648", "Conflicts": "iptables.service ebtables.service shutdown.target ipset.service ip6tables.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": "9602", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ExecMainStartTimestampMonotonic": "257538146", "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 12:52:46 EDT] ; stop_time=[n/a] ; pid=9602 ; 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 12:52:46 EDT", "InactiveExitTimestampMonotonic": "257538189", "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": "9602", "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 12:52:46 EDT", "WatchdogTimestampMonotonic": "257905059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:52:57 -0400 (0:00:00.427) 0:00:08.165 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:52:57 -0400 (0:00:00.044) 0:00:08.210 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:52:57 -0400 (0:00:00.039) 0:00:08.250 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:52:57 -0400 (0:00:00.040) 0:00:08.290 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:52:58 -0400 (0:00:01.065) 0:00:09.356 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.049) 0:00:09.405 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.040) 0:00:09.446 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.038) 0:00:09.484 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.042) 0:00:09.527 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.057) 0:00:09.584 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.050) 0:00:09.635 *********** skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is disabled if possible] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Tuesday 20 May 2025 12:52:58 -0400 (0:00:00.056) 0:00:09.691 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=no", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003440", "end": "2025-05-20 12:52:58.962843", "failed_when_result": false, "rc": 0, "start": "2025-05-20 12:52:58.959403" } STDOUT: AllowZoneDrifting=no TASK [Fail if AllowZoneDrifting disabled and not deprecated] ******************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:38 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.327) 0:00:10.019 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Try to enable zone drifting] ********************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:45 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.039) 0:00:10.058 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.074) 0:00:10.133 *********** included: /tmp/collections-I5U/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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.042) 0:00:10.175 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.068) 0:00:10.243 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.046) 0:00:10.290 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.046) 0:00:10.336 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.047) 0:00:10.383 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.042) 0:00:10.426 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.038) 0:00:10.465 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.038) 0:00:10.504 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:52:59 -0400 (0:00:00.039) 0:00:10.543 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:53:00 -0400 (0:00:00.911) 0:00:11.454 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:53:00 -0400 (0:00:00.048) 0:00:11.503 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:53:00 -0400 (0:00:00.041) 0:00:11.545 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:53:00 -0400 (0:00:00.040) 0:00:11.585 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:53:00 -0400 (0:00:00.053) 0:00:11.638 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:53:00 -0400 (0:00:00.063) 0:00:11.702 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ActiveEnterTimestampMonotonic": "257905121", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:46 EDT", "AssertTimestampMonotonic": "257534650", "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": "Tue 2025-05-20 12:52:46 EDT", "ConditionTimestampMonotonic": "257534648", "Conflicts": "iptables.service ebtables.service shutdown.target ipset.service ip6tables.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": "9602", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ExecMainStartTimestampMonotonic": "257538146", "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 12:52:46 EDT] ; stop_time=[n/a] ; pid=9602 ; 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 12:52:46 EDT", "InactiveExitTimestampMonotonic": "257538189", "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": "9602", "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 12:52:46 EDT", "WatchdogTimestampMonotonic": "257905059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:53:01 -0400 (0:00:00.434) 0:00:12.137 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ActiveEnterTimestampMonotonic": "257905121", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:46 EDT", "AssertTimestampMonotonic": "257534650", "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": "Tue 2025-05-20 12:52:46 EDT", "ConditionTimestampMonotonic": "257534648", "Conflicts": "iptables.service ebtables.service shutdown.target ipset.service ip6tables.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": "9602", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:46 EDT", "ExecMainStartTimestampMonotonic": "257538146", "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 12:52:46 EDT] ; stop_time=[n/a] ; pid=9602 ; 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 12:52:46 EDT", "InactiveExitTimestampMonotonic": "257538189", "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": "9602", "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 12:52:46 EDT", "WatchdogTimestampMonotonic": "257905059", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:53:01 -0400 (0:00:00.470) 0:00:12.607 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:53:01 -0400 (0:00:00.057) 0:00:12.665 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:53:01 -0400 (0:00:00.054) 0:00:12.719 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:53:01 -0400 (0:00:00.050) 0:00:12.770 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:53:02 -0400 (0:00:00.932) 0:00:13.702 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:53:02 -0400 (0:00:00.085) 0:00:13.787 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:53:02 -0400 (0:00:00.053) 0:00:13.841 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:53:02 -0400 (0:00:00.046) 0:00:13.887 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:53:02 -0400 (0:00:00.049) 0:00:13.937 *********** 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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:53:02 -0400 (0:00:00.043) 0:00:13.981 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:53:03 -0400 (0:00:00.039) 0:00:14.020 *********** skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is enabled if possible] *********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:54 Tuesday 20 May 2025 12:53:03 -0400 (0:00:00.039) 0:00:14.060 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=yes", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003452", "end": "2025-05-20 12:53:03.326432", "failed_when_result": false, "rc": 0, "start": "2025-05-20 12:53:03.322980" } STDOUT: AllowZoneDrifting=yes TASK [Fail if AllowZoneDrifting disabled if not deprecated] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:60 Tuesday 20 May 2025 12:53:03 -0400 (0:00:00.340) 0:00:14.401 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=28 changed=2 unreachable=0 failed=0 skipped=62 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 20 May 2025 12:53:03 -0400 (0:00:00.051) 0:00:14.452 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.07s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.07s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.93s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.93s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.91s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.78s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.69s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.47s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.46s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.46s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.43s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.43s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.42s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.41s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Check if AllowZoneDrifting is enabled if possible ----------------------- 0.34s /tmp/collections-I5U/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.33s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Determine if AllowZoneDrifting is deprecated ---------------------------- 0.33s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 Check if AllowZoneDrifting is disabled if possible ---------------------- 0.33s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Start with a clean configuration ---------------------------------------- 0.10s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.09s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126