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-3pK/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-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 Thursday 31 July 2025 12:45:36 -0400 (0:00:00.030) 0:00:00.030 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 31 July 2025 12:45:36 -0400 (0:00:00.161) 0:00:00.192 ********* included: /tmp/collections-3pK/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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 31 July 2025 12:45:36 -0400 (0:00:00.043) 0:00:00.236 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 31 July 2025 12:45:37 -0400 (0:00:00.663) 0:00:00.900 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 31 July 2025 12:45:37 -0400 (0:00:00.401) 0:00:01.301 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Thursday 31 July 2025 12:45:37 -0400 (0:00:00.044) 0:00:01.346 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Thursday 31 July 2025 12:45:38 -0400 (0:00:00.275) 0:00:01.621 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Thursday 31 July 2025 12:45:38 -0400 (0:00:00.040) 0:00:01.661 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008461", "end": "2025-07-31 12:45:38.577133", "failed_when_result": false, "rc": 0, "start": "2025-07-31 12:45:38.568672" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Thursday 31 July 2025 12:45:38 -0400 (0:00:00.436) 0:00:02.098 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Thursday 31 July 2025 12:45:38 -0400 (0:00:00.037) 0:00:02.135 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Thursday 31 July 2025 12:45:38 -0400 (0:00:00.071) 0:00:02.207 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Thursday 31 July 2025 12:45:39 -0400 (0:00:00.928) 0:00:03.135 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Thursday 31 July 2025 12:45:39 -0400 (0:00:00.040) 0:00:03.176 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Thursday 31 July 2025 12:45:39 -0400 (0:00:00.047) 0:00:03.223 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 31 July 2025 12:45:39 -0400 (0:00:00.047) 0:00:03.271 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 31 July 2025 12:45:39 -0400 (0:00:00.057) 0:00:03.328 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Thursday 31 July 2025 12:45:39 -0400 (0:00:00.075) 0:00:03.404 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ActiveEnterTimestampMonotonic": "186968070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 12:45:34 EDT", "AssertTimestampMonotonic": "186710978", "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": "Thu 2025-07-31 12:45:34 EDT", "ConditionTimestampMonotonic": "186710976", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "9655", "ExecMainStartTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ExecMainStartTimestampMonotonic": "186712120", "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=[Thu 2025-07-31 12:45:34 EDT] ; stop_time=[n/a] ; pid=9655 ; 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": "Thu 2025-07-31 12:45:34 EDT", "InactiveExitTimestampMonotonic": "186712150", "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": "9655", "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": "Thu 2025-07-31 12:45:34 EDT", "WatchdogTimestampMonotonic": "186968020", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Thursday 31 July 2025 12:45:40 -0400 (0:00:00.639) 0:00:04.043 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ActiveEnterTimestampMonotonic": "186968070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 12:45:34 EDT", "AssertTimestampMonotonic": "186710978", "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": "Thu 2025-07-31 12:45:34 EDT", "ConditionTimestampMonotonic": "186710976", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "9655", "ExecMainStartTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ExecMainStartTimestampMonotonic": "186712120", "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=[Thu 2025-07-31 12:45:34 EDT] ; stop_time=[n/a] ; pid=9655 ; 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": "Thu 2025-07-31 12:45:34 EDT", "InactiveExitTimestampMonotonic": "186712150", "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": "9655", "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": "Thu 2025-07-31 12:45:34 EDT", "WatchdogTimestampMonotonic": "186968020", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 31 July 2025 12:45:40 -0400 (0:00:00.362) 0:00:04.406 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Thursday 31 July 2025 12:45:40 -0400 (0:00:00.041) 0:00:04.447 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.035) 0:00:04.483 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.043) 0:00:04.527 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.066) 0:00:04.593 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.044) 0:00:04.638 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.047) 0:00:04.685 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.042) 0:00:04.728 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.040) 0:00:04.768 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.035) 0:00:04.804 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.034) 0:00:04.839 ********* skipping: [managed-node2] => {} TASK [Determine if AllowZoneDrifting is deprecated] **************************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.034) 0:00:04.873 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "AllowZoneDrifting", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003361", "end": "2025-07-31 12:45:41.605403", "failed_when_result": false, "rc": 0, "start": "2025-07-31 12:45:41.602042" } STDOUT: # AllowZoneDrifting AllowZoneDrifting=yes TASK [Set fact allow_zone_drifting_not_deprecated] ***************************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:19 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.290) 0:00:05.163 ********* ok: [managed-node2] => { "ansible_facts": { "allow_zone_drifting_not_deprecated": true }, "changed": false } TASK [Try to disable zone drifting] ******************************************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:23 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.046) 0:00:05.210 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.066) 0:00:05.277 ********* included: /tmp/collections-3pK/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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.038) 0:00:05.316 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.037) 0:00:05.353 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.037) 0:00:05.390 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.036) 0:00:05.427 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Thursday 31 July 2025 12:45:41 -0400 (0:00:00.036) 0:00:05.464 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Thursday 31 July 2025 12:45:42 -0400 (0:00:00.036) 0:00:05.500 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Thursday 31 July 2025 12:45:42 -0400 (0:00:00.035) 0:00:05.535 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Thursday 31 July 2025 12:45:42 -0400 (0:00:00.034) 0:00:05.569 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Thursday 31 July 2025 12:45:42 -0400 (0:00:00.040) 0:00:05.610 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Thursday 31 July 2025 12:45:42 -0400 (0:00:00.818) 0:00:06.428 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Thursday 31 July 2025 12:45:42 -0400 (0:00:00.037) 0:00:06.466 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.037) 0:00:06.503 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.037) 0:00:06.540 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.050) 0:00:06.591 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.061) 0:00:06.652 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ActiveEnterTimestampMonotonic": "186968070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 12:45:34 EDT", "AssertTimestampMonotonic": "186710978", "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": "Thu 2025-07-31 12:45:34 EDT", "ConditionTimestampMonotonic": "186710976", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "9655", "ExecMainStartTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ExecMainStartTimestampMonotonic": "186712120", "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=[Thu 2025-07-31 12:45:34 EDT] ; stop_time=[n/a] ; pid=9655 ; 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": "Thu 2025-07-31 12:45:34 EDT", "InactiveExitTimestampMonotonic": "186712150", "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": "9655", "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": "Thu 2025-07-31 12:45:34 EDT", "WatchdogTimestampMonotonic": "186968020", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.386) 0:00:07.038 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ActiveEnterTimestampMonotonic": "186968070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 12:45:34 EDT", "AssertTimestampMonotonic": "186710978", "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": "Thu 2025-07-31 12:45:34 EDT", "ConditionTimestampMonotonic": "186710976", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "9655", "ExecMainStartTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ExecMainStartTimestampMonotonic": "186712120", "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=[Thu 2025-07-31 12:45:34 EDT] ; stop_time=[n/a] ; pid=9655 ; 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": "Thu 2025-07-31 12:45:34 EDT", "InactiveExitTimestampMonotonic": "186712150", "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": "9655", "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": "Thu 2025-07-31 12:45:34 EDT", "WatchdogTimestampMonotonic": "186968020", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.362) 0:00:07.401 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Thursday 31 July 2025 12:45:43 -0400 (0:00:00.054) 0:00:07.456 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Thursday 31 July 2025 12:45:44 -0400 (0:00:00.051) 0:00:07.508 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Thursday 31 July 2025 12:45:44 -0400 (0:00:00.039) 0:00:07.548 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.985) 0:00:08.533 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.054) 0:00:08.587 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.041) 0:00:08.629 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.034) 0:00:08.664 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.043) 0:00:08.707 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.035) 0:00:08.743 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.034) 0:00:08.777 ********* skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is disabled if possible] ********************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.034) 0:00:08.812 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=no", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.003467", "end": "2025-07-31 12:45:45.548064", "failed_when_result": false, "rc": 0, "start": "2025-07-31 12:45:45.544597" } STDOUT: AllowZoneDrifting=no TASK [Fail if AllowZoneDrifting disabled and not deprecated] ******************* task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:38 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.296) 0:00:09.108 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Try to enable zone drifting] ********************************************* task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:45 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.047) 0:00:09.155 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.069) 0:00:09.225 ********* included: /tmp/collections-3pK/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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.029) 0:00:09.255 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.039) 0:00:09.294 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.038) 0:00:09.333 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.035) 0:00:09.369 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.035) 0:00:09.404 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.034) 0:00:09.439 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Thursday 31 July 2025 12:45:45 -0400 (0:00:00.035) 0:00:09.474 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Thursday 31 July 2025 12:45:46 -0400 (0:00:00.039) 0:00:09.514 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Thursday 31 July 2025 12:45:46 -0400 (0:00:00.046) 0:00:09.560 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Thursday 31 July 2025 12:45:46 -0400 (0:00:00.831) 0:00:10.391 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Thursday 31 July 2025 12:45:46 -0400 (0:00:00.036) 0:00:10.428 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Thursday 31 July 2025 12:45:46 -0400 (0:00:00.035) 0:00:10.464 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.035) 0:00:10.499 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.047) 0:00:10.546 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.052) 0:00:10.599 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ActiveEnterTimestampMonotonic": "186968070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 12:45:34 EDT", "AssertTimestampMonotonic": "186710978", "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": "Thu 2025-07-31 12:45:34 EDT", "ConditionTimestampMonotonic": "186710976", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "9655", "ExecMainStartTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ExecMainStartTimestampMonotonic": "186712120", "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=[Thu 2025-07-31 12:45:34 EDT] ; stop_time=[n/a] ; pid=9655 ; 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": "Thu 2025-07-31 12:45:34 EDT", "InactiveExitTimestampMonotonic": "186712150", "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": "9655", "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": "Thu 2025-07-31 12:45:34 EDT", "WatchdogTimestampMonotonic": "186968020", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.387) 0:00:10.987 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ActiveEnterTimestampMonotonic": "186968070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 12:45:34 EDT", "AssertTimestampMonotonic": "186710978", "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": "Thu 2025-07-31 12:45:34 EDT", "ConditionTimestampMonotonic": "186710976", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "9655", "ExecMainStartTimestamp": "Thu 2025-07-31 12:45:34 EDT", "ExecMainStartTimestampMonotonic": "186712120", "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=[Thu 2025-07-31 12:45:34 EDT] ; stop_time=[n/a] ; pid=9655 ; 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": "Thu 2025-07-31 12:45:34 EDT", "InactiveExitTimestampMonotonic": "186712150", "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": "9655", "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": "Thu 2025-07-31 12:45:34 EDT", "WatchdogTimestampMonotonic": "186968020", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.357) 0:00:11.344 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.045) 0:00:11.390 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.036) 0:00:11.426 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Thursday 31 July 2025 12:45:47 -0400 (0:00:00.036) 0:00:11.463 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.699) 0:00:12.162 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.047) 0:00:12.210 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.038) 0:00:12.248 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.038) 0:00:12.287 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.044) 0:00:12.331 ********* 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-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.050) 0:00:12.382 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.055) 0:00:12.438 ********* skipping: [managed-node2] => {} TASK [Check if AllowZoneDrifting is enabled if possible] *********************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:54 Thursday 31 July 2025 12:45:48 -0400 (0:00:00.041) 0:00:12.479 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Fx", "AllowZoneDrifting=yes", "/etc/firewalld/firewalld.conf" ], "delta": "0:00:00.002987", "end": "2025-07-31 12:45:49.218002", "failed_when_result": false, "rc": 0, "start": "2025-07-31 12:45:49.215015" } STDOUT: AllowZoneDrifting=yes TASK [Fail if AllowZoneDrifting disabled if not deprecated] ******************** task path: /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:60 Thursday 31 July 2025 12:45:49 -0400 (0:00:00.291) 0:00:12.770 ********* 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 ******************************************************************** Thursday 31 July 2025 12:45:49 -0400 (0:00:00.037) 0:00:12.808 ********* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.99s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.93s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.83s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.82s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.70s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.66s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.64s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.44s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.40s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.39s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.39s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.36s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.36s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.36s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Check if AllowZoneDrifting is disabled if possible ---------------------- 0.30s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:32 Check if AllowZoneDrifting is enabled if possible ----------------------- 0.29s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:54 Determine if AllowZoneDrifting is deprecated ---------------------------- 0.29s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:13 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.28s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Start with a clean configuration ---------------------------------------- 0.16s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_firewalld_conf.yml:6 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.08s /tmp/collections-3pK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14