ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_service.yml **************************************************** 1 plays in /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml PLAY [Test firewall user defined services] ************************************* [WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin (): 'Play' object has no attribute 'get_path' TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:2 Tuesday 20 May 2025 12:54:52 -0400 (0:00:00.039) 0:00:00.039 *********** [WARNING]: Failure using method (v2_runner_on_start) in callback plugin (): 'module' object has no attribute 'timezone' ok: [managed-node1] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:11 Tuesday 20 May 2025 12:54:53 -0400 (0:00:01.113) 0:00:01.152 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:54:53 -0400 (0:00:00.156) 0:00:01.309 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:54:53 -0400 (0:00:00.049) 0:00:01.358 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:54:53 -0400 (0:00:00.048) 0:00:01.406 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:54:54 -0400 (0:00:00.502) 0:00:01.909 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:54:54 -0400 (0:00:00.120) 0:00:02.030 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:54:54 -0400 (0:00:00.388) 0:00:02.418 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:54:54 -0400 (0:00:00.067) 0:00:02.486 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.004887", "end": "2025-05-20 12:54:55.062316", "failed_when_result": false, "rc": 0, "start": "2025-05-20 12:54:55.057429" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:54:55 -0400 (0:00:00.467) 0:00:02.954 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:54:55 -0400 (0:00:00.066) 0:00:03.020 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:54:55 -0400 (0:00:00.070) 0:00:03.091 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:54:56 -0400 (0:00:00.838) 0:00:03.930 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:54:56 -0400 (0:00:00.067) 0:00:03.997 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:54:56 -0400 (0:00:00.067) 0:00:04.065 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:54:56 -0400 (0:00:00.067) 0:00:04.133 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:54:56 -0400 (0:00:00.093) 0:00:04.226 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:54:56 -0400 (0:00:00.096) 0:00:04.323 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:54:57 -0400 (0:00:00.835) 0:00:05.158 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:54:57 -0400 (0:00:00.468) 0:00:05.627 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:54:57 -0400 (0:00:00.052) 0:00:05.680 *********** ok: [managed-node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.191 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:54:58 -0400 (0:00:00.851) 0:00:06.531 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:54:58 -0400 (0:00:00.050) 0:00:06.581 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:54:58 -0400 (0:00:00.044) 0:00:06.625 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:54:58 -0400 (0:00:00.052) 0:00:06.678 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:54:58 -0400 (0:00:00.068) 0:00:06.747 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:54:58 -0400 (0:00:00.059) 0:00:06.807 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:54:59 -0400 (0:00:00.055) 0:00:06.862 *********** ok: [managed-node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.191 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:54:59 -0400 (0:00:00.400) 0:00:07.263 *********** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:54:59 -0400 (0:00:00.069) 0:00:07.333 *********** skipping: [managed-node1] => {} TASK [Get all services] ******************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:20 Tuesday 20 May 2025 12:54:59 -0400 (0:00:00.052) 0:00:07.386 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--get-services" ], "delta": "0:00:00.216517", "end": "2025-05-20 12:55:00.035821", "rc": 0, "start": "2025-05-20 12:54:59.819304" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail if http not present after reset] ************************************ task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:25 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.528) 0:00:07.915 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if systemroletest present prior to test run] ************************ task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:32 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.044) 0:00:07.960 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure http has default configuration] *********************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:37 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.043) 0:00:08.004 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.076) 0:00:08.081 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.039) 0:00:08.120 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.050) 0:00:08.171 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.048) 0:00:08.219 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.059) 0:00:08.279 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.066) 0:00:08.346 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.064) 0:00:08.411 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.062) 0:00:08.473 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.057) 0:00:08.531 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:00 -0400 (0:00:00.057) 0:00:08.588 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:01 -0400 (0:00:00.632) 0:00:09.221 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:01 -0400 (0:00:00.063) 0:00:09.284 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:01 -0400 (0:00:00.065) 0:00:09.349 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:01 -0400 (0:00:00.070) 0:00:09.420 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:01 -0400 (0:00:00.076) 0:00:09.497 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:01 -0400 (0:00:00.082) 0:00:09.579 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:02 -0400 (0:00:00.442) 0:00:10.022 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:02 -0400 (0:00:00.478) 0:00:10.500 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:02 -0400 (0:00:00.073) 0:00:10.573 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:02 -0400 (0:00:00.087) 0:00:10.661 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:02 -0400 (0:00:00.067) 0:00:10.728 *********** ok: [managed-node1] => (item={u'permanent': True, u'state': u'present', u'short': u'WWW (HTTP)', u'description': u'HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.', u'service': u'http', u'port': [u'80/tcp']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.", "permanent": true, "port": [ "80/tcp" ], "service": "http", "short": "WWW (HTTP)", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:03 -0400 (0:00:00.949) 0:00:11.677 *********** skipping: [managed-node1] => (item={u'permanent': True, u'state': u'present', u'short': u'WWW (HTTP)', u'description': u'HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.', u'service': u'http', u'port': [u'80/tcp']}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.", "permanent": true, "port": [ "80/tcp" ], "service": "http", "short": "WWW (HTTP)", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:03 -0400 (0:00:00.062) 0:00:11.739 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:03 -0400 (0:00:00.053) 0:00:11.793 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.061) 0:00:11.854 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.070) 0:00:11.924 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.071) 0:00:11.996 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.066) 0:00:12.063 *********** skipping: [managed-node1] => {} TASK [Fail if service changed] ************************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:54 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.070) 0:00:12.133 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change default service http] ********************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:61 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.064) 0:00:12.198 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.143) 0:00:12.341 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.094) 0:00:12.436 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.061) 0:00:12.497 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.050) 0:00:12.548 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.045) 0:00:12.593 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.046) 0:00:12.640 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.052) 0:00:12.692 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.051) 0:00:12.744 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:04 -0400 (0:00:00.069) 0:00:12.813 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.058) 0:00:12.872 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.658) 0:00:13.530 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.052) 0:00:13.582 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.054) 0:00:13.637 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.051) 0:00:13.689 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.064) 0:00:13.753 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:05 -0400 (0:00:00.061) 0:00:13.815 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:06 -0400 (0:00:00.437) 0:00:14.253 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:06 -0400 (0:00:00.487) 0:00:14.740 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:06 -0400 (0:00:00.058) 0:00:14.798 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:07 -0400 (0:00:00.045) 0:00:14.844 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:07 -0400 (0:00:00.050) 0:00:14.894 *********** changed: [managed-node1] => (item={u'state': u'present', u'permanent': True, u'description': u'linux system role test description', u'service': u'http', u'destination': [u'1.1.1.1', u'1::1'], u'port': [u'8080/tcp'], u'includes': []}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "includes": [], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:07 -0400 (0:00:00.884) 0:00:15.779 *********** skipping: [managed-node1] => (item={u'state': u'present', u'permanent': True, u'description': u'linux system role test description', u'service': u'http', u'destination': [u'1.1.1.1', u'1::1'], u'port': [u'8080/tcp'], u'includes': []}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "includes": [], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.097) 0:00:15.877 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.071) 0:00:15.948 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.060) 0:00:16.008 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.054) 0:00:16.063 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.049) 0:00:16.112 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.045) 0:00:16.158 *********** skipping: [managed-node1] => {} TASK [Fail when http is unchanged] ********************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:76 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.045) 0:00:16.204 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change default service http again] *************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:81 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.045) 0:00:16.250 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.091) 0:00:16.342 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.048) 0:00:16.391 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.068) 0:00:16.459 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.068) 0:00:16.527 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.066) 0:00:16.594 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.063) 0:00:16.657 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.069) 0:00:16.727 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:08 -0400 (0:00:00.082) 0:00:16.810 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.066) 0:00:16.876 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.049) 0:00:16.926 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.638) 0:00:17.564 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.045) 0:00:17.610 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.046) 0:00:17.657 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.053) 0:00:17.711 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:09 -0400 (0:00:00.087) 0:00:17.798 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:10 -0400 (0:00:00.109) 0:00:17.907 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:10 -0400 (0:00:00.500) 0:00:18.407 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:10 -0400 (0:00:00.409) 0:00:18.817 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:11 -0400 (0:00:00.054) 0:00:18.872 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:11 -0400 (0:00:00.051) 0:00:18.923 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:11 -0400 (0:00:00.049) 0:00:18.973 *********** ok: [managed-node1] => (item={u'state': u'present', u'permanent': True, u'description': u'linux system role test description', u'service': u'http', u'destination': [u'1.1.1.1', u'1::1'], u'port': [u'8080/tcp'], u'includes': []}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "includes": [], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:11 -0400 (0:00:00.647) 0:00:19.621 *********** skipping: [managed-node1] => (item={u'state': u'present', u'permanent': True, u'description': u'linux system role test description', u'service': u'http', u'destination': [u'1.1.1.1', u'1::1'], u'port': [u'8080/tcp'], u'includes': []}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "includes": [], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:11 -0400 (0:00:00.068) 0:00:19.690 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:11 -0400 (0:00:00.070) 0:00:19.760 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.074) 0:00:19.835 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.071) 0:00:19.907 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.068) 0:00:19.976 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.052) 0:00:20.028 *********** skipping: [managed-node1] => {} TASK [Fail when http changes affect permanent configuration] ******************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:96 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.058) 0:00:20.086 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service] ****************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:105 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.054) 0:00:20.140 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.124) 0:00:20.265 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.115) 0:00:20.381 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.070) 0:00:20.451 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.069) 0:00:20.521 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.072) 0:00:20.594 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.071) 0:00:20.665 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.070) 0:00:20.735 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:12 -0400 (0:00:00.069) 0:00:20.805 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:13 -0400 (0:00:00.070) 0:00:20.875 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:13 -0400 (0:00:00.067) 0:00:20.942 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:13 -0400 (0:00:00.720) 0:00:21.663 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:13 -0400 (0:00:00.045) 0:00:21.709 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:13 -0400 (0:00:00.046) 0:00:21.756 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:13 -0400 (0:00:00.047) 0:00:21.804 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:14 -0400 (0:00:00.062) 0:00:21.866 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:14 -0400 (0:00:00.065) 0:00:21.932 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:14 -0400 (0:00:00.477) 0:00:22.410 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:15 -0400 (0:00:00.446) 0:00:22.857 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:15 -0400 (0:00:00.064) 0:00:22.922 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:15 -0400 (0:00:00.062) 0:00:22.984 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:15 -0400 (0:00:00.051) 0:00:23.035 *********** changed: [managed-node1] => (item={u'short': u'Test service (Ansible)', u'protocol': u'icmp', u'description': u'This should only be available when firewalld is being configured by the firewall linux system role', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'present', u'permanent': True, u'source_port': [u'10000/udp'], u'port': [u'9999/udp']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.817) 0:00:23.853 *********** skipping: [managed-node1] => (item={u'short': u'Test service (Ansible)', u'protocol': u'icmp', u'description': u'This should only be available when firewalld is being configured by the firewall linux system role', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'present', u'permanent': True, u'source_port': [u'10000/udp'], u'port': [u'9999/udp']}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.080) 0:00:23.933 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.064) 0:00:23.998 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.052) 0:00:24.050 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.052) 0:00:24.103 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.050) 0:00:24.153 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.045) 0:00:24.199 *********** skipping: [managed-node1] => {} TASK [Get all services] ******************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:130 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.051) 0:00:24.250 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--get-services" ], "delta": "0:00:00.213562", "end": "2025-05-20 12:55:16.923360", "rc": 0, "start": "2025-05-20 12:55:16.709798" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail if systemrole test not created] ************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:135 Tuesday 20 May 2025 12:55:16 -0400 (0:00:00.554) 0:00:24.804 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail when custom service not changed] ************************************ task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:140 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.045) 0:00:24.850 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add same custom service again] ******************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:147 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.045) 0:00:24.895 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.164) 0:00:25.060 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.074) 0:00:25.135 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.071) 0:00:25.207 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.059) 0:00:25.266 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.053) 0:00:25.319 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.050) 0:00:25.370 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.045) 0:00:25.416 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.045) 0:00:25.461 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.057) 0:00:25.519 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:17 -0400 (0:00:00.068) 0:00:25.587 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:18 -0400 (0:00:00.714) 0:00:26.301 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:18 -0400 (0:00:00.064) 0:00:26.365 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:18 -0400 (0:00:00.068) 0:00:26.433 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:18 -0400 (0:00:00.070) 0:00:26.504 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:18 -0400 (0:00:00.088) 0:00:26.593 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:18 -0400 (0:00:00.086) 0:00:26.680 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:19 -0400 (0:00:00.448) 0:00:27.128 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:19 -0400 (0:00:00.438) 0:00:27.566 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:19 -0400 (0:00:00.080) 0:00:27.646 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:19 -0400 (0:00:00.067) 0:00:27.714 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:19 -0400 (0:00:00.057) 0:00:27.772 *********** ok: [managed-node1] => (item={u'short': u'Test service (Ansible)', u'protocol': u'icmp', u'description': u'This should only be available when firewalld is being configured by the firewall linux system role', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'present', u'permanent': True, u'source_port': [u'10000/udp'], u'port': u'9999/udp'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": "9999/udp", "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.625) 0:00:28.397 *********** skipping: [managed-node1] => (item={u'short': u'Test service (Ansible)', u'protocol': u'icmp', u'description': u'This should only be available when firewalld is being configured by the firewall linux system role', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'present', u'permanent': True, u'source_port': [u'10000/udp'], u'port': u'9999/udp'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": "9999/udp", "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.077) 0:00:28.475 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.073) 0:00:28.548 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.072) 0:00:28.620 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.073) 0:00:28.694 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.054) 0:00:28.749 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:20 -0400 (0:00:00.050) 0:00:28.799 *********** skipping: [managed-node1] => {} TASK [Fail when custom service changed] **************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:170 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.056) 0:00:28.856 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Query if default zone has custom service added] ************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:177 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.045) 0:00:28.901 *********** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "firewall-offline-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.214889", "end": "2025-05-20 12:55:21.534905", "rc": 1, "start": "2025-05-20 12:55:21.320016" } STDOUT: no MSG: non-zero return code ...ignoring TASK [Fail if query return code incorrect] ************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:183 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.512) 0:00:29.414 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if custom service in default zone] ********************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:188 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.045) 0:00:29.460 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service to default zone] ************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:197 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.045) 0:00:29.505 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.173) 0:00:29.679 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:21 -0400 (0:00:00.142) 0:00:29.822 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.072) 0:00:29.894 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.069) 0:00:29.963 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.065) 0:00:30.029 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.067) 0:00:30.097 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.059) 0:00:30.156 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.057) 0:00:30.213 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.059) 0:00:30.273 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:22 -0400 (0:00:00.052) 0:00:30.326 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.641) 0:00:30.968 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.045) 0:00:31.014 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.047) 0:00:31.061 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.044) 0:00:31.105 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.059) 0:00:31.164 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.063) 0:00:31.228 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:23 -0400 (0:00:00.492) 0:00:31.721 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:24 -0400 (0:00:00.520) 0:00:32.242 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:24 -0400 (0:00:00.086) 0:00:32.328 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:24 -0400 (0:00:00.070) 0:00:32.399 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:24 -0400 (0:00:00.074) 0:00:32.473 *********** changed: [managed-node1] => (item={u'state': u'enabled', u'service': u'systemroletest'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.656) 0:00:33.129 *********** skipping: [managed-node1] => (item={u'state': u'enabled', u'service': u'systemroletest'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "systemroletest", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.089) 0:00:33.219 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.065) 0:00:33.284 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.061) 0:00:33.346 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.047) 0:00:33.393 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.046) 0:00:33.439 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.059) 0:00:33.498 *********** skipping: [managed-node1] => {} TASK [Query if service has been added to default zone] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:207 Tuesday 20 May 2025 12:55:25 -0400 (0:00:00.070) 0:00:33.569 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.217557", "end": "2025-05-20 12:55:26.226102", "rc": 0, "start": "2025-05-20 12:55:26.008545" } STDOUT: yes TASK [Fail if service not added to default zone] ******************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:212 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.554) 0:00:34.124 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service from default zone] ********************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:219 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.072) 0:00:34.196 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.204) 0:00:34.401 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.047) 0:00:34.449 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.060) 0:00:34.509 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.066) 0:00:34.575 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.067) 0:00:34.643 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.068) 0:00:34.712 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:26 -0400 (0:00:00.068) 0:00:34.781 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.063) 0:00:34.845 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.065) 0:00:34.911 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.058) 0:00:34.969 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.647) 0:00:35.617 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.046) 0:00:35.663 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.045) 0:00:35.709 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.046) 0:00:35.756 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:27 -0400 (0:00:00.060) 0:00:35.817 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:28 -0400 (0:00:00.077) 0:00:35.895 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:28 -0400 (0:00:00.495) 0:00:36.390 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:29 -0400 (0:00:00.488) 0:00:36.879 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:29 -0400 (0:00:00.070) 0:00:36.949 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:29 -0400 (0:00:00.070) 0:00:37.020 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:29 -0400 (0:00:00.053) 0:00:37.074 *********** changed: [managed-node1] => (item={u'state': u'disabled', u'service': u'systemroletest'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "disabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:29 -0400 (0:00:00.628) 0:00:37.703 *********** skipping: [managed-node1] => (item={u'state': u'disabled', u'service': u'systemroletest'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "systemroletest", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:29 -0400 (0:00:00.070) 0:00:37.774 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.074) 0:00:37.848 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.074) 0:00:37.923 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.067) 0:00:37.991 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.058) 0:00:38.049 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.053) 0:00:38.102 *********** skipping: [managed-node1] => {} TASK [Remove custom service elements] ****************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:229 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.045) 0:00:38.148 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.231) 0:00:38.379 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.041) 0:00:38.421 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.071) 0:00:38.492 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.070) 0:00:38.562 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.068) 0:00:38.631 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.067) 0:00:38.698 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.070) 0:00:38.769 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:30 -0400 (0:00:00.060) 0:00:38.829 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:31 -0400 (0:00:00.055) 0:00:38.885 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:31 -0400 (0:00:00.057) 0:00:38.942 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:31 -0400 (0:00:00.656) 0:00:39.599 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:31 -0400 (0:00:00.070) 0:00:39.670 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:31 -0400 (0:00:00.072) 0:00:39.742 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:31 -0400 (0:00:00.073) 0:00:39.816 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:32 -0400 (0:00:00.073) 0:00:39.890 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:32 -0400 (0:00:00.077) 0:00:39.967 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:32 -0400 (0:00:00.412) 0:00:40.380 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:32 -0400 (0:00:00.440) 0:00:40.820 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:33 -0400 (0:00:00.083) 0:00:40.904 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:33 -0400 (0:00:00.069) 0:00:40.974 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:33 -0400 (0:00:00.068) 0:00:41.042 *********** changed: [managed-node1] => (item={u'protocol': u'icmp', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'absent', u'permanent': True, u'source_port': [u'10000/udp'], u'port': [u'9999/udp']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.839) 0:00:41.882 *********** skipping: [managed-node1] => (item={u'protocol': u'icmp', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'absent', u'permanent': True, u'source_port': [u'10000/udp'], u'port': [u'9999/udp']}) => { "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.088) 0:00:41.971 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.092) 0:00:42.063 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.074) 0:00:42.138 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.081) 0:00:42.219 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.071) 0:00:42.291 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.073) 0:00:42.365 *********** skipping: [managed-node1] => {} TASK [Fail if custom service elements unchanged] ******************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:248 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.063) 0:00:42.428 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service elements again] ************************************ task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:253 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.060) 0:00:42.488 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.204) 0:00:42.692 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.041) 0:00:42.734 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:34 -0400 (0:00:00.055) 0:00:42.790 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.045) 0:00:42.835 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.046) 0:00:42.881 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.053) 0:00:42.935 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.064) 0:00:42.999 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.066) 0:00:43.066 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.066) 0:00:43.132 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:35 -0400 (0:00:00.070) 0:00:43.203 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.696) 0:00:43.900 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.050) 0:00:43.951 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.045) 0:00:43.997 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.046) 0:00:44.043 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.188) 0:00:44.232 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.064) 0:00:44.296 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:36 -0400 (0:00:00.404) 0:00:44.701 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:37 -0400 (0:00:00.419) 0:00:45.120 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:37 -0400 (0:00:00.056) 0:00:45.176 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:37 -0400 (0:00:00.046) 0:00:45.223 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:37 -0400 (0:00:00.047) 0:00:45.270 *********** ok: [managed-node1] => (item={u'protocol': u'icmp', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'absent', u'permanent': True, u'source_port': [u'10000/udp'], u'port': [u'9999/udp']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.611) 0:00:45.882 *********** skipping: [managed-node1] => (item={u'protocol': u'icmp', u'service': u'systemroletest', u'helper_module': u'__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18', u'destination': [u'1.1.1.1', u'1::1'], u'includes': [], u'state': u'absent', u'permanent': True, u'source_port': [u'10000/udp'], u'port': [u'9999/udp']}) => { "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "__omit_place_holder__874334c67673a208c3d88fcac360a67e6cdf8a18", "includes": [], "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.079) 0:00:45.961 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.066) 0:00:46.028 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.053) 0:00:46.081 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.050) 0:00:46.132 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.046) 0:00:46.178 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.048) 0:00:46.226 *********** skipping: [managed-node1] => {} TASK [Fail if custom service elements changed] ********************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:270 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.046) 0:00:46.273 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get all services] ******************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:275 Tuesday 20 May 2025 12:55:38 -0400 (0:00:00.046) 0:00:46.320 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--get-services" ], "delta": "0:00:00.215657", "end": "2025-05-20 12:55:38.958757", "rc": 0, "start": "2025-05-20 12:55:38.743100" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail if systemroletest removed] ****************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:280 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.521) 0:00:46.841 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service] *************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:289 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.047) 0:00:46.889 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.203) 0:00:47.093 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.042) 0:00:47.136 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.052) 0:00:47.188 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.045) 0:00:47.234 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.045) 0:00:47.279 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.045) 0:00:47.325 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.045) 0:00:47.370 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.045) 0:00:47.416 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.045) 0:00:47.462 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:39 -0400 (0:00:00.046) 0:00:47.508 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.626) 0:00:48.135 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.047) 0:00:48.182 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.045) 0:00:48.228 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.045) 0:00:48.273 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.061) 0:00:48.335 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.063) 0:00:48.398 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:40 -0400 (0:00:00.413) 0:00:48.811 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:41 -0400 (0:00:00.421) 0:00:49.232 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:41 -0400 (0:00:00.052) 0:00:49.285 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:41 -0400 (0:00:00.045) 0:00:49.330 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:41 -0400 (0:00:00.044) 0:00:49.375 *********** changed: [managed-node1] => (item={u'state': u'absent', u'permanent': True, u'service': u'systemroletest'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "service": "systemroletest", "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.861) 0:00:50.237 *********** skipping: [managed-node1] => (item={u'state': u'absent', u'permanent': True, u'service': u'systemroletest'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "systemroletest", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.060) 0:00:50.298 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.052) 0:00:50.351 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.118) 0:00:50.469 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.046) 0:00:50.515 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.046) 0:00:50.562 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.045) 0:00:50.607 *********** skipping: [managed-node1] => {} TASK [Get all services] ******************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:298 Tuesday 20 May 2025 12:55:42 -0400 (0:00:00.045) 0:00:50.652 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-offline-cmd", "--get-services" ], "delta": "0:00:00.213253", "end": "2025-05-20 12:55:43.287849", "rc": 0, "start": "2025-05-20 12:55:43.074596" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail when custom service not removed] ************************************ task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:303 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.515) 0:00:51.167 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service again] ********************************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:308 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.044) 0:00:51.212 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.301) 0:00:51.514 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.064) 0:00:51.579 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.072) 0:00:51.651 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.072) 0:00:51.723 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:43 -0400 (0:00:00.087) 0:00:51.811 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.070) 0:00:51.882 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.075) 0:00:51.958 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.065) 0:00:52.023 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.070) 0:00:52.093 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.052) 0:00:52.145 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.632) 0:00:52.777 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:44 -0400 (0:00:00.052) 0:00:52.830 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:45 -0400 (0:00:00.047) 0:00:52.877 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:45 -0400 (0:00:00.046) 0:00:52.923 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:45 -0400 (0:00:00.068) 0:00:52.992 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:45 -0400 (0:00:00.088) 0:00:53.081 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:45 -0400 (0:00:00.483) 0:00:53.564 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:46 -0400 (0:00:00.434) 0:00:53.999 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:46 -0400 (0:00:00.056) 0:00:54.056 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:46 -0400 (0:00:00.045) 0:00:54.102 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:46 -0400 (0:00:00.053) 0:00:54.155 *********** ok: [managed-node1] => (item={u'state': u'absent', u'permanent': True, u'service': u'systemroletest'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "systemroletest", "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:46 -0400 (0:00:00.629) 0:00:54.785 *********** skipping: [managed-node1] => (item={u'state': u'absent', u'permanent': True, u'service': u'systemroletest'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "systemroletest", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.090) 0:00:54.876 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.061) 0:00:54.937 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.058) 0:00:54.995 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.050) 0:00:55.046 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.045) 0:00:55.092 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.045) 0:00:55.138 *********** skipping: [managed-node1] => {} TASK [Fail if second removal changes anything] ********************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:317 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.045) 0:00:55.183 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Attempt to enable http-alt, which does not exist] ************************ task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:325 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.052) 0:00:55.236 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.088) 0:00:55.325 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.054) 0:00:55.379 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.066) 0:00:55.445 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.054) 0:00:55.500 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.045) 0:00:55.545 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.045) 0:00:55.591 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.046) 0:00:55.637 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.054) 0:00:55.692 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.065) 0:00:55.757 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:47 -0400 (0:00:00.072) 0:00:55.830 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:48 -0400 (0:00:00.712) 0:00:56.542 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:48 -0400 (0:00:00.047) 0:00:56.590 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:48 -0400 (0:00:00.052) 0:00:56.642 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:48 -0400 (0:00:00.056) 0:00:56.699 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:48 -0400 (0:00:00.092) 0:00:56.791 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:49 -0400 (0:00:00.096) 0:00:56.888 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:49 -0400 (0:00:00.467) 0:00:57.356 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:49 -0400 (0:00:00.442) 0:00:57.798 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:50 -0400 (0:00:00.052) 0:00:57.850 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:50 -0400 (0:00:00.046) 0:00:57.897 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:50 -0400 (0:00:00.044) 0:00:57.942 *********** ok: [managed-node1] => (item={u'state': u'enabled', u'permanent': True, u'zone': u'public', u'service': u'http-alt'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "http-alt", "state": "enabled", "zone": "public" }, "warnings": [ "Service does not exist - http-alt. Ensure that you define the service in the playbook before running it in diff mode" ] } [WARNING]: Service does not exist - http-alt. Ensure that you define the service in the playbook before running it in diff mode TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:50 -0400 (0:00:00.688) 0:00:58.631 *********** skipping: [managed-node1] => (item={u'state': u'enabled', u'permanent': True, u'zone': u'public', u'service': u'http-alt'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "http-alt", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:50 -0400 (0:00:00.080) 0:00:58.711 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:50 -0400 (0:00:00.079) 0:00:58.791 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.070) 0:00:58.862 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.069) 0:00:58.931 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.070) 0:00:59.002 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.071) 0:00:59.074 *********** skipping: [managed-node1] => {} TASK [Fail if enabling service in check mode reports changes] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:335 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.061) 0:00:59.135 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:343 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.049) 0:00:59.185 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.298) 0:00:59.484 *********** included: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.043) 0:00:59.527 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.054) 0:00:59.581 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.045) 0:00:59.627 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.055) 0:00:59.682 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.063) 0:00:59.746 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Tuesday 20 May 2025 12:55:51 -0400 (0:00:00.069) 0:00:59.816 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Tuesday 20 May 2025 12:55:52 -0400 (0:00:00.072) 0:00:59.889 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Tuesday 20 May 2025 12:55:52 -0400 (0:00:00.070) 0:00:59.959 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Tuesday 20 May 2025 12:55:52 -0400 (0:00:00.071) 0:01:00.031 *********** ok: [managed-node1] => { "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-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Tuesday 20 May 2025 12:55:52 -0400 (0:00:00.697) 0:01:00.729 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Tuesday 20 May 2025 12:55:52 -0400 (0:00:00.055) 0:01:00.784 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Tuesday 20 May 2025 12:55:53 -0400 (0:00:00.057) 0:01:00.842 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 20 May 2025 12:55:53 -0400 (0:00:00.046) 0:01:00.888 *********** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 20 May 2025 12:55:53 -0400 (0:00:00.061) 0:01:00.950 *********** skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Tuesday 20 May 2025 12:55:53 -0400 (0:00:00.090) 0:01:01.041 *********** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Tuesday 20 May 2025 12:55:53 -0400 (0:00:00.486) 0:01:01.527 *********** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ActiveEnterTimestampMonotonic": "386806497", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-05-20 12:52:44 EDT", "AssertTimestampMonotonic": "386560714", "Before": "shutdown.target network-pre.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": "Tue 2025-05-20 12:52:44 EDT", "ConditionTimestampMonotonic": "386560712", "Conflicts": "ip6tables.service ebtables.service shutdown.target ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9622", "ExecMainStartTimestamp": "Tue 2025-05-20 12:52:44 EDT", "ExecMainStartTimestampMonotonic": "386561962", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Tue 2025-05-20 12:52:44 EDT] ; stop_time=[n/a] ; pid=9622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-05-20 12:52:44 EDT", "InactiveExitTimestampMonotonic": "386562422", "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": "9622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2025-05-20 12:52:44 EDT", "WatchdogTimestampMonotonic": "386806052", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 20 May 2025 12:55:54 -0400 (0:00:00.468) 0:01:01.996 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Tuesday 20 May 2025 12:55:54 -0400 (0:00:00.081) 0:01:02.078 *********** ok: [managed-node1] => { "changed": false, "rc": 0 } STDOUT: 94ab11c4e18dab5f883072983452331155deff3e66417f85d5272fd296284857 /etc/firewalld/services/http.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.191 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.901) 0:01:02.979 *********** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.080) 0:01:03.060 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.072) 0:01:03.133 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.085) 0:01:03.219 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.077) 0:01:03.296 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.060) 0:01:03.356 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.050) 0:01:03.407 *********** ok: [managed-node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.191 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Tuesday 20 May 2025 12:55:55 -0400 (0:00:00.386) 0:01:03.793 *********** changed: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Tuesday 20 May 2025 12:55:56 -0400 (0:00:00.061) 0:01:03.855 *********** skipping: [managed-node1] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=103 changed=7 unreachable=0 failed=0 skipped=313 rescued=0 ignored=1 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 20 May 2025 12:55:56 -0400 (0:00:00.045) 0:01:03.900 *********** =============================================================================== fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.75s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.53s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.49s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.45s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.44s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 1.32s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:2 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.95s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.94s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.94s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.93s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.90s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.90s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.89s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.86s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.86s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.84s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.82s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.79s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.72s /tmp/collections-I5U/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51