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-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml PLAY [Test firewall user defined ipsets] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:2 Friday 11 April 2025 18:13:04 -0400 (0:00:00.030) 0:00:00.030 ********** ok: [managed-node2] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:11 Friday 11 April 2025 18:13:05 -0400 (0:00:00.979) 0:00:01.009 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:05 -0400 (0:00:00.190) 0:00:01.199 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:05 -0400 (0:00:00.059) 0:00:01.259 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:05 -0400 (0:00:00.068) 0:00:01.328 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:06 -0400 (0:00:00.570) 0:00:01.898 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:06 -0400 (0:00:00.062) 0:00:01.961 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:06 -0400 (0:00:00.367) 0:00:02.328 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:06 -0400 (0:00:00.053) 0:00:02.381 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:07 -0400 (0:00:00.793) 0:00:03.175 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:07 -0400 (0:00:00.043) 0:00:03.218 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:07 -0400 (0:00:00.043) 0:00:03.261 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:07 -0400 (0:00:00.050) 0:00:03.312 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:07 -0400 (0:00:00.062) 0:00:03.375 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:07 -0400 (0:00:00.074) 0:00:03.450 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:08 -0400 (0:00:00.733) 0:00:04.183 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:08 -0400 (0:00:00.400) 0:00:04.584 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:08 -0400 (0:00:00.060) 0:00:04.645 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 1d1616523a6ca922778486aea98ebfdb74296c3e8e60344fc49c50bf83c0dcdb /etc/firewalld/services/customservice.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.10.1 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:09 -0400 (0:00:00.992) 0:00:05.638 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:10 -0400 (0:00:00.060) 0:00:05.698 ********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:10 -0400 (0:00:00.043) 0:00:05.741 ********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:10 -0400 (0:00:00.041) 0:00:05.783 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:10 -0400 (0:00:00.047) 0:00:05.831 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:10 -0400 (0:00:00.041) 0:00:05.873 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:10 -0400 (0:00:00.043) 0:00:05.916 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.10.1 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:10 -0400 (0:00:00.351) 0:00:06.268 ********** changed: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:10 -0400 (0:00:00.050) 0:00:06.318 ********** skipping: [managed-node2] => {} TASK [Get all ipsets] ********************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:19 Friday 11 April 2025 18:13:10 -0400 (0:00:00.046) 0:00:06.365 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.265874", "end": "2025-04-11 18:13:11.336896", "failed_when_result": false, "rc": 1, "start": "2025-04-11 18:13:11.071022" } MSG: non-zero return code TASK [Define new ipset] ******************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:30 Friday 11 April 2025 18:13:11 -0400 (0:00:00.762) 0:00:07.127 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:11 -0400 (0:00:00.123) 0:00:07.251 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:11 -0400 (0:00:00.055) 0:00:07.307 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:11 -0400 (0:00:00.069) 0:00:07.376 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:11 -0400 (0:00:00.066) 0:00:07.443 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:11 -0400 (0:00:00.065) 0:00:07.509 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:11 -0400 (0:00:00.072) 0:00:07.582 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:11 -0400 (0:00:00.081) 0:00:07.664 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:12 -0400 (0:00:00.702) 0:00:08.366 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:12 -0400 (0:00:00.065) 0:00:08.431 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:12 -0400 (0:00:00.063) 0:00:08.495 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:12 -0400 (0:00:00.055) 0:00:08.550 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:12 -0400 (0:00:00.054) 0:00:08.605 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:12 -0400 (0:00:00.065) 0:00:08.671 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:13 -0400 (0:00:00.411) 0:00:09.082 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:13 -0400 (0:00:00.428) 0:00:09.511 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:13 -0400 (0:00:00.047) 0:00:09.559 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:13 -0400 (0:00:00.050) 0:00:09.610 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:13 -0400 (0:00:00.062) 0:00:09.672 ********** changed: [managed-node2] => (item={u'permanent': True, u'state': u'present', u'short': u'Custom', u'description': u'Custom IPSet for testing purposes', u'ipset': u'customipset', u'ipset_type': u'hash:ip', u'ipset_entries': [u'127.0.0.1', u'8.8.8.8']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "ipset_entries": [ "127.0.0.1", "8.8.8.8" ], "ipset_type": "hash:ip", "permanent": true, "short": "Custom", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:14 -0400 (0:00:00.967) 0:00:10.640 ********** skipping: [managed-node2] => (item={u'permanent': True, u'state': u'present', u'short': u'Custom', u'description': u'Custom IPSet for testing purposes', u'ipset': u'customipset', u'ipset_type': u'hash:ip', u'ipset_entries': [u'127.0.0.1', u'8.8.8.8']}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "ipset_entries": [ "127.0.0.1", "8.8.8.8" ], "ipset_type": "hash:ip", "permanent": true, "short": "Custom", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:15 -0400 (0:00:00.055) 0:00:10.696 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:15 -0400 (0:00:00.057) 0:00:10.753 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:15 -0400 (0:00:00.042) 0:00:10.796 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:15 -0400 (0:00:00.044) 0:00:10.841 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:15 -0400 (0:00:00.041) 0:00:10.882 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:15 -0400 (0:00:00.055) 0:00:10.938 ********** skipping: [managed-node2] => {} TASK [Fail if ipset not added] ************************************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:45 Friday 11 April 2025 18:13:15 -0400 (0:00:00.065) 0:00:11.004 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.254494", "end": "2025-04-11 18:13:15.823962", "failed_when_result": false, "rc": 0, "start": "2025-04-11 18:13:15.569468" } STDOUT: customipset TASK [Fail if entry not added to ipset] **************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:54 Friday 11 April 2025 18:13:15 -0400 (0:00:00.582) 0:00:11.586 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.275873", "end": "2025-04-11 18:13:16.399749", "rc": 0, "start": "2025-04-11 18:13:16.123876" } STDOUT: yes TASK [Redefine new ipset] ****************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:59 Friday 11 April 2025 18:13:16 -0400 (0:00:00.552) 0:00:12.138 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:16 -0400 (0:00:00.081) 0:00:12.220 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:16 -0400 (0:00:00.041) 0:00:12.262 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:16 -0400 (0:00:00.062) 0:00:12.324 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:16 -0400 (0:00:00.054) 0:00:12.378 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:16 -0400 (0:00:00.050) 0:00:12.429 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:16 -0400 (0:00:00.050) 0:00:12.479 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:16 -0400 (0:00:00.050) 0:00:12.529 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:17 -0400 (0:00:00.661) 0:00:13.191 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:17 -0400 (0:00:00.044) 0:00:13.235 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:17 -0400 (0:00:00.043) 0:00:13.278 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:17 -0400 (0:00:00.043) 0:00:13.322 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:17 -0400 (0:00:00.044) 0:00:13.366 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:17 -0400 (0:00:00.065) 0:00:13.432 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:18 -0400 (0:00:00.431) 0:00:13.863 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:18 -0400 (0:00:00.411) 0:00:14.275 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:18 -0400 (0:00:00.050) 0:00:14.325 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:18 -0400 (0:00:00.043) 0:00:14.369 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:18 -0400 (0:00:00.043) 0:00:14.413 ********** ok: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes', u'short': u'Custom'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "permanent": true, "short": "Custom", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:19 -0400 (0:00:00.622) 0:00:15.035 ********** skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes', u'short': u'Custom'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes", "ipset": "customipset", "permanent": true, "short": "Custom", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:19 -0400 (0:00:00.057) 0:00:15.093 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:19 -0400 (0:00:00.059) 0:00:15.152 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:19 -0400 (0:00:00.065) 0:00:15.218 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:19 -0400 (0:00:00.068) 0:00:15.286 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:19 -0400 (0:00:00.064) 0:00:15.350 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:19 -0400 (0:00:00.066) 0:00:15.417 ********** skipping: [managed-node2] => {} TASK [Fail if defining ipset not idempotent] *********************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:71 Friday 11 April 2025 18:13:19 -0400 (0:00:00.066) 0:00:15.483 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove entries from ipset] *********************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:76 Friday 11 April 2025 18:13:19 -0400 (0:00:00.063) 0:00:15.547 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:20 -0400 (0:00:00.157) 0:00:15.705 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:20 -0400 (0:00:00.057) 0:00:15.762 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:20 -0400 (0:00:00.065) 0:00:15.827 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:20 -0400 (0:00:00.062) 0:00:15.890 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:20 -0400 (0:00:00.063) 0:00:15.954 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:20 -0400 (0:00:00.062) 0:00:16.016 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:20 -0400 (0:00:00.064) 0:00:16.081 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:21 -0400 (0:00:00.686) 0:00:16.767 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:21 -0400 (0:00:00.066) 0:00:16.834 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:21 -0400 (0:00:00.078) 0:00:16.912 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:21 -0400 (0:00:00.063) 0:00:16.976 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:21 -0400 (0:00:00.063) 0:00:17.039 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:21 -0400 (0:00:00.070) 0:00:17.110 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:21 -0400 (0:00:00.411) 0:00:17.522 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:22 -0400 (0:00:00.413) 0:00:17.935 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:22 -0400 (0:00:00.061) 0:00:17.997 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:22 -0400 (0:00:00.048) 0:00:18.045 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:22 -0400 (0:00:00.043) 0:00:18.088 ********** changed: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True, u'ipset_entries': [u'8.8.8.8', u'127.0.0.1']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "ipset": "customipset", "ipset_entries": [ "8.8.8.8", "127.0.0.1" ], "permanent": true, "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:23 -0400 (0:00:00.816) 0:00:18.905 ********** skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True, u'ipset_entries': [u'8.8.8.8', u'127.0.0.1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "ipset_entries": [ "8.8.8.8", "127.0.0.1" ], "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:23 -0400 (0:00:00.070) 0:00:18.976 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:23 -0400 (0:00:00.050) 0:00:19.026 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:23 -0400 (0:00:00.044) 0:00:19.071 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:23 -0400 (0:00:00.043) 0:00:19.114 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:23 -0400 (0:00:00.044) 0:00:19.158 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:23 -0400 (0:00:00.045) 0:00:19.204 ********** skipping: [managed-node2] => {} TASK [Check that custom ipset not removed] ************************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:88 Friday 11 April 2025 18:13:23 -0400 (0:00:00.045) 0:00:19.249 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.255023", "end": "2025-04-11 18:13:24.052237", "failed_when_result": false, "rc": 0, "start": "2025-04-11 18:13:23.797214" } STDOUT: customipset TASK [Check that entry has been removed] *************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:97 Friday 11 April 2025 18:13:24 -0400 (0:00:00.568) 0:00:19.818 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.285707", "end": "2025-04-11 18:13:24.653020", "failed_when_result": false, "rc": 1, "start": "2025-04-11 18:13:24.367313" } STDOUT: no MSG: non-zero return code TASK [Test update short and description] *************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:104 Friday 11 April 2025 18:13:24 -0400 (0:00:00.600) 0:00:20.419 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:24 -0400 (0:00:00.112) 0:00:20.532 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:24 -0400 (0:00:00.043) 0:00:20.576 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:24 -0400 (0:00:00.071) 0:00:20.647 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:25 -0400 (0:00:00.051) 0:00:20.698 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:25 -0400 (0:00:00.058) 0:00:20.757 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:25 -0400 (0:00:00.112) 0:00:20.869 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:25 -0400 (0:00:00.113) 0:00:20.983 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:25 -0400 (0:00:00.614) 0:00:21.597 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:25 -0400 (0:00:00.043) 0:00:21.641 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:26 -0400 (0:00:00.059) 0:00:21.701 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:26 -0400 (0:00:00.057) 0:00:21.759 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:26 -0400 (0:00:00.055) 0:00:21.814 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:26 -0400 (0:00:00.067) 0:00:21.882 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:26 -0400 (0:00:00.420) 0:00:22.303 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:27 -0400 (0:00:00.468) 0:00:22.771 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:27 -0400 (0:00:00.051) 0:00:22.823 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:27 -0400 (0:00:00.044) 0:00:22.867 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:27 -0400 (0:00:00.045) 0:00:22.912 ********** changed: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes (changed)', u'short': u'CustomChanged'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "Custom IPSet for testing purposes (changed)", "ipset": "customipset", "permanent": true, "short": "CustomChanged", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:28 -0400 (0:00:00.848) 0:00:23.761 ********** skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'present', u'permanent': True, u'description': u'Custom IPSet for testing purposes (changed)', u'short': u'CustomChanged'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes (changed)", "ipset": "customipset", "permanent": true, "short": "CustomChanged", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:28 -0400 (0:00:00.071) 0:00:23.832 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:28 -0400 (0:00:00.065) 0:00:23.898 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:28 -0400 (0:00:00.044) 0:00:23.943 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:28 -0400 (0:00:00.044) 0:00:23.987 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:28 -0400 (0:00:00.044) 0:00:24.032 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:28 -0400 (0:00:00.051) 0:00:24.083 ********** skipping: [managed-node2] => {} TASK [Verify changes] ********************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:115 Friday 11 April 2025 18:13:28 -0400 (0:00:00.043) 0:00:24.127 ********** ok: [managed-node2] => (item={u'expected': u'Custom IPSet for testing purposes (changed)', u'command': u'firewall-cmd --permanent --ipset customipset --get-description\n'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--get-description" ], "delta": "0:00:00.270038", "end": "2025-04-11 18:13:28.999511", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-description\n", "expected": "Custom IPSet for testing purposes (changed)" }, "rc": 0, "start": "2025-04-11 18:13:28.729473" } STDOUT: Custom IPSet for testing purposes (changed) ok: [managed-node2] => (item={u'expected': u'CustomChanged', u'command': u'firewall-cmd --permanent --ipset customipset --get-short\n'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--get-short" ], "delta": "0:00:00.263270", "end": "2025-04-11 18:13:29.566478", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-short\n", "expected": "CustomChanged" }, "rc": 0, "start": "2025-04-11 18:13:29.303208" } STDOUT: CustomChanged TASK [Add ipset to default zone] *********************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:129 Friday 11 April 2025 18:13:29 -0400 (0:00:01.206) 0:00:25.334 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:29 -0400 (0:00:00.206) 0:00:25.540 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:29 -0400 (0:00:00.050) 0:00:25.591 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:29 -0400 (0:00:00.054) 0:00:25.645 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:30 -0400 (0:00:00.048) 0:00:25.693 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:30 -0400 (0:00:00.044) 0:00:25.738 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:30 -0400 (0:00:00.043) 0:00:25.781 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:30 -0400 (0:00:00.043) 0:00:25.825 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:30 -0400 (0:00:00.627) 0:00:26.452 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:30 -0400 (0:00:00.050) 0:00:26.503 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:30 -0400 (0:00:00.057) 0:00:26.561 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:30 -0400 (0:00:00.059) 0:00:26.620 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:30 -0400 (0:00:00.051) 0:00:26.672 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:31 -0400 (0:00:00.068) 0:00:26.740 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:31 -0400 (0:00:00.414) 0:00:27.154 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:31 -0400 (0:00:00.393) 0:00:27.548 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:31 -0400 (0:00:00.051) 0:00:27.600 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:31 -0400 (0:00:00.058) 0:00:27.658 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:32 -0400 (0:00:00.058) 0:00:27.717 ********** changed: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:32 -0400 (0:00:00.595) 0:00:28.313 ********** skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:32 -0400 (0:00:00.062) 0:00:28.375 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:32 -0400 (0:00:00.050) 0:00:28.426 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:32 -0400 (0:00:00.043) 0:00:28.470 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:32 -0400 (0:00:00.044) 0:00:28.514 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:32 -0400 (0:00:00.043) 0:00:28.558 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:32 -0400 (0:00:00.045) 0:00:28.603 ********** skipping: [managed-node2] => {} TASK [Add ipset to default zone again] ***************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:138 Friday 11 April 2025 18:13:32 -0400 (0:00:00.052) 0:00:28.656 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:33 -0400 (0:00:00.256) 0:00:28.913 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:33 -0400 (0:00:00.060) 0:00:28.973 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:33 -0400 (0:00:00.067) 0:00:29.041 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:33 -0400 (0:00:00.064) 0:00:29.106 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:33 -0400 (0:00:00.064) 0:00:29.171 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:33 -0400 (0:00:00.079) 0:00:29.250 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:33 -0400 (0:00:00.064) 0:00:29.315 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:34 -0400 (0:00:00.698) 0:00:30.013 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:34 -0400 (0:00:00.054) 0:00:30.068 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:34 -0400 (0:00:00.057) 0:00:30.126 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:34 -0400 (0:00:00.054) 0:00:30.180 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:34 -0400 (0:00:00.050) 0:00:30.231 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:34 -0400 (0:00:00.058) 0:00:30.290 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:34 -0400 (0:00:00.398) 0:00:30.688 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:35 -0400 (0:00:00.447) 0:00:31.136 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:35 -0400 (0:00:00.070) 0:00:31.207 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:35 -0400 (0:00:00.087) 0:00:31.294 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:35 -0400 (0:00:00.053) 0:00:31.348 ********** ok: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:36 -0400 (0:00:00.573) 0:00:31.921 ********** skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:36 -0400 (0:00:00.059) 0:00:31.980 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:36 -0400 (0:00:00.051) 0:00:32.032 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:36 -0400 (0:00:00.046) 0:00:32.079 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:36 -0400 (0:00:00.047) 0:00:32.127 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:36 -0400 (0:00:00.045) 0:00:32.172 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:36 -0400 (0:00:00.044) 0:00:32.216 ********** skipping: [managed-node2] => {} TASK [Fail if adding ipset is not idempotent (runtime)] ************************ task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:148 Friday 11 April 2025 18:13:36 -0400 (0:00:00.044) 0:00:32.261 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone (permanent)] *********************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:153 Friday 11 April 2025 18:13:36 -0400 (0:00:00.050) 0:00:32.312 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:36 -0400 (0:00:00.137) 0:00:32.449 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:36 -0400 (0:00:00.038) 0:00:32.487 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:36 -0400 (0:00:00.069) 0:00:32.556 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:36 -0400 (0:00:00.078) 0:00:32.635 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:37 -0400 (0:00:00.065) 0:00:32.700 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:37 -0400 (0:00:00.065) 0:00:32.766 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:37 -0400 (0:00:00.065) 0:00:32.832 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:37 -0400 (0:00:00.695) 0:00:33.528 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:37 -0400 (0:00:00.061) 0:00:33.589 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:37 -0400 (0:00:00.066) 0:00:33.656 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:38 -0400 (0:00:00.063) 0:00:33.720 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:38 -0400 (0:00:00.064) 0:00:33.785 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:38 -0400 (0:00:00.089) 0:00:33.874 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:38 -0400 (0:00:00.470) 0:00:34.345 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:39 -0400 (0:00:00.439) 0:00:34.784 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:39 -0400 (0:00:00.050) 0:00:34.835 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:39 -0400 (0:00:00.044) 0:00:34.879 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:39 -0400 (0:00:00.050) 0:00:34.930 ********** ok: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:39 -0400 (0:00:00.617) 0:00:35.547 ********** skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:39 -0400 (0:00:00.069) 0:00:35.617 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:40 -0400 (0:00:00.074) 0:00:35.692 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:40 -0400 (0:00:00.052) 0:00:35.744 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:40 -0400 (0:00:00.057) 0:00:35.802 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:40 -0400 (0:00:00.051) 0:00:35.854 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:40 -0400 (0:00:00.044) 0:00:35.898 ********** skipping: [managed-node2] => {} TASK [Add ipset to default zone again (permanent)] ***************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:162 Friday 11 April 2025 18:13:40 -0400 (0:00:00.043) 0:00:35.941 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:40 -0400 (0:00:00.269) 0:00:36.210 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:40 -0400 (0:00:00.062) 0:00:36.273 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:40 -0400 (0:00:00.071) 0:00:36.344 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:40 -0400 (0:00:00.053) 0:00:36.397 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:40 -0400 (0:00:00.070) 0:00:36.468 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:40 -0400 (0:00:00.052) 0:00:36.520 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:40 -0400 (0:00:00.045) 0:00:36.566 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:41 -0400 (0:00:00.617) 0:00:37.183 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:41 -0400 (0:00:00.066) 0:00:37.250 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:41 -0400 (0:00:00.065) 0:00:37.315 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:41 -0400 (0:00:00.069) 0:00:37.385 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:41 -0400 (0:00:00.078) 0:00:37.464 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:41 -0400 (0:00:00.098) 0:00:37.563 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:42 -0400 (0:00:00.466) 0:00:38.029 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:42 -0400 (0:00:00.416) 0:00:38.445 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:42 -0400 (0:00:00.055) 0:00:38.501 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:42 -0400 (0:00:00.077) 0:00:38.579 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:42 -0400 (0:00:00.070) 0:00:38.649 ********** ok: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:43 -0400 (0:00:00.618) 0:00:39.268 ********** skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'enabled', u'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:43 -0400 (0:00:00.060) 0:00:39.329 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:43 -0400 (0:00:00.059) 0:00:39.388 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:43 -0400 (0:00:00.061) 0:00:39.449 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:43 -0400 (0:00:00.063) 0:00:39.513 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:43 -0400 (0:00:00.057) 0:00:39.570 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:43 -0400 (0:00:00.064) 0:00:39.635 ********** skipping: [managed-node2] => {} TASK [Fail if adding ipset is not idempotent (permanent)] ********************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:172 Friday 11 April 2025 18:13:43 -0400 (0:00:00.048) 0:00:39.684 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone] *********************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:177 Friday 11 April 2025 18:13:44 -0400 (0:00:00.044) 0:00:39.729 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:44 -0400 (0:00:00.229) 0:00:39.958 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:44 -0400 (0:00:00.061) 0:00:40.020 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:44 -0400 (0:00:00.073) 0:00:40.093 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:44 -0400 (0:00:00.064) 0:00:40.158 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:44 -0400 (0:00:00.060) 0:00:40.218 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:44 -0400 (0:00:00.053) 0:00:40.271 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:44 -0400 (0:00:00.054) 0:00:40.326 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:45 -0400 (0:00:00.620) 0:00:40.947 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:45 -0400 (0:00:00.065) 0:00:41.012 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:45 -0400 (0:00:00.063) 0:00:41.076 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:45 -0400 (0:00:00.072) 0:00:41.149 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:45 -0400 (0:00:00.069) 0:00:41.218 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:45 -0400 (0:00:00.090) 0:00:41.308 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:46 -0400 (0:00:00.461) 0:00:41.769 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:46 -0400 (0:00:00.444) 0:00:42.214 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:46 -0400 (0:00:00.050) 0:00:42.265 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:46 -0400 (0:00:00.044) 0:00:42.309 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:46 -0400 (0:00:00.050) 0:00:42.360 ********** changed: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'disabled', u'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "source": "ipset:customipset", "state": "disabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:47 -0400 (0:00:00.649) 0:00:43.010 ********** skipping: [managed-node2] => (item={u'source': u'ipset:customipset', u'state': u'disabled', u'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "source": "ipset:customipset", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:47 -0400 (0:00:00.086) 0:00:43.096 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:47 -0400 (0:00:00.073) 0:00:43.169 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:47 -0400 (0:00:00.057) 0:00:43.227 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:47 -0400 (0:00:00.053) 0:00:43.281 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:47 -0400 (0:00:00.050) 0:00:43.331 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:47 -0400 (0:00:00.044) 0:00:43.376 ********** skipping: [managed-node2] => {} TASK [Remove custom ipset] ***************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:186 Friday 11 April 2025 18:13:47 -0400 (0:00:00.044) 0:00:43.420 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:48 -0400 (0:00:00.344) 0:00:43.764 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:48 -0400 (0:00:00.042) 0:00:43.807 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:48 -0400 (0:00:00.049) 0:00:43.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:48 -0400 (0:00:00.044) 0:00:43.901 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:48 -0400 (0:00:00.043) 0:00:43.945 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:48 -0400 (0:00:00.043) 0:00:43.988 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:48 -0400 (0:00:00.043) 0:00:44.032 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:48 -0400 (0:00:00.620) 0:00:44.653 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:49 -0400 (0:00:00.052) 0:00:44.706 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:49 -0400 (0:00:00.050) 0:00:44.756 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:49 -0400 (0:00:00.045) 0:00:44.801 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:49 -0400 (0:00:00.043) 0:00:44.845 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:49 -0400 (0:00:00.059) 0:00:44.904 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:49 -0400 (0:00:00.419) 0:00:45.324 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:50 -0400 (0:00:00.442) 0:00:45.766 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:50 -0400 (0:00:00.081) 0:00:45.848 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:50 -0400 (0:00:00.066) 0:00:45.915 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:50 -0400 (0:00:00.070) 0:00:45.985 ********** changed: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "ipset": "customipset", "permanent": true, "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:51 -0400 (0:00:00.850) 0:00:46.836 ********** skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:51 -0400 (0:00:00.058) 0:00:46.894 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:51 -0400 (0:00:00.051) 0:00:46.946 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:51 -0400 (0:00:00.047) 0:00:46.994 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:51 -0400 (0:00:00.046) 0:00:47.040 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:51 -0400 (0:00:00.056) 0:00:47.097 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:51 -0400 (0:00:00.060) 0:00:47.157 ********** skipping: [managed-node2] => {} TASK [Fail if ipset not removed] *********************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:195 Friday 11 April 2025 18:13:51 -0400 (0:00:00.064) 0:00:47.222 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.258891", "end": "2025-04-11 18:13:52.051992", "failed_when_result": false, "rc": 1, "start": "2025-04-11 18:13:51.793101" } MSG: non-zero return code TASK [Remove custom ipset again] *********************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:204 Friday 11 April 2025 18:13:52 -0400 (0:00:00.612) 0:00:47.834 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:52 -0400 (0:00:00.249) 0:00:48.084 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:52 -0400 (0:00:00.038) 0:00:48.123 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:52 -0400 (0:00:00.049) 0:00:48.173 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:52 -0400 (0:00:00.054) 0:00:48.227 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:52 -0400 (0:00:00.067) 0:00:48.295 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:52 -0400 (0:00:00.064) 0:00:48.359 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:52 -0400 (0:00:00.062) 0:00:48.422 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:53 -0400 (0:00:00.679) 0:00:49.101 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:53 -0400 (0:00:00.061) 0:00:49.163 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:53 -0400 (0:00:00.067) 0:00:49.231 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:53 -0400 (0:00:00.064) 0:00:49.295 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:53 -0400 (0:00:00.064) 0:00:49.360 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:53 -0400 (0:00:00.083) 0:00:49.443 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:54 -0400 (0:00:00.454) 0:00:49.897 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:54 -0400 (0:00:00.473) 0:00:50.371 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:54 -0400 (0:00:00.074) 0:00:50.445 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:54 -0400 (0:00:00.066) 0:00:50.511 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:54 -0400 (0:00:00.067) 0:00:50.579 ********** ok: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:55 -0400 (0:00:00.639) 0:00:51.218 ********** skipping: [managed-node2] => (item={u'ipset': u'customipset', u'state': u'absent', u'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:55 -0400 (0:00:00.085) 0:00:51.304 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:55 -0400 (0:00:00.071) 0:00:51.375 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:55 -0400 (0:00:00.064) 0:00:51.440 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:55 -0400 (0:00:00.064) 0:00:51.504 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:13:55 -0400 (0:00:00.067) 0:00:51.571 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:13:55 -0400 (0:00:00.067) 0:00:51.639 ********** skipping: [managed-node2] => {} TASK [Fail if not idempotent] ************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:214 Friday 11 April 2025 18:13:56 -0400 (0:00:00.064) 0:00:51.703 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:221 Friday 11 April 2025 18:13:56 -0400 (0:00:00.066) 0:00:51.770 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 11 April 2025 18:13:56 -0400 (0:00:00.272) 0:00:52.042 ********** included: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 11 April 2025 18:13:56 -0400 (0:00:00.038) 0:00:52.080 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 11 April 2025 18:13:56 -0400 (0:00:00.049) 0:00:52.130 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 11 April 2025 18:13:56 -0400 (0:00:00.056) 0:00:52.186 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 11 April 2025 18:13:56 -0400 (0:00:00.063) 0:00:52.249 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 11 April 2025 18:13:56 -0400 (0:00:00.056) 0:00:52.306 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 11 April 2025 18:13:56 -0400 (0:00:00.053) 0:00:52.359 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 11 April 2025 18:13:57 -0400 (0:00:00.631) 0:00:52.991 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 11 April 2025 18:13:57 -0400 (0:00:00.043) 0:00:53.034 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 11 April 2025 18:13:57 -0400 (0:00:00.043) 0:00:53.078 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 11 April 2025 18:13:57 -0400 (0:00:00.045) 0:00:53.124 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 11 April 2025 18:13:57 -0400 (0:00:00.042) 0:00:53.166 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 11 April 2025 18:13:57 -0400 (0:00:00.057) 0:00:53.224 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 11 April 2025 18:13:57 -0400 (0:00:00.407) 0:00:53.631 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ActiveEnterTimestampMonotonic": "851247931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-11 18:12:13 EDT", "AssertTimestampMonotonic": "850989869", "Before": "network-pre.target shutdown.target multi-user.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": "Fri 2025-04-11 18:12:13 EDT", "ConditionTimestampMonotonic": "850989867", "Conflicts": "iptables.service ipset.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "ExecMainStartTimestamp": "Fri 2025-04-11 18:12:13 EDT", "ExecMainStartTimestampMonotonic": "850991188", "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=[Fri 2025-04-11 18:12:13 EDT] ; stop_time=[n/a] ; pid=9558 ; 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": "Fri 2025-04-11 18:12:13 EDT", "InactiveExitTimestampMonotonic": "850991220", "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": "9558", "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": "Fri 2025-04-11 18:12:13 EDT", "WatchdogTimestampMonotonic": "851247872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 11 April 2025 18:13:58 -0400 (0:00:00.459) 0:00:54.091 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 11 April 2025 18:13:58 -0400 (0:00:00.050) 0:00:54.141 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.10.1 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 11 April 2025 18:13:59 -0400 (0:00:00.931) 0:00:55.073 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 11 April 2025 18:13:59 -0400 (0:00:00.072) 0:00:55.145 ********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 11 April 2025 18:13:59 -0400 (0:00:00.068) 0:00:55.214 ********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 11 April 2025 18:13:59 -0400 (0:00:00.067) 0:00:55.281 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 11 April 2025 18:13:59 -0400 (0:00:00.078) 0:00:55.360 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 11 April 2025 18:13:59 -0400 (0:00:00.068) 0:00:55.429 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 11 April 2025 18:13:59 -0400 (0:00:00.057) 0:00:55.486 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.10.1 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 11 April 2025 18:14:00 -0400 (0:00:00.358) 0:00:55.845 ********** ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 11 April 2025 18:14:00 -0400 (0:00:00.061) 0:00:55.906 ********** skipping: [managed-node2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=96 changed=7 unreachable=0 failed=0 skipped=241 rescued=0 ignored=0 Friday 11 April 2025 18:14:00 -0400 (0:00:00.061) 0:00:55.968 ********** =============================================================================== Verify changes ---------------------------------------------------------- 1.21s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:115 Gathering Facts --------------------------------------------------------- 0.98s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:2 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.97s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.93s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.85s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.82s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.79s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Get all ipsets ---------------------------------------------------------- 0.76s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ipsets.yml:19 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.70s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.70s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.70s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.69s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.68s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.65s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.64s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.63s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.63s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.62s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.62s /tmp/collections-wmc/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31