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_ipsets.yml ***************************************************** 1 plays in /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml PLAY [Test firewall user defined ipsets] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:2 Tuesday 08 April 2025 19:01:34 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed-node2] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:11 Tuesday 08 April 2025 19:01:35 -0400 (0:00:00.950) 0:00:00.975 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:01:35 -0400 (0:00:00.145) 0:00:01.120 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:01:35 -0400 (0:00:00.039) 0:00:01.159 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:01:35 -0400 (0:00:00.044) 0:00:01.204 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:01:36 -0400 (0:00:00.432) 0:00:01.636 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:01:36 -0400 (0:00:00.083) 0:00:01.719 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:01:36 -0400 (0:00:00.349) 0:00:02.069 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:01:36 -0400 (0:00:00.060) 0:00:02.129 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:01:37 -0400 (0:00:00.746) 0:00:02.876 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:01:37 -0400 (0:00:00.060) 0:00:02.937 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:01:37 -0400 (0:00:00.067) 0:00:03.004 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:01:37 -0400 (0:00:00.058) 0:00:03.063 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:01:37 -0400 (0:00:00.064) 0:00:03.127 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:01:37 -0400 (0:00:00.078) 0:00:03.206 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:01:38 -0400 (0:00:00.800) 0:00:04.007 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:01:39 -0400 (0:00:00.402) 0:00:04.409 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:01:39 -0400 (0:00:00.068) 0:00:04.478 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 1d1616523a6ca922778486aea98ebfdb74296c3e8e60344fc49c50bf83c0dcdb /etc/firewalld/services/customservice.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.147 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:01:40 -0400 (0:00:01.037) 0:00:05.516 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.077) 0:00:05.594 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.058) 0:00:05.653 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.064) 0:00:05.717 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.053) 0:00:05.770 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.051) 0:00:05.822 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.048) 0:00:05.871 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.147 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.351) 0:00:06.222 ********* changed: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:01:40 -0400 (0:00:00.067) 0:00:06.290 ********* skipping: [managed-node2] => {} TASK [Get all ipsets] ********************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:19 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.055) 0:00:06.345 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.248851", "end": "2025-04-08 19:01:41.635994", "failed_when_result": false, "rc": 1, "start": "2025-04-08 19:01:41.387143" } MSG: non-zero return code TASK [Define new ipset] ******************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:30 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.688) 0:00:07.034 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.067) 0:00:07.102 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.035) 0:00:07.138 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.043) 0:00:07.181 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.040) 0:00:07.221 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:01:41 -0400 (0:00:00.046) 0:00:07.267 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.061) 0:00:07.329 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.059) 0:00:07.388 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.620) 0:00:08.009 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.048) 0:00:08.057 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.043) 0:00:08.101 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.040) 0:00:08.142 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.040) 0:00:08.182 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:01:42 -0400 (0:00:00.054) 0:00:08.237 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:01:43 -0400 (0:00:00.387) 0:00:08.624 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:01:43 -0400 (0:00:00.411) 0:00:09.036 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:01:43 -0400 (0:00:00.072) 0:00:09.108 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:01:43 -0400 (0:00:00.068) 0:00:09.176 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:01:43 -0400 (0:00:00.062) 0:00:09.239 ********* changed: [managed-node2] => (item={u'permanent': True, u'state': u'present', u'short': u'Custom', u'description': u'Custom IPSet for testing purposes', u'ipset': u'customipset', u'ipset_type': u'hash:ip', u'ipset_entries': [u'127.0.0.1', u'8.8.8.8']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "ipset_entries": [ "127.0.0.1", "8.8.8.8" ], "ipset_type": "hash:ip", "permanent": true, "short": "Custom", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:01:44 -0400 (0:00:01.043) 0:00:10.282 ********* skipping: [managed-node2] => (item={u'permanent': True, u'state': u'present', u'short': u'Custom', u'description': u'Custom IPSet for testing purposes', u'ipset': u'customipset', u'ipset_type': u'hash:ip', u'ipset_entries': [u'127.0.0.1', u'8.8.8.8']}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "ipset_entries": [ "127.0.0.1", "8.8.8.8" ], "ipset_type": "hash:ip", "permanent": true, "short": "Custom", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.054) 0:00:10.337 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.047) 0:00:10.385 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.042) 0:00:10.427 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.041) 0:00:10.468 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.042) 0:00:10.511 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.042) 0:00:10.553 ********* skipping: [managed-node2] => {} TASK [Fail if ipset not added] ************************************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:45 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.047) 0:00:10.601 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.247970", "end": "2025-04-08 19:01:45.794793", "failed_when_result": false, "rc": 0, "start": "2025-04-08 19:01:45.546823" } STDOUT: customipset TASK [Fail if entry not added to ipset] **************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:54 Tuesday 08 April 2025 19:01:45 -0400 (0:00:00.595) 0:00:11.196 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.265820", "end": "2025-04-08 19:01:46.386800", "rc": 0, "start": "2025-04-08 19:01:46.120980" } STDOUT: yes TASK [Redefine new ipset] ****************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:59 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.588) 0:00:11.785 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.108) 0:00:11.893 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.042) 0:00:11.936 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.049) 0:00:11.985 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.041) 0:00:12.027 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.044) 0:00:12.071 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.090) 0:00:12.162 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:01:46 -0400 (0:00:00.093) 0:00:12.255 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:01:47 -0400 (0:00:00.588) 0:00:12.844 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:01:47 -0400 (0:00:00.051) 0:00:12.896 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:01:47 -0400 (0:00:00.045) 0:00:12.941 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:01:47 -0400 (0:00:00.040) 0:00:12.982 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:01:47 -0400 (0:00:00.041) 0:00:13.023 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:01:47 -0400 (0:00:00.056) 0:00:13.080 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:01:48 -0400 (0:00:00.390) 0:00:13.470 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:01:48 -0400 (0:00:00.417) 0:00:13.888 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:01:48 -0400 (0:00:00.047) 0:00:13.936 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:01:48 -0400 (0:00:00.041) 0:00:13.978 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:01:48 -0400 (0:00:00.042) 0:00:14.020 ********* ok: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes', u'short': u'Custom'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "permanent": true, "short": "Custom", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.586) 0:00:14.607 ********* skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes', u'short': u'Custom'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "permanent": true, "short": "Custom", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.055) 0:00:14.662 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.059) 0:00:14.722 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.062) 0:00:14.784 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.058) 0:00:14.843 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.052) 0:00:14.896 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.050) 0:00:14.946 ********* skipping: [managed-node2] => {} TASK [Fail if defining ipset not idempotent] *********************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:71 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.041) 0:00:14.988 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove entries from ipset] *********************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:76 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.040) 0:00:15.028 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.096) 0:00:15.125 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.036) 0:00:15.161 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.044) 0:00:15.206 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.045) 0:00:15.252 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:01:49 -0400 (0:00:00.048) 0:00:15.301 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.062) 0:00:15.363 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.055) 0:00:15.419 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.622) 0:00:16.041 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.051) 0:00:16.093 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.043) 0:00:16.136 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.041) 0:00:16.178 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.041) 0:00:16.220 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:01:50 -0400 (0:00:00.053) 0:00:16.273 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:01:51 -0400 (0:00:00.410) 0:00:16.683 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:01:51 -0400 (0:00:00.433) 0:00:17.117 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:01:51 -0400 (0:00:00.063) 0:00:17.180 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:01:51 -0400 (0:00:00.062) 0:00:17.243 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:01:51 -0400 (0:00:00.065) 0:00:17.308 ********* changed: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True, u'ipset_entries': [u'8.8.8.8', u'127.0.0.1']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "ipset": "customipset", "ipset_entries": [ "8.8.8.8", "127.0.0.1" ], "permanent": true, "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:01:52 -0400 (0:00:00.815) 0:00:18.123 ********* skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True, u'ipset_entries': [u'8.8.8.8', u'127.0.0.1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "ipset_entries": [ "8.8.8.8", "127.0.0.1" ], "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:01:52 -0400 (0:00:00.057) 0:00:18.181 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:01:52 -0400 (0:00:00.049) 0:00:18.230 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:01:52 -0400 (0:00:00.044) 0:00:18.275 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:01:52 -0400 (0:00:00.041) 0:00:18.317 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:01:53 -0400 (0:00:00.041) 0:00:18.358 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:01:53 -0400 (0:00:00.054) 0:00:18.413 ********* skipping: [managed-node2] => {} TASK [Check that custom ipset not removed] ************************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:88 Tuesday 08 April 2025 19:01:53 -0400 (0:00:00.064) 0:00:18.477 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.245586", "end": "2025-04-08 19:01:53.672925", "failed_when_result": false, "rc": 0, "start": "2025-04-08 19:01:53.427339" } STDOUT: customipset TASK [Check that entry has been removed] *************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:97 Tuesday 08 April 2025 19:01:53 -0400 (0:00:00.602) 0:00:19.080 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.268183", "end": "2025-04-08 19:01:54.276140", "failed_when_result": false, "rc": 1, "start": "2025-04-08 19:01:54.007957" } STDOUT: no MSG: non-zero return code TASK [Test update short and description] *************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:104 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.611) 0:00:19.691 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.124) 0:00:19.816 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.035) 0:00:19.852 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.056) 0:00:19.909 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.100) 0:00:20.009 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.106) 0:00:20.116 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.042) 0:00:20.158 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:01:54 -0400 (0:00:00.043) 0:00:20.202 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:01:55 -0400 (0:00:00.600) 0:00:20.802 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:01:55 -0400 (0:00:00.042) 0:00:20.845 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:01:55 -0400 (0:00:00.041) 0:00:20.887 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:01:55 -0400 (0:00:00.051) 0:00:20.938 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:01:55 -0400 (0:00:00.043) 0:00:20.981 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:01:55 -0400 (0:00:00.057) 0:00:21.039 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:01:56 -0400 (0:00:00.387) 0:00:21.426 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:01:56 -0400 (0:00:00.391) 0:00:21.818 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:01:56 -0400 (0:00:00.055) 0:00:21.874 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:01:56 -0400 (0:00:00.060) 0:00:21.935 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:01:56 -0400 (0:00:00.067) 0:00:22.002 ********* changed: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes (changed)', u'short': u'CustomChanged'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "Custom IPSet for testing purposes (changed)", "ipset": "customipset", "permanent": true, "short": "CustomChanged", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.782) 0:00:22.785 ********* skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes (changed)', u'short': u'CustomChanged'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes (changed)", "ipset": "customipset", "permanent": true, "short": "CustomChanged", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.057) 0:00:22.842 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.048) 0:00:22.891 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.044) 0:00:22.935 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.053) 0:00:22.988 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.043) 0:00:23.032 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.049) 0:00:23.082 ********* skipping: [managed-node2] => {} TASK [Verify changes] ********************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:115 Tuesday 08 April 2025 19:01:57 -0400 (0:00:00.061) 0:00:23.144 ********* ok: [managed-node2] => (item={u'expected': u'Custom IPSet for testing purposes (changed)', u'command': u'firewall-cmd --permanent --ipset customipset --get-description\n'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--get-description" ], "delta": "0:00:00.253762", "end": "2025-04-08 19:01:58.346768", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-description\n", "expected": "Custom IPSet for testing purposes (changed)" }, "rc": 0, "start": "2025-04-08 19:01:58.093006" } STDOUT: Custom IPSet for testing purposes (changed) ok: [managed-node2] => (item={u'expected': u'CustomChanged', u'command': u'firewall-cmd --permanent --ipset customipset --get-short\n'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--get-short" ], "delta": "0:00:00.251927", "end": "2025-04-08 19:01:58.889171", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-short\n", "expected": "CustomChanged" }, "rc": 0, "start": "2025-04-08 19:01:58.637244" } STDOUT: CustomChanged TASK [Add ipset to default zone] *********************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:129 Tuesday 08 April 2025 19:01:58 -0400 (0:00:01.152) 0:00:24.297 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.204) 0:00:24.501 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.054) 0:00:24.555 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.070) 0:00:24.626 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.064) 0:00:24.690 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.066) 0:00:24.757 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.067) 0:00:24.824 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:01:59 -0400 (0:00:00.065) 0:00:24.890 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.636) 0:00:25.527 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.063) 0:00:25.590 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.062) 0:00:25.652 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.059) 0:00:25.712 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.060) 0:00:25.773 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.081) 0:00:25.855 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:00 -0400 (0:00:00.452) 0:00:26.307 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:01 -0400 (0:00:00.411) 0:00:26.718 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:01 -0400 (0:00:00.070) 0:00:26.788 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:01 -0400 (0:00:00.062) 0:00:26.851 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:01 -0400 (0:00:00.052) 0:00:26.903 ********* changed: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.600) 0:00:27.504 ********* skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.055) 0:00:27.560 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.051) 0:00:27.611 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.054) 0:00:27.665 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.066) 0:00:27.732 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.061) 0:00:27.794 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.060) 0:00:27.855 ********* skipping: [managed-node2] => {} TASK [Add ipset to default zone again] ***************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:138 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.060) 0:00:27.915 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.171) 0:00:28.086 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.096) 0:00:28.183 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.046) 0:00:28.229 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.043) 0:00:28.272 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:02 -0400 (0:00:00.042) 0:00:28.315 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.043) 0:00:28.359 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.043) 0:00:28.402 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.648) 0:00:29.051 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.071) 0:00:29.123 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.063) 0:00:29.186 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.056) 0:00:29.242 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:03 -0400 (0:00:00.052) 0:00:29.295 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:04 -0400 (0:00:00.061) 0:00:29.357 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:04 -0400 (0:00:00.406) 0:00:29.764 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:04 -0400 (0:00:00.403) 0:00:30.167 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:04 -0400 (0:00:00.058) 0:00:30.226 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:04 -0400 (0:00:00.065) 0:00:30.292 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.049) 0:00:30.341 ********* ok: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.573) 0:00:30.915 ********* skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.066) 0:00:30.982 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.048) 0:00:31.031 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.043) 0:00:31.075 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.043) 0:00:31.118 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.043) 0:00:31.162 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.050) 0:00:31.212 ********* skipping: [managed-node2] => {} TASK [Fail if adding ipset is not idempotent (runtime)] ************************ task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:148 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.044) 0:00:31.256 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone (permanent)] *********************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:153 Tuesday 08 April 2025 19:02:05 -0400 (0:00:00.046) 0:00:31.303 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.224) 0:00:31.528 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.057) 0:00:31.586 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.067) 0:00:31.654 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.062) 0:00:31.717 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.065) 0:00:31.782 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.065) 0:00:31.848 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:06 -0400 (0:00:00.064) 0:00:31.912 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.701) 0:00:32.613 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.064) 0:00:32.677 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.060) 0:00:32.737 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.049) 0:00:32.787 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.051) 0:00:32.838 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.063) 0:00:32.902 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:07 -0400 (0:00:00.409) 0:00:33.311 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:08 -0400 (0:00:00.434) 0:00:33.746 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:08 -0400 (0:00:00.047) 0:00:33.793 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:08 -0400 (0:00:00.042) 0:00:33.835 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:08 -0400 (0:00:00.047) 0:00:33.883 ********* ok: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.585) 0:00:34.469 ********* skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.066) 0:00:34.535 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.053) 0:00:34.589 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.047) 0:00:34.637 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.043) 0:00:34.681 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.043) 0:00:34.724 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.042) 0:00:34.766 ********* skipping: [managed-node2] => {} TASK [Add ipset to default zone again (permanent)] ***************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:162 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.043) 0:00:34.809 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.189) 0:00:34.999 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.036) 0:00:35.036 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.049) 0:00:35.085 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.041) 0:00:35.127 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.041) 0:00:35.168 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.042) 0:00:35.211 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:09 -0400 (0:00:00.045) 0:00:35.256 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:10 -0400 (0:00:00.683) 0:00:35.940 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:10 -0400 (0:00:00.048) 0:00:35.989 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:10 -0400 (0:00:00.058) 0:00:36.047 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:10 -0400 (0:00:00.064) 0:00:36.112 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:10 -0400 (0:00:00.060) 0:00:36.173 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:10 -0400 (0:00:00.082) 0:00:36.256 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:11 -0400 (0:00:00.471) 0:00:36.727 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:11 -0400 (0:00:00.430) 0:00:37.157 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:11 -0400 (0:00:00.048) 0:00:37.206 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:11 -0400 (0:00:00.042) 0:00:37.248 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:11 -0400 (0:00:00.042) 0:00:37.291 ********* ok: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.594) 0:00:37.885 ********* skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.068) 0:00:37.954 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.051) 0:00:38.005 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.041) 0:00:38.047 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.041) 0:00:38.089 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.041) 0:00:38.131 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.052) 0:00:38.183 ********* skipping: [managed-node2] => {} TASK [Fail if adding ipset is not idempotent (permanent)] ********************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:172 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.058) 0:00:38.242 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone] *********************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:177 Tuesday 08 April 2025 19:02:12 -0400 (0:00:00.059) 0:00:38.301 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.223) 0:00:38.525 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.037) 0:00:38.562 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.051) 0:00:38.613 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.053) 0:00:38.666 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.063) 0:00:38.730 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.063) 0:00:38.793 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:13 -0400 (0:00:00.062) 0:00:38.856 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.648) 0:00:39.504 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.061) 0:00:39.566 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.061) 0:00:39.627 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.061) 0:00:39.689 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.062) 0:00:39.751 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.080) 0:00:39.831 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:14 -0400 (0:00:00.466) 0:00:40.298 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:15 -0400 (0:00:00.461) 0:00:40.760 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:15 -0400 (0:00:00.166) 0:00:40.927 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:15 -0400 (0:00:00.043) 0:00:40.970 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:15 -0400 (0:00:00.044) 0:00:41.015 ********* changed: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'disabled', u'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "source": "ipset:customipset", "state": "disabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.599) 0:00:41.615 ********* skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'disabled', u'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "source": "ipset:customipset", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.056) 0:00:41.671 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.048) 0:00:41.720 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.042) 0:00:41.763 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.049) 0:00:41.813 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.063) 0:00:41.877 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.057) 0:00:41.934 ********* skipping: [managed-node2] => {} TASK [Remove custom ipset] ***************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:186 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.057) 0:00:41.991 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.221) 0:00:42.213 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.043) 0:00:42.256 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:16 -0400 (0:00:00.054) 0:00:42.311 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:17 -0400 (0:00:00.064) 0:00:42.376 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:17 -0400 (0:00:00.064) 0:00:42.440 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:17 -0400 (0:00:00.072) 0:00:42.512 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:17 -0400 (0:00:00.065) 0:00:42.578 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:17 -0400 (0:00:00.639) 0:00:43.218 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:17 -0400 (0:00:00.065) 0:00:43.283 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:18 -0400 (0:00:00.062) 0:00:43.346 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:18 -0400 (0:00:00.064) 0:00:43.411 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:18 -0400 (0:00:00.054) 0:00:43.465 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:18 -0400 (0:00:00.101) 0:00:43.567 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:18 -0400 (0:00:00.464) 0:00:44.031 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:19 -0400 (0:00:00.441) 0:00:44.473 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:19 -0400 (0:00:00.057) 0:00:44.530 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:19 -0400 (0:00:00.056) 0:00:44.586 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:19 -0400 (0:00:00.043) 0:00:44.630 ********* changed: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "ipset": "customipset", "permanent": true, "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.757) 0:00:45.387 ********* skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.057) 0:00:45.445 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.048) 0:00:45.494 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.048) 0:00:45.542 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.073) 0:00:45.616 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.053) 0:00:45.669 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.046) 0:00:45.716 ********* skipping: [managed-node2] => {} TASK [Fail if ipset not removed] *********************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:195 Tuesday 08 April 2025 19:02:20 -0400 (0:00:00.051) 0:00:45.768 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.245654", "end": "2025-04-08 19:02:20.934278", "failed_when_result": false, "rc": 1, "start": "2025-04-08 19:02:20.688624" } MSG: non-zero return code TASK [Remove custom ipset again] *********************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:204 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.566) 0:00:46.334 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.234) 0:00:46.569 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.037) 0:00:46.606 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.051) 0:00:46.657 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.042) 0:00:46.700 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.046) 0:00:46.747 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.045) 0:00:46.793 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:21 -0400 (0:00:00.045) 0:00:46.838 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.660) 0:00:47.499 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.041) 0:00:47.541 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.042) 0:00:47.584 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.046) 0:00:47.630 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.077) 0:00:47.708 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.082) 0:00:47.790 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:22 -0400 (0:00:00.432) 0:00:48.222 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:23 -0400 (0:00:00.439) 0:00:48.662 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:23 -0400 (0:00:00.078) 0:00:48.741 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:23 -0400 (0:00:00.075) 0:00:48.816 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:23 -0400 (0:00:00.058) 0:00:48.874 ********* ok: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.612) 0:00:49.487 ********* skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.058) 0:00:49.545 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.049) 0:00:49.595 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.043) 0:00:49.638 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.043) 0:00:49.682 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.042) 0:00:49.725 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.043) 0:00:49.768 ********* skipping: [managed-node2] => {} TASK [Fail if not idempotent] ************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:214 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.058) 0:00:49.826 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:221 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.062) 0:00:49.889 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.342) 0:00:50.232 ********* included: /tmp/collections-VF6/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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 08 April 2025 19:02:24 -0400 (0:00:00.048) 0:00:50.281 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.060) 0:00:50.341 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.051) 0:00:50.393 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.048) 0:00:50.441 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.042) 0:00:50.484 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.042) 0:00:50.526 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.657) 0:00:51.183 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.064) 0:00:51.248 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 08 April 2025 19:02:25 -0400 (0:00:00.064) 0:00:51.313 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 08 April 2025 19:02:26 -0400 (0:00:00.063) 0:00:51.376 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 08 April 2025 19:02:26 -0400 (0:00:00.049) 0:00:51.426 ********* 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 : Unmask firewalld service] *********** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 08 April 2025 19:02:26 -0400 (0:00:00.070) 0:00:51.496 ********* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 08 April 2025 19:02:26 -0400 (0:00:00.502) 0:00:51.999 ********* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ActiveEnterTimestampMonotonic": "533750610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-04-08 19:00:45 EDT", "AssertTimestampMonotonic": "533496923", "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-04-08 19:00:45 EDT", "ConditionTimestampMonotonic": "533496921", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9549", "ExecMainStartTimestamp": "Tue 2025-04-08 19:00:45 EDT", "ExecMainStartTimestampMonotonic": "533498481", "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-04-08 19:00:45 EDT] ; stop_time=[n/a] ; pid=9549 ; 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-04-08 19:00:45 EDT", "InactiveExitTimestampMonotonic": "533498512", "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": "9549", "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": "basic.target system.slice", "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-04-08 19:00:45 EDT", "WatchdogTimestampMonotonic": "533750555", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 08 April 2025 19:02:27 -0400 (0:00:00.466) 0:00:52.465 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 08 April 2025 19:02:27 -0400 (0:00:00.055) 0:00:52.521 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.147 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.837) 0:00:53.359 ********* ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.059) 0:00:53.419 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.055) 0:00:53.474 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.044) 0:00:53.519 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.049) 0:00:53.568 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.043) 0:00:53.612 ********* 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-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.043) 0:00:53.656 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.147 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.369) 0:00:54.025 ********* ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.079) 0:00:54.105 ********* skipping: [managed-node2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=96 changed=7 unreachable=0 failed=0 skipped=241 rescued=0 ignored=0 Tuesday 08 April 2025 19:02:28 -0400 (0:00:00.053) 0:00:54.159 ********* =============================================================================== Verify changes ---------------------------------------------------------- 1.15s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:115 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.04s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:2 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.84s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.82s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.78s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.75s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.70s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Get all ipsets ---------------------------------------------------------- 0.69s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:19 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.68s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.65s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.65s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.64s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.64s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.62s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.62s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.61s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Check that entry has been removed --------------------------------------- 0.61s /tmp/collections-VF6/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:97