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-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml PLAY [Test firewall user defined ipsets] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:2 Saturday 22 March 2025 01:24:59 -0400 (0:00:00.026) 0:00:00.026 ******** ok: [managed-node1] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:11 Saturday 22 March 2025 01:25:00 -0400 (0:00:01.038) 0:00:01.064 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:00 -0400 (0:00:00.148) 0:00:01.213 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:00 -0400 (0:00:00.040) 0:00:01.254 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:00 -0400 (0:00:00.050) 0:00:01.304 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:01 -0400 (0:00:00.498) 0:00:01.803 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:01 -0400 (0:00:00.116) 0:00:01.919 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:01 -0400 (0:00:00.336) 0:00:02.256 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:01 -0400 (0:00:00.063) 0:00:02.319 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:02 -0400 (0:00:00.775) 0:00:03.095 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:02 -0400 (0:00:00.045) 0:00:03.140 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:02 -0400 (0:00:00.044) 0:00:03.184 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:02 -0400 (0:00:00.044) 0:00:03.228 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:02 -0400 (0:00:00.045) 0:00:03.273 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:02 -0400 (0:00:00.079) 0:00:03.353 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:03 -0400 (0:00:00.731) 0:00:04.084 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:03 -0400 (0:00:00.469) 0:00:04.554 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.060) 0:00:04.615 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.99 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.397) 0:00:05.012 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.071) 0:00:05.084 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.065) 0:00:05.149 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.059) 0:00:05.208 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.074) 0:00:05.283 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.073) 0:00:05.356 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:04 -0400 (0:00:00.069) 0:00:05.426 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.99 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:05 -0400 (0:00:00.382) 0:00:05.809 ******** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:05 -0400 (0:00:00.055) 0:00:05.864 ******** skipping: [managed-node1] => {} TASK [Get all ipsets] ********************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:19 Saturday 22 March 2025 01:25:05 -0400 (0:00:00.048) 0:00:05.913 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.253681", "end": "2025-03-22 01:25:06.064668", "failed_when_result": false, "rc": 1, "start": "2025-03-22 01:25:05.810987" } MSG: non-zero return code TASK [Define new ipset] ******************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:30 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.827) 0:00:06.740 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.107) 0:00:06.848 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.049) 0:00:06.898 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.056) 0:00:06.954 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.055) 0:00:07.010 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.053) 0:00:07.064 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.049) 0:00:07.114 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:06 -0400 (0:00:00.050) 0:00:07.164 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.686) 0:00:07.850 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.045) 0:00:07.896 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.046) 0:00:07.942 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.044) 0:00:07.987 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.043) 0:00:08.030 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.060) 0:00:08.091 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:07 -0400 (0:00:00.449) 0:00:08.541 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:08 -0400 (0:00:00.417) 0:00:08.958 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:08 -0400 (0:00:00.051) 0:00:09.010 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:08 -0400 (0:00:00.053) 0:00:09.063 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:08 -0400 (0:00:00.068) 0:00:09.132 ******** changed: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.987) 0:00:10.119 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.062) 0:00:10.181 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.054) 0:00:10.236 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.058) 0:00:10.295 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.065) 0:00:10.361 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.058) 0:00:10.420 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.056) 0:00:10.476 ******** skipping: [managed-node1] => {} TASK [Fail if ipset not added] ************************************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:45 Saturday 22 March 2025 01:25:09 -0400 (0:00:00.048) 0:00:10.525 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.252932", "end": "2025-03-22 01:25:10.444615", "failed_when_result": false, "rc": 0, "start": "2025-03-22 01:25:10.191683" } STDOUT: customipset TASK [Fail if entry not added to ipset] **************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:54 Saturday 22 March 2025 01:25:10 -0400 (0:00:00.591) 0:00:11.116 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.257650", "end": "2025-03-22 01:25:11.037103", "rc": 0, "start": "2025-03-22 01:25:10.779453" } STDOUT: yes TASK [Redefine new ipset] ****************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:59 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.560) 0:00:11.677 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.096) 0:00:11.774 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.040) 0:00:11.815 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.047) 0:00:11.862 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.045) 0:00:11.907 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.068) 0:00:11.976 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.065) 0:00:12.042 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:11 -0400 (0:00:00.148) 0:00:12.191 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:12 -0400 (0:00:00.795) 0:00:12.986 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:12 -0400 (0:00:00.135) 0:00:13.122 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:12 -0400 (0:00:00.140) 0:00:13.263 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:12 -0400 (0:00:00.145) 0:00:13.408 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:12 -0400 (0:00:00.072) 0:00:13.480 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:12 -0400 (0:00:00.092) 0:00:13.573 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:13 -0400 (0:00:00.492) 0:00:14.066 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:13 -0400 (0:00:00.432) 0:00:14.498 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:13 -0400 (0:00:00.083) 0:00:14.582 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:14 -0400 (0:00:00.068) 0:00:14.650 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:14 -0400 (0:00:00.069) 0:00:14.720 ******** ok: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:14 -0400 (0:00:00.639) 0:00:15.359 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:14 -0400 (0:00:00.067) 0:00:15.427 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:14 -0400 (0:00:00.052) 0:00:15.479 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:14 -0400 (0:00:00.046) 0:00:15.526 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.064) 0:00:15.591 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.065) 0:00:15.656 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.062) 0:00:15.719 ******** skipping: [managed-node1] => {} TASK [Fail if defining ipset not idempotent] *********************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:71 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.071) 0:00:15.791 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove entries from ipset] *********************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:76 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.076) 0:00:15.867 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.150) 0:00:16.017 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.052) 0:00:16.070 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.058) 0:00:16.128 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.050) 0:00:16.178 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.050) 0:00:16.228 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.053) 0:00:16.282 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:15 -0400 (0:00:00.045) 0:00:16.327 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:16 -0400 (0:00:00.653) 0:00:16.980 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:16 -0400 (0:00:00.055) 0:00:17.036 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:16 -0400 (0:00:00.064) 0:00:17.100 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:16 -0400 (0:00:00.053) 0:00:17.154 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:16 -0400 (0:00:00.058) 0:00:17.212 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:16 -0400 (0:00:00.069) 0:00:17.282 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:17 -0400 (0:00:00.419) 0:00:17.702 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:17 -0400 (0:00:00.436) 0:00:18.138 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:17 -0400 (0:00:00.069) 0:00:18.207 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:17 -0400 (0:00:00.060) 0:00:18.268 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:17 -0400 (0:00:00.053) 0:00:18.322 ******** changed: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.814) 0:00:19.136 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.061) 0:00:19.198 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.056) 0:00:19.254 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.060) 0:00:19.315 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.065) 0:00:19.380 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.066) 0:00:19.447 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.065) 0:00:19.512 ******** skipping: [managed-node1] => {} TASK [Check that custom ipset not removed] ************************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:88 Saturday 22 March 2025 01:25:18 -0400 (0:00:00.064) 0:00:19.577 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.253994", "end": "2025-03-22 01:25:19.542272", "failed_when_result": false, "rc": 0, "start": "2025-03-22 01:25:19.288278" } STDOUT: customipset TASK [Check that entry has been removed] *************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:97 Saturday 22 March 2025 01:25:19 -0400 (0:00:00.662) 0:00:20.239 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.260039", "end": "2025-03-22 01:25:20.208722", "failed_when_result": false, "rc": 1, "start": "2025-03-22 01:25:19.948683" } STDOUT: no MSG: non-zero return code TASK [Test update short and description] *************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:104 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.636) 0:00:20.876 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.132) 0:00:21.008 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.061) 0:00:21.070 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.212) 0:00:21.282 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.069) 0:00:21.352 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.070) 0:00:21.422 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.069) 0:00:21.491 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:20 -0400 (0:00:00.051) 0:00:21.543 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:21 -0400 (0:00:00.656) 0:00:22.200 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:21 -0400 (0:00:00.054) 0:00:22.254 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:21 -0400 (0:00:00.065) 0:00:22.319 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:21 -0400 (0:00:00.076) 0:00:22.396 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:21 -0400 (0:00:00.061) 0:00:22.457 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:21 -0400 (0:00:00.075) 0:00:22.532 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:22 -0400 (0:00:00.426) 0:00:22.959 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:22 -0400 (0:00:00.467) 0:00:23.426 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:22 -0400 (0:00:00.071) 0:00:23.498 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:22 -0400 (0:00:00.071) 0:00:23.570 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:23 -0400 (0:00:00.073) 0:00:23.644 ******** changed: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:23 -0400 (0:00:00.869) 0:00:24.513 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.094) 0:00:24.607 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.081) 0:00:24.689 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.064) 0:00:24.753 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.070) 0:00:24.824 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.068) 0:00:24.893 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.069) 0:00:24.962 ******** skipping: [managed-node1] => {} TASK [Verify changes] ********************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:115 Saturday 22 March 2025 01:25:24 -0400 (0:00:00.069) 0:00:25.032 ******** ok: [managed-node1] => (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.273134", "end": "2025-03-22 01:25:25.059012", "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-03-22 01:25:24.785878" } STDOUT: Custom IPSet for testing purposes (changed) ok: [managed-node1] => (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.262454", "end": "2025-03-22 01:25:25.684899", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-short\n", "expected": "CustomChanged" }, "rc": 0, "start": "2025-03-22 01:25:25.422445" } STDOUT: CustomChanged TASK [Add ipset to default zone] *********************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:129 Saturday 22 March 2025 01:25:25 -0400 (0:00:01.308) 0:00:26.340 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:25 -0400 (0:00:00.182) 0:00:26.523 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:25 -0400 (0:00:00.054) 0:00:26.578 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:26 -0400 (0:00:00.062) 0:00:26.641 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:26 -0400 (0:00:00.050) 0:00:26.692 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:26 -0400 (0:00:00.045) 0:00:26.738 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:26 -0400 (0:00:00.046) 0:00:26.784 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:26 -0400 (0:00:00.052) 0:00:26.837 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:26 -0400 (0:00:00.724) 0:00:27.561 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:27 -0400 (0:00:00.046) 0:00:27.607 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:27 -0400 (0:00:00.046) 0:00:27.654 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:27 -0400 (0:00:00.057) 0:00:27.711 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:27 -0400 (0:00:00.065) 0:00:27.776 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:27 -0400 (0:00:00.090) 0:00:27.867 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:27 -0400 (0:00:00.493) 0:00:28.361 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:28 -0400 (0:00:00.496) 0:00:28.858 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:28 -0400 (0:00:00.078) 0:00:28.936 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:28 -0400 (0:00:00.059) 0:00:28.996 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:28 -0400 (0:00:00.058) 0:00:29.055 ******** changed: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.627) 0:00:29.682 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.088) 0:00:29.771 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.071) 0:00:29.843 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.061) 0:00:29.904 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.055) 0:00:29.959 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.059) 0:00:30.019 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.051) 0:00:30.070 ******** skipping: [managed-node1] => {} TASK [Add ipset to default zone again] ***************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:138 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.046) 0:00:30.116 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.153) 0:00:30.270 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.126) 0:00:30.396 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.060) 0:00:30.457 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.057) 0:00:30.514 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:29 -0400 (0:00:00.052) 0:00:30.567 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:30 -0400 (0:00:00.048) 0:00:30.615 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:30 -0400 (0:00:00.047) 0:00:30.663 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:30 -0400 (0:00:00.726) 0:00:31.389 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:30 -0400 (0:00:00.047) 0:00:31.437 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:30 -0400 (0:00:00.048) 0:00:31.486 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:30 -0400 (0:00:00.054) 0:00:31.541 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:31 -0400 (0:00:00.070) 0:00:31.612 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:31 -0400 (0:00:00.096) 0:00:31.708 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:31 -0400 (0:00:00.506) 0:00:32.214 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:32 -0400 (0:00:00.521) 0:00:32.735 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:32 -0400 (0:00:00.082) 0:00:32.817 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:32 -0400 (0:00:00.068) 0:00:32.886 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:32 -0400 (0:00:00.055) 0:00:32.941 ******** ok: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:32 -0400 (0:00:00.620) 0:00:33.562 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.090) 0:00:33.653 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.081) 0:00:33.735 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.062) 0:00:33.797 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.058) 0:00:33.856 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.061) 0:00:33.918 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.054) 0:00:33.972 ******** skipping: [managed-node1] => {} TASK [Fail if adding ipset is not idempotent (runtime)] ************************ task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:148 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.047) 0:00:34.019 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone (permanent)] *********************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:153 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.046) 0:00:34.065 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.196) 0:00:34.262 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.053) 0:00:34.315 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.070) 0:00:34.386 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.056) 0:00:34.442 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.054) 0:00:34.497 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:33 -0400 (0:00:00.046) 0:00:34.543 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.050) 0:00:34.594 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.707) 0:00:35.302 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.050) 0:00:35.352 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.052) 0:00:35.404 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.046) 0:00:35.451 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.045) 0:00:35.497 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:34 -0400 (0:00:00.064) 0:00:35.562 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:35 -0400 (0:00:00.466) 0:00:36.029 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:35 -0400 (0:00:00.438) 0:00:36.467 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:35 -0400 (0:00:00.075) 0:00:36.543 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:36 -0400 (0:00:00.066) 0:00:36.610 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:36 -0400 (0:00:00.065) 0:00:36.675 ******** ok: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:36 -0400 (0:00:00.667) 0:00:37.343 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:36 -0400 (0:00:00.112) 0:00:37.456 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:36 -0400 (0:00:00.083) 0:00:37.539 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.068) 0:00:37.607 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.073) 0:00:37.680 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.070) 0:00:37.751 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.070) 0:00:37.821 ******** skipping: [managed-node1] => {} TASK [Add ipset to default zone again (permanent)] ***************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:162 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.070) 0:00:37.891 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.324) 0:00:38.216 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.064) 0:00:38.280 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.074) 0:00:38.355 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.075) 0:00:38.430 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.067) 0:00:38.497 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:37 -0400 (0:00:00.063) 0:00:38.560 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.062) 0:00:38.623 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.655) 0:00:39.279 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.055) 0:00:39.334 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.055) 0:00:39.389 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.057) 0:00:39.447 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.059) 0:00:39.506 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:38 -0400 (0:00:00.062) 0:00:39.569 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:39 -0400 (0:00:00.444) 0:00:40.013 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:39 -0400 (0:00:00.471) 0:00:40.485 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:39 -0400 (0:00:00.069) 0:00:40.555 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.047) 0:00:40.603 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.048) 0:00:40.651 ******** ok: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.601) 0:00:41.253 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.092) 0:00:41.345 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.064) 0:00:41.410 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.054) 0:00:41.465 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.061) 0:00:41.527 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:40 -0400 (0:00:00.057) 0:00:41.585 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.049) 0:00:41.634 ******** skipping: [managed-node1] => {} TASK [Fail if adding ipset is not idempotent (permanent)] ********************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:172 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.060) 0:00:41.694 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone] *********************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:177 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.073) 0:00:41.768 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.318) 0:00:42.086 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.065) 0:00:42.152 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.070) 0:00:42.222 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.064) 0:00:42.287 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.067) 0:00:42.355 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.069) 0:00:42.424 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:41 -0400 (0:00:00.068) 0:00:42.493 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:42 -0400 (0:00:00.730) 0:00:43.224 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:42 -0400 (0:00:00.066) 0:00:43.290 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:42 -0400 (0:00:00.067) 0:00:43.357 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:42 -0400 (0:00:00.067) 0:00:43.425 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:42 -0400 (0:00:00.065) 0:00:43.490 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:42 -0400 (0:00:00.086) 0:00:43.576 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:43 -0400 (0:00:00.511) 0:00:44.088 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:43 -0400 (0:00:00.493) 0:00:44.582 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.056) 0:00:44.638 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.079) 0:00:44.717 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.069) 0:00:44.787 ******** changed: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.625) 0:00:45.412 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.063) 0:00:45.475 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.054) 0:00:45.530 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:44 -0400 (0:00:00.047) 0:00:45.577 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.049) 0:00:45.627 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.058) 0:00:45.685 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.075) 0:00:45.761 ******** skipping: [managed-node1] => {} TASK [Remove custom ipset] ***************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:186 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.071) 0:00:45.833 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.333) 0:00:46.166 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.065) 0:00:46.232 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.062) 0:00:46.295 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.055) 0:00:46.350 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.052) 0:00:46.403 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.049) 0:00:46.452 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:45 -0400 (0:00:00.046) 0:00:46.499 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:46 -0400 (0:00:00.705) 0:00:47.204 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:46 -0400 (0:00:00.069) 0:00:47.273 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:46 -0400 (0:00:00.071) 0:00:47.345 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:46 -0400 (0:00:00.068) 0:00:47.413 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:46 -0400 (0:00:00.072) 0:00:47.485 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:46 -0400 (0:00:00.093) 0:00:47.579 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:47 -0400 (0:00:00.519) 0:00:48.098 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:47 -0400 (0:00:00.435) 0:00:48.534 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:48 -0400 (0:00:00.071) 0:00:48.606 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:48 -0400 (0:00:00.067) 0:00:48.673 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:48 -0400 (0:00:00.066) 0:00:48.739 ******** changed: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.867) 0:00:49.607 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.061) 0:00:49.669 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.053) 0:00:49.722 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.053) 0:00:49.776 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.067) 0:00:49.843 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.074) 0:00:49.918 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.074) 0:00:49.993 ******** skipping: [managed-node1] => {} TASK [Fail if ipset not removed] *********************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:195 Saturday 22 March 2025 01:25:49 -0400 (0:00:00.072) 0:00:50.065 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.266432", "end": "2025-03-22 01:25:50.039065", "failed_when_result": false, "rc": 1, "start": "2025-03-22 01:25:49.772633" } MSG: non-zero return code TASK [Remove custom ipset again] *********************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:204 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.641) 0:00:50.707 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.295) 0:00:51.003 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.061) 0:00:51.065 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.073) 0:00:51.138 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.074) 0:00:51.213 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.074) 0:00:51.288 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.078) 0:00:51.367 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:50 -0400 (0:00:00.064) 0:00:51.431 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:51 -0400 (0:00:00.754) 0:00:52.186 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:51 -0400 (0:00:00.071) 0:00:52.257 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:51 -0400 (0:00:00.059) 0:00:52.317 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:51 -0400 (0:00:00.055) 0:00:52.373 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:51 -0400 (0:00:00.055) 0:00:52.428 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:51 -0400 (0:00:00.068) 0:00:52.497 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:52 -0400 (0:00:00.466) 0:00:52.964 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:52 -0400 (0:00:00.501) 0:00:53.466 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:52 -0400 (0:00:00.074) 0:00:53.540 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.056) 0:00:53.596 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.059) 0:00:53.656 ******** ok: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.606) 0:00:54.263 ******** skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.088) 0:00:54.351 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.075) 0:00:54.426 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.055) 0:00:54.482 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:53 -0400 (0:00:00.061) 0:00:54.544 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.058) 0:00:54.602 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.046) 0:00:54.649 ******** skipping: [managed-node1] => {} TASK [Fail if not idempotent] ************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:214 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.045) 0:00:54.695 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:221 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.045) 0:00:54.741 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.299) 0:00:55.040 ******** included: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.053) 0:00:55.094 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.053) 0:00:55.148 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.046) 0:00:55.195 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.050) 0:00:55.245 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.062) 0:00:55.308 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 22 March 2025 01:25:54 -0400 (0:00:00.068) 0:00:55.376 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 22 March 2025 01:25:55 -0400 (0:00:00.673) 0:00:56.050 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 22 March 2025 01:25:55 -0400 (0:00:00.046) 0:00:56.097 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 22 March 2025 01:25:55 -0400 (0:00:00.054) 0:00:56.151 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 22 March 2025 01:25:55 -0400 (0:00:00.048) 0:00:56.200 ******** skipping: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 22 March 2025 01:25:55 -0400 (0:00:00.158) 0:00:56.358 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 22 March 2025 01:25:56 -0400 (0:00:00.292) 0:00:56.651 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 22 March 2025 01:25:56 -0400 (0:00:00.482) 0:00:57.134 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-03-22 01:23:33 EDT", "ActiveEnterTimestampMonotonic": "248513898", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-03-22 01:23:32 EDT", "AssertTimestampMonotonic": "248272847", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ConditionTimestampMonotonic": "248272846", "Conflicts": "shutdown.target ebtables.service ip6tables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9534", "ExecMainStartTimestamp": "Sat 2025-03-22 01:23:32 EDT", "ExecMainStartTimestampMonotonic": "248273861", "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=[Sat 2025-03-22 01:23:32 EDT] ; stop_time=[n/a] ; pid=9534 ; 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": "Sat 2025-03-22 01:23:32 EDT", "InactiveExitTimestampMonotonic": "248273894", "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": "9534", "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": "Sat 2025-03-22 01:23:33 EDT", "WatchdogTimestampMonotonic": "248513656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.492) 0:00:57.626 ******** ok: [managed-node1] => { "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-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.052) 0:00:57.679 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.99 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.352) 0:00:58.031 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.063) 0:00:58.095 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.047) 0:00:58.142 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.051) 0:00:58.193 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.083) 0:00:58.276 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.078) 0:00:58.355 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 22 March 2025 01:25:57 -0400 (0:00:00.079) 0:00:58.435 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.99 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 22 March 2025 01:25:58 -0400 (0:00:00.423) 0:00:58.859 ******** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 22 March 2025 01:25:58 -0400 (0:00:00.088) 0:00:58.948 ******** skipping: [managed-node1] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=96 changed=6 unreachable=0 failed=0 skipped=241 rescued=0 ignored=0 Saturday 22 March 2025 01:25:58 -0400 (0:00:00.066) 0:00:59.014 ******** =============================================================================== Verify changes ---------------------------------------------------------- 1.31s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:115 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:2 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.99s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.87s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Get all ipsets ---------------------------------------------------------- 0.83s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:19 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.81s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.80s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.78s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.75s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.73s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.73s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.72s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.71s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.71s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.69s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.67s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Check that custom ipset not removed ------------------------------------- 0.66s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:88 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.65s /tmp/collections-rdw/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31