ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_firewalld_conf.yml ********************************************* 1 plays in /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml PLAY [Test firewalld_conf options] ********************************************* META: ran handlers TASK [Start with a clean configuration] **************************************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 Tuesday 13 May 2025 05:49:41 -0400 (0:00:00.028) 0:00:00.028 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 13 May 2025 05:49:41 -0400 (0:00:00.113) 0:00:00.142 *********** included: /tmp/collections-v0K/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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 13 May 2025 05:49:41 -0400 (0:00:00.027) 0:00:00.170 *********** ok: [managed-node2] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 13 May 2025 05:49:42 -0400 (0:00:00.681) 0:00:00.851 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 13 May 2025 05:49:42 -0400 (0:00:00.423) 0:00:01.275 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 13 May 2025 05:49:42 -0400 (0:00:00.042) 0:00:01.317 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 13 May 2025 05:49:43 -0400 (0:00:00.291) 0:00:01.608 *********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 13 May 2025 05:49:43 -0400 (0:00:00.040) 0:00:01.649 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.969) 0:00:02.619 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.037) 0:00:02.656 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.035) 0:00:02.692 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.035) 0:00:02.727 *********** 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 : Disable conflicting services] ******* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.048) 0:00:02.775 *********** 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 : Stop conflicting services] ********** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:23 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.052) 0:00:02.828 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Tuesday 13 May 2025 05:49:44 -0400 (0:00:00.051) 0:00:02.879 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-13 05:49:39 EDT", "ActiveEnterTimestampMonotonic": "249441149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-13 05:49:38 EDT", "AssertTimestampMonotonic": "249203398", "Before": "shutdown.target multi-user.target network-pre.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-13 05:49:38 EDT", "ConditionTimestampMonotonic": "249203396", "Conflicts": "ip6tables.service ebtables.service ipset.service shutdown.target iptables.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": "9552", "ExecMainStartTimestamp": "Tue 2025-05-13 05:49:38 EDT", "ExecMainStartTimestampMonotonic": "249205031", "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-13 05:49:38 EDT] ; stop_time=[n/a] ; pid=9552 ; 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-13 05:49:38 EDT", "InactiveExitTimestampMonotonic": "249205062", "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": "9552", "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-13 05:49:39 EDT", "WatchdogTimestampMonotonic": "249441098", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.634) 0:00:03.514 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-13 05:49:39 EDT", "ActiveEnterTimestampMonotonic": "249441149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-13 05:49:38 EDT", "AssertTimestampMonotonic": "249203398", "Before": "shutdown.target multi-user.target network-pre.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-13 05:49:38 EDT", "ConditionTimestampMonotonic": "249203396", "Conflicts": "ip6tables.service ebtables.service ipset.service shutdown.target iptables.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": "9552", "ExecMainStartTimestamp": "Tue 2025-05-13 05:49:38 EDT", "ExecMainStartTimestampMonotonic": "249205031", "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-13 05:49:38 EDT] ; stop_time=[n/a] ; pid=9552 ; 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-13 05:49:38 EDT", "InactiveExitTimestampMonotonic": "249205062", "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": "9552", "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-13 05:49:39 EDT", "WatchdogTimestampMonotonic": "249441098", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:44 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.391) 0:00:03.905 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:53 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.041) 0:00:03.947 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:65 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.035) 0:00:03.983 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.034) 0:00:04.017 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.035) 0:00:04.053 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:141 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.037) 0:00:04.090 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.053) 0:00:04.143 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:155 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.053) 0:00:04.197 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.041) 0:00:04.239 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:174 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.046) 0:00:04.286 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:180 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.044) 0:00:04.330 *********** skipping: [managed-node2] => {} TASK [Determine if AllowZoneDrifting is deprecated] **************************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 Tuesday 13 May 2025 05:49:45 -0400 (0:00:00.037) 0:00:04.368 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "AllowZoneDrifting", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003249", "end": "2025-05-13 05:49:46.215061", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:49:46.211812" } STDOUT: # AllowZoneDrifting AllowZoneDrifting=yes TASK [Set fact allow_zone_drifting_not_deprecated] ***************************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:19 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.439) 0:00:04.808 *********** ok: [managed-node2] => { "ansible_facts": { "allow_zone_drifting_not_deprecated": true }, "changed": false } TASK [Try to disable zone drifting] ******************************************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:23 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.045) 0:00:04.853 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.068) 0:00:04.921 *********** included: /tmp/collections-v0K/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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.029) 0:00:04.951 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.037) 0:00:04.988 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.035) 0:00:05.024 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.036) 0:00:05.061 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.036) 0:00:05.097 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 13 May 2025 05:49:46 -0400 (0:00:00.035) 0:00:05.133 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.831) 0:00:05.965 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.038) 0:00:06.003 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.036) 0:00:06.039 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.034) 0:00:06.073 *********** 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 : Disable conflicting services] ******* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.048) 0:00:06.122 *********** 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 : Stop conflicting services] ********** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:23 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.051) 0:00:06.174 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Tuesday 13 May 2025 05:49:47 -0400 (0:00:00.052) 0:00:06.226 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-13 05:49:39 EDT", "ActiveEnterTimestampMonotonic": "249441149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-13 05:49:38 EDT", "AssertTimestampMonotonic": "249203398", "Before": "shutdown.target multi-user.target network-pre.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-13 05:49:38 EDT", "ConditionTimestampMonotonic": "249203396", "Conflicts": "ip6tables.service ebtables.service ipset.service shutdown.target iptables.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": "9552", "ExecMainStartTimestamp": "Tue 2025-05-13 05:49:38 EDT", "ExecMainStartTimestampMonotonic": "249205031", "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-13 05:49:38 EDT] ; stop_time=[n/a] ; pid=9552 ; 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-13 05:49:38 EDT", "InactiveExitTimestampMonotonic": "249205062", "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": "9552", "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-13 05:49:39 EDT", "WatchdogTimestampMonotonic": "249441098", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Tuesday 13 May 2025 05:49:48 -0400 (0:00:00.383) 0:00:06.610 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-13 05:49:39 EDT", "ActiveEnterTimestampMonotonic": "249441149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-13 05:49:38 EDT", "AssertTimestampMonotonic": "249203398", "Before": "shutdown.target multi-user.target network-pre.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-13 05:49:38 EDT", "ConditionTimestampMonotonic": "249203396", "Conflicts": "ip6tables.service ebtables.service ipset.service shutdown.target iptables.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": "9552", "ExecMainStartTimestamp": "Tue 2025-05-13 05:49:38 EDT", "ExecMainStartTimestampMonotonic": "249205031", "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-13 05:49:38 EDT] ; stop_time=[n/a] ; pid=9552 ; 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-13 05:49:38 EDT", "InactiveExitTimestampMonotonic": "249205062", "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": "9552", "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-13 05:49:39 EDT", "WatchdogTimestampMonotonic": "249441098", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:44 Tuesday 13 May 2025 05:49:48 -0400 (0:00:00.368) 0:00:06.979 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:53 Tuesday 13 May 2025 05:49:48 -0400 (0:00:00.049) 0:00:07.028 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:65 Tuesday 13 May 2025 05:49:48 -0400 (0:00:00.044) 0:00:07.073 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 Tuesday 13 May 2025 05:49:48 -0400 (0:00:00.041) 0:00:07.115 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.866) 0:00:07.981 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:141 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.075) 0:00:08.057 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.058) 0:00:08.115 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:155 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.056) 0:00:08.172 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.055) 0:00:08.228 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:174 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.047) 0:00:08.275 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:180 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.040) 0:00:08.316 *********** skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is disabled if possible] ********************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Tuesday 13 May 2025 05:49:49 -0400 (0:00:00.052) 0:00:08.368 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=no", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003021", "end": "2025-05-13 05:49:50.213759", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:49:50.210738" } STDOUT: AllowZoneDrifting=no TASK [Fail if AllowZoneDrifting disabled and not deprecated] ******************* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:38 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.378) 0:00:08.746 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Try to enable zone drifting] ********************************************* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:45 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.065) 0:00:08.811 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.083) 0:00:08.895 *********** included: /tmp/collections-v0K/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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.026) 0:00:08.921 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.036) 0:00:08.957 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.034) 0:00:08.992 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.037) 0:00:09.029 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.038) 0:00:09.068 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 13 May 2025 05:49:50 -0400 (0:00:00.037) 0:00:09.106 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.894) 0:00:10.000 *********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.051) 0:00:10.051 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.043) 0:00:10.095 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.041) 0:00:10.137 *********** 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 : Disable conflicting services] ******* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.057) 0:00:10.194 *********** 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 : Stop conflicting services] ********** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:23 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.054) 0:00:10.249 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Tuesday 13 May 2025 05:49:51 -0400 (0:00:00.060) 0:00:10.309 *********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-13 05:49:39 EDT", "ActiveEnterTimestampMonotonic": "249441149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-13 05:49:38 EDT", "AssertTimestampMonotonic": "249203398", "Before": "shutdown.target multi-user.target network-pre.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-13 05:49:38 EDT", "ConditionTimestampMonotonic": "249203396", "Conflicts": "ip6tables.service ebtables.service ipset.service shutdown.target iptables.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": "9552", "ExecMainStartTimestamp": "Tue 2025-05-13 05:49:38 EDT", "ExecMainStartTimestampMonotonic": "249205031", "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-13 05:49:38 EDT] ; stop_time=[n/a] ; pid=9552 ; 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-13 05:49:38 EDT", "InactiveExitTimestampMonotonic": "249205062", "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": "9552", "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-13 05:49:39 EDT", "WatchdogTimestampMonotonic": "249441098", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Tuesday 13 May 2025 05:49:52 -0400 (0:00:00.425) 0:00:10.735 *********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-13 05:49:39 EDT", "ActiveEnterTimestampMonotonic": "249441149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-13 05:49:38 EDT", "AssertTimestampMonotonic": "249203398", "Before": "shutdown.target multi-user.target network-pre.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-13 05:49:38 EDT", "ConditionTimestampMonotonic": "249203396", "Conflicts": "ip6tables.service ebtables.service ipset.service shutdown.target iptables.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": "9552", "ExecMainStartTimestamp": "Tue 2025-05-13 05:49:38 EDT", "ExecMainStartTimestampMonotonic": "249205031", "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-13 05:49:38 EDT] ; stop_time=[n/a] ; pid=9552 ; 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-13 05:49:38 EDT", "InactiveExitTimestampMonotonic": "249205062", "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": "9552", "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-13 05:49:39 EDT", "WatchdogTimestampMonotonic": "249441098", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:44 Tuesday 13 May 2025 05:49:52 -0400 (0:00:00.373) 0:00:11.108 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:53 Tuesday 13 May 2025 05:49:52 -0400 (0:00:00.041) 0:00:11.150 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:65 Tuesday 13 May 2025 05:49:52 -0400 (0:00:00.040) 0:00:11.190 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 Tuesday 13 May 2025 05:49:52 -0400 (0:00:00.047) 0:00:11.238 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.773) 0:00:12.011 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:141 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.046) 0:00:12.057 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:150 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.038) 0:00:12.096 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:155 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.038) 0:00:12.134 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.038) 0:00:12.173 *********** 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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:174 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.045) 0:00:12.219 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:180 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.053) 0:00:12.272 *********** skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is enabled if possible] *********************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:54 Tuesday 13 May 2025 05:49:53 -0400 (0:00:00.044) 0:00:12.317 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=yes", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003024", "end": "2025-05-13 05:49:54.083663", "failed_when_result": false, "rc": 0, "start": "2025-05-13 05:49:54.080639" } STDOUT: AllowZoneDrifting=yes TASK [Fail if AllowZoneDrifting disabled if not deprecated] ******************** task path: /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:60 Tuesday 13 May 2025 05:49:54 -0400 (0:00:00.292) 0:00:12.610 *********** 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=58 rescued=0 ignored=0 Tuesday 13 May 2025 05:49:54 -0400 (0:00:00.048) 0:00:12.659 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.97s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.89s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.87s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.83s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.77s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:81 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.68s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.63s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Determine if AllowZoneDrifting is deprecated ---------------------------- 0.44s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.43s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.42s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.39s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.38s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:32 Check if AllowZoneDrifting is disabled if possible ---------------------- 0.38s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.37s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.37s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:38 Check if AllowZoneDrifting is enabled if possible ----------------------- 0.29s /tmp/collections-v0K/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-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Start with a clean configuration ---------------------------------------- 0.11s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 Try to enable zone drifting --------------------------------------------- 0.08s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:45 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.08s /tmp/collections-v0K/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131