ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:2 Saturday 17 August 2024 01:22:56 -0400 (0:00:00.056) 0:00:00.056 ******* ok: [managed_node1] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:25 Saturday 17 August 2024 01:22:57 -0400 (0:00:00.968) 0:00:01.024 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:22:57 -0400 (0:00:00.066) 0:00:01.091 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:22:57 -0400 (0:00:00.056) 0:00:01.147 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:22:57 -0400 (0:00:00.079) 0:00:01.227 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:22:58 -0400 (0:00:00.543) 0:00:01.771 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:22:58 -0400 (0:00:00.047) 0:00:01.818 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:22:58 -0400 (0:00:00.311) 0:00:02.130 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:22:58 -0400 (0:00:00.068) 0:00:02.198 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:22:59 -0400 (0:00:00.967) 0:00:03.166 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:22:59 -0400 (0:00:00.062) 0:00:03.228 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:22:59 -0400 (0:00:00.055) 0:00:03.284 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:00 -0400 (0:00:00.074) 0:00:03.358 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:00 -0400 (0:00:00.061) 0:00:03.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 : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:00 -0400 (0:00:00.084) 0:00:03.504 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:01 -0400 (0:00:00.933) 0:00:04.437 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:01 -0400 (0:00:00.450) 0:00:04.888 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:01 -0400 (0:00:00.106) 0:00:04.995 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 4baa9218a023fc374a6d44f36e4d903f1704a4c6ea197ebbbf907d5d346c9855 /etc/firewalld/services/custom.xml 3abce906e7451e7074ff1eb735c807e5b34c2de18d11ebfabd40ba30c738b192 /etc/firewalld/zones/public.xml STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.800) 0:00:05.795 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.046) 0:00:05.841 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.050) 0:00:05.892 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.051) 0:00:05.944 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.051) 0:00:05.995 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.040) 0:00:06.036 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:02 -0400 (0:00:00.041) 0:00:06.078 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.365) 0:00:06.443 ******* changed: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.076) 0:00:06.520 ******* skipping: [managed_node1] => {} TASK [Run the role with no config] ********************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:32 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.064) 0:00:06.585 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.092) 0:00:06.678 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.037) 0:00:06.715 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.057) 0:00:06.772 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.044) 0:00:06.817 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.043) 0:00:06.860 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.042) 0:00:06.903 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:03 -0400 (0:00:00.052) 0:00:06.956 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:04 -0400 (0:00:00.746) 0:00:07.703 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:04 -0400 (0:00:00.053) 0:00:07.756 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:04 -0400 (0:00:00.056) 0:00:07.812 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:04 -0400 (0:00:00.061) 0:00:07.874 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:04 -0400 (0:00:00.047) 0:00:07.921 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:04 -0400 (0:00:00.054) 0:00:07.976 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.436) 0:00:08.413 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.468) 0:00:08.882 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.053) 0:00:08.935 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.051) 0:00:08.987 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.046) 0:00:09.034 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.042) 0:00:09.076 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.042) 0:00:09.119 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:05 -0400 (0:00:00.043) 0:00:09.163 ******* ok: [managed_node1] => { "changed": false, "firewall_config": { "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:06 -0400 (0:00:00.734) 0:00:09.897 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:06 -0400 (0:00:00.073) 0:00:09.971 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:06 -0400 (0:00:00.054) 0:00:10.026 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:06 -0400 (0:00:00.084) 0:00:10.110 ******* skipping: [managed_node1] => {} TASK [Verify that nothing changed] ********************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:36 Saturday 17 August 2024 01:23:06 -0400 (0:00:00.061) 0:00:10.172 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:41 Saturday 17 August 2024 01:23:06 -0400 (0:00:00.056) 0:00:10.228 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.115) 0:00:10.344 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.038) 0:00:10.382 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.044) 0:00:10.426 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.040) 0:00:10.467 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.041) 0:00:10.508 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.057) 0:00:10.566 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:07 -0400 (0:00:00.101) 0:00:10.668 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:08 -0400 (0:00:00.833) 0:00:11.501 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:08 -0400 (0:00:00.144) 0:00:11.646 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:08 -0400 (0:00:00.121) 0:00:11.768 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:08 -0400 (0:00:00.057) 0:00:11.825 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:08 -0400 (0:00:00.058) 0:00:11.883 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:08 -0400 (0:00:00.075) 0:00:11.958 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:09 -0400 (0:00:00.512) 0:00:12.471 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:09 -0400 (0:00:00.558) 0:00:13.029 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:09 -0400 (0:00:00.063) 0:00:13.093 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:09 -0400 (0:00:00.048) 0:00:13.141 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:09 -0400 (0:00:00.064) 0:00:13.206 ******* changed: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [managed_node1] => (item={u'masquerade': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } changed: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:13 -0400 (0:00:03.929) 0:00:17.135 ******* skipping: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:13 -0400 (0:00:00.123) 0:00:17.259 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.094) 0:00:17.353 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.101) 0:00:17.455 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.064) 0:00:17.519 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.071) 0:00:17.591 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.084) 0:00:17.675 ******* skipping: [managed_node1] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:47 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.063) 0:00:17.738 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:52 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.064) 0:00:17.802 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.112) 0:00:17.915 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.047) 0:00:17.963 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.062) 0:00:18.026 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.067) 0:00:18.093 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.068) 0:00:18.162 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.062) 0:00:18.225 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:14 -0400 (0:00:00.067) 0:00:18.293 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:15 -0400 (0:00:00.669) 0:00:18.962 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:15 -0400 (0:00:00.070) 0:00:19.033 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:15 -0400 (0:00:00.059) 0:00:19.092 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:15 -0400 (0:00:00.062) 0:00:19.155 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:15 -0400 (0:00:00.053) 0:00:19.208 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:15 -0400 (0:00:00.061) 0:00:19.269 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:16 -0400 (0:00:00.385) 0:00:19.655 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:16 -0400 (0:00:00.469) 0:00:20.124 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:16 -0400 (0:00:00.081) 0:00:20.206 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:16 -0400 (0:00:00.058) 0:00:20.264 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:16 -0400 (0:00:00.057) 0:00:20.322 ******* ok: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:20 -0400 (0:00:03.305) 0:00:23.628 ******* skipping: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.160) 0:00:23.788 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.065) 0:00:23.853 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.044) 0:00:23.898 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.044) 0:00:23.942 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.040) 0:00:23.983 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.040) 0:00:24.023 ******* skipping: [managed_node1] => {} TASK [Verify role reports nothing changed] ************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:58 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.041) 0:00:24.065 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:63 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.040) 0:00:24.105 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.113) 0:00:24.219 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:20 -0400 (0:00:00.036) 0:00:24.255 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:21 -0400 (0:00:00.133) 0:00:24.389 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:21 -0400 (0:00:00.095) 0:00:24.484 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:21 -0400 (0:00:00.078) 0:00:24.563 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:21 -0400 (0:00:00.077) 0:00:24.640 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:21 -0400 (0:00:00.090) 0:00:24.730 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.652) 0:00:25.383 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.043) 0:00:25.427 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.043) 0:00:25.470 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.042) 0:00:25.513 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.047) 0:00:25.561 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.092) 0:00:25.653 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:22 -0400 (0:00:00.496) 0:00:26.150 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:23 -0400 (0:00:00.454) 0:00:26.604 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:23 -0400 (0:00:00.068) 0:00:26.673 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:24 -0400 (0:00:00.849) 0:00:27.522 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:24 -0400 (0:00:00.059) 0:00:27.582 ******* ok: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:28 -0400 (0:00:03.756) 0:00:31.338 ******* skipping: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.161) 0:00:31.499 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.082) 0:00:31.582 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.075) 0:00:31.657 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.053) 0:00:31.711 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.375) 0:00:32.086 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.069) 0:00:32.156 ******* skipping: [managed_node1] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:69 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.076) 0:00:32.232 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:74 Saturday 17 August 2024 01:23:28 -0400 (0:00:00.067) 0:00:32.299 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.134) 0:00:32.434 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.048) 0:00:32.483 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.053) 0:00:32.537 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.047) 0:00:32.584 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.042) 0:00:32.627 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.050) 0:00:32.678 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:29 -0400 (0:00:00.060) 0:00:32.738 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:30 -0400 (0:00:00.839) 0:00:33.578 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:30 -0400 (0:00:00.064) 0:00:33.642 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:30 -0400 (0:00:00.062) 0:00:33.705 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:30 -0400 (0:00:00.072) 0:00:33.777 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:30 -0400 (0:00:00.074) 0:00:33.852 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:30 -0400 (0:00:00.134) 0:00:33.987 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:31 -0400 (0:00:00.512) 0:00:34.499 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:31 -0400 (0:00:00.441) 0:00:34.941 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:31 -0400 (0:00:00.076) 0:00:35.017 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:32 -0400 (0:00:00.866) 0:00:35.884 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:32 -0400 (0:00:00.048) 0:00:35.932 ******* ok: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:36 -0400 (0:00:03.538) 0:00:39.471 ******* skipping: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:36 -0400 (0:00:00.181) 0:00:39.653 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:36 -0400 (0:00:00.069) 0:00:39.722 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:36 -0400 (0:00:00.066) 0:00:39.789 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:36 -0400 (0:00:00.066) 0:00:39.855 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:36 -0400 (0:00:00.385) 0:00:40.241 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:36 -0400 (0:00:00.079) 0:00:40.320 ******* skipping: [managed_node1] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:80 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.071) 0:00:40.392 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:85 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.049) 0:00:40.442 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.187) 0:00:40.629 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.036) 0:00:40.666 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.046) 0:00:40.713 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.044) 0:00:40.758 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.047) 0:00:40.805 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.040) 0:00:40.846 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:37 -0400 (0:00:00.041) 0:00:40.887 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:38 -0400 (0:00:00.681) 0:00:41.568 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:38 -0400 (0:00:00.080) 0:00:41.649 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:38 -0400 (0:00:00.064) 0:00:41.713 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:38 -0400 (0:00:00.062) 0:00:41.776 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:38 -0400 (0:00:00.063) 0:00:41.839 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:38 -0400 (0:00:00.115) 0:00:41.954 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:39 -0400 (0:00:00.551) 0:00:42.506 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:39 -0400 (0:00:00.632) 0:00:43.139 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:39 -0400 (0:00:00.070) 0:00:43.209 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:39 -0400 (0:00:00.059) 0:00:43.269 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:39 -0400 (0:00:00.055) 0:00:43.324 ******* ok: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [managed_node1] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:43 -0400 (0:00:03.325) 0:00:46.650 ******* skipping: [managed_node1] => (item={u'state': u'present', u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'masquerade': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.117) 0:00:46.768 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.066) 0:00:46.834 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.069) 0:00:46.903 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.065) 0:00:46.969 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.063) 0:00:47.033 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.060) 0:00:47.093 ******* skipping: [managed_node1] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:91 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.065) 0:00:47.158 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:96 Saturday 17 August 2024 01:23:43 -0400 (0:00:00.065) 0:00:47.224 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.208) 0:00:47.433 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.049) 0:00:47.482 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.048) 0:00:47.531 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.062) 0:00:47.593 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.059) 0:00:47.653 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.060) 0:00:47.714 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:44 -0400 (0:00:00.061) 0:00:47.775 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:45 -0400 (0:00:00.853) 0:00:48.629 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:45 -0400 (0:00:00.072) 0:00:48.702 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:45 -0400 (0:00:00.087) 0:00:48.790 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:45 -0400 (0:00:00.065) 0:00:48.855 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:45 -0400 (0:00:00.075) 0:00:48.931 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:45 -0400 (0:00:00.139) 0:00:49.070 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:46 -0400 (0:00:00.531) 0:00:49.602 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:46 -0400 (0:00:00.696) 0:00:50.298 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:47 -0400 (0:00:00.071) 0:00:50.369 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:47 -0400 (0:00:00.844) 0:00:51.215 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:47 -0400 (0:00:00.082) 0:00:51.297 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.060) 0:00:51.358 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.057) 0:00:51.415 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.073) 0:00:51.489 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.066) 0:00:51.556 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.065) 0:00:51.621 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.425) 0:00:52.046 ******* changed: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.074) 0:00:52.121 ******* skipping: [managed_node1] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:103 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.080) 0:00:52.202 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:108 Saturday 17 August 2024 01:23:48 -0400 (0:00:00.095) 0:00:52.298 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.390) 0:00:52.688 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.058) 0:00:52.747 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.075) 0:00:52.822 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.067) 0:00:52.890 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.065) 0:00:52.956 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.070) 0:00:53.026 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:49 -0400 (0:00:00.050) 0:00:53.077 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:50 -0400 (0:00:00.602) 0:00:53.679 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:50 -0400 (0:00:00.075) 0:00:53.755 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:50 -0400 (0:00:00.110) 0:00:53.865 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:50 -0400 (0:00:00.153) 0:00:54.018 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:50 -0400 (0:00:00.058) 0:00:54.077 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:50 -0400 (0:00:00.104) 0:00:54.182 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:51 -0400 (0:00:00.468) 0:00:54.650 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:51 -0400 (0:00:00.448) 0:00:55.098 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:51 -0400 (0:00:00.068) 0:00:55.167 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:51 -0400 (0:00:00.071) 0:00:55.238 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:51 -0400 (0:00:00.075) 0:00:55.314 ******* changed: [managed_node1] => (item={u'set_default_zone': u'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:52 -0400 (0:00:00.698) 0:00:56.012 ******* skipping: [managed_node1] => (item={u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:52 -0400 (0:00:00.152) 0:00:56.164 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:52 -0400 (0:00:00.081) 0:00:56.246 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:52 -0400 (0:00:00.068) 0:00:56.314 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.064) 0:00:56.378 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.080) 0:00:56.459 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.062) 0:00:56.522 ******* skipping: [managed_node1] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:115 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.068) 0:00:56.590 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:120 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.065) 0:00:56.656 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.262) 0:00:56.918 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.045) 0:00:56.964 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.133) 0:00:57.097 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.130) 0:00:57.227 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.043) 0:00:57.271 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:53 -0400 (0:00:00.048) 0:00:57.320 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:54 -0400 (0:00:00.084) 0:00:57.405 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:54 -0400 (0:00:00.885) 0:00:58.291 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:55 -0400 (0:00:00.105) 0:00:58.396 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:55 -0400 (0:00:00.077) 0:00:58.474 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:55 -0400 (0:00:00.072) 0:00:58.546 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:55 -0400 (0:00:00.086) 0:00:58.633 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:55 -0400 (0:00:00.091) 0:00:58.725 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:23:55 -0400 (0:00:00.458) 0:00:59.183 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:23:56 -0400 (0:00:00.452) 0:00:59.636 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:23:56 -0400 (0:00:00.071) 0:00:59.707 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:23:56 -0400 (0:00:00.078) 0:00:59.786 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:23:56 -0400 (0:00:00.072) 0:00:59.858 ******* ok: [managed_node1] => (item={u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.658) 0:01:00.517 ******* skipping: [managed_node1] => (item={u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.091) 0:01:00.608 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.096) 0:01:00.705 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.064) 0:01:00.769 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.069) 0:01:00.839 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.065) 0:01:00.904 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.072) 0:01:00.977 ******* skipping: [managed_node1] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:127 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.078) 0:01:01.055 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:132 Saturday 17 August 2024 01:23:57 -0400 (0:00:00.077) 0:01:01.133 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.369) 0:01:01.502 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.038) 0:01:01.541 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.052) 0:01:01.593 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.065) 0:01:01.659 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.073) 0:01:01.732 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.072) 0:01:01.804 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:23:58 -0400 (0:00:00.069) 0:01:01.874 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:23:59 -0400 (0:00:00.714) 0:01:02.588 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:23:59 -0400 (0:00:00.058) 0:01:02.647 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:23:59 -0400 (0:00:00.079) 0:01:02.727 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:23:59 -0400 (0:00:00.068) 0:01:02.795 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:23:59 -0400 (0:00:00.050) 0:01:02.845 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:23:59 -0400 (0:00:00.071) 0:01:02.916 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:24:00 -0400 (0:00:00.416) 0:01:03.333 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:24:00 -0400 (0:00:00.427) 0:01:03.761 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:24:00 -0400 (0:00:00.050) 0:01:03.811 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:24:01 -0400 (0:00:00.818) 0:01:04.630 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:24:01 -0400 (0:00:00.076) 0:01:04.706 ******* ok: [managed_node1] => (item={u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:24:02 -0400 (0:00:00.856) 0:01:05.563 ******* skipping: [managed_node1] => (item={u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:24:02 -0400 (0:00:00.057) 0:01:05.621 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:24:02 -0400 (0:00:00.045) 0:01:05.666 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:24:02 -0400 (0:00:00.101) 0:01:05.768 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:24:02 -0400 (0:00:00.049) 0:01:05.817 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:24:02 -0400 (0:00:00.467) 0:01:06.284 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.110) 0:01:06.395 ******* skipping: [managed_node1] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:140 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.067) 0:01:06.463 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change default zone (Change firewalld.conf)] ***************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:147 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.069) 0:01:06.532 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.439) 0:01:06.971 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.080) 0:01:07.052 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.072) 0:01:07.125 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.086) 0:01:07.211 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:24:03 -0400 (0:00:00.070) 0:01:07.282 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:24:04 -0400 (0:00:00.076) 0:01:07.358 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:24:04 -0400 (0:00:00.084) 0:01:07.442 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:24:04 -0400 (0:00:00.756) 0:01:08.199 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:24:04 -0400 (0:00:00.075) 0:01:08.274 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:24:05 -0400 (0:00:00.077) 0:01:08.351 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:24:05 -0400 (0:00:00.064) 0:01:08.416 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:24:05 -0400 (0:00:00.049) 0:01:08.465 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:24:05 -0400 (0:00:00.072) 0:01:08.538 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:24:05 -0400 (0:00:00.431) 0:01:08.970 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:24:06 -0400 (0:00:00.540) 0:01:09.510 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:24:06 -0400 (0:00:00.080) 0:01:09.590 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:24:06 -0400 (0:00:00.048) 0:01:09.638 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:24:06 -0400 (0:00:00.063) 0:01:09.701 ******* changed: [managed_node1] => (item={u'set_default_zone': u'internal'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "internal" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.650) 0:01:10.352 ******* skipping: [managed_node1] => (item={u'set_default_zone': u'internal'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "internal" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.070) 0:01:10.423 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.056) 0:01:10.479 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.057) 0:01:10.536 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.069) 0:01:10.606 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.063) 0:01:10.670 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.061) 0:01:10.731 ******* skipping: [managed_node1] => {} TASK [Get stats for firewalld.conf] ******************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:154 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.060) 0:01:10.792 ******* ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1723872246.9078898, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "190f6a520935e6157ae20f6c809c12ad77963d64", "ctime": 1723872246.9088898, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723872246.9088898, "nlink": 1, "path": "/etc/firewalld/firewalld.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 2708, "uid": 0, "version": "18446744071681186456", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Purge config] ************************************************************ task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:160 Saturday 17 August 2024 01:24:07 -0400 (0:00:00.360) 0:01:11.153 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.336) 0:01:11.489 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.037) 0:01:11.526 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.044) 0:01:11.570 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.041) 0:01:11.612 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.053) 0:01:11.665 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.050) 0:01:11.716 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:24:08 -0400 (0:00:00.048) 0:01:11.765 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.661) 0:01:12.426 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.064) 0:01:12.491 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.115) 0:01:12.607 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.064) 0:01:12.672 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.076) 0:01:12.748 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.086) 0:01:12.834 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:24:09 -0400 (0:00:00.439) 0:01:13.274 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:24:10 -0400 (0:00:00.546) 0:01:13.821 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:24:10 -0400 (0:00:00.108) 0:01:13.930 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: a4cb87000edf67fa877008f464814f72bf90fa2073a75e5ebc5347ccee2cbd5f /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.826) 0:01:14.756 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.053) 0:01:14.809 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.065) 0:01:14.875 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.064) 0:01:14.940 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.074) 0:01:15.015 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.121) 0:01:15.136 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:24:11 -0400 (0:00:00.081) 0:01:15.218 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:24:12 -0400 (0:00:00.434) 0:01:15.652 ******* changed: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:24:12 -0400 (0:00:00.065) 0:01:15.718 ******* skipping: [managed_node1] => {} TASK [Fail if /etc/firewalld/firewalld.conf no longer exists] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:167 Saturday 17 August 2024 01:24:12 -0400 (0:00:00.056) 0:01:15.775 ******* ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1723872251.217924, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "50ed6be5d276b55be4f8b863971193af3318164a", "ctime": 1723872250.9739223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723872250.9729223, "nlink": 1, "path": "/etc/firewalld/firewalld.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 2706, "uid": 0, "version": "18446744071681186483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that collected firewalld.conf checksums do not match] ************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:173 Saturday 17 August 2024 01:24:12 -0400 (0:00:00.437) 0:01:16.212 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Purge config (no changes made since last purge)] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:178 Saturday 17 August 2024 01:24:12 -0400 (0:00:00.113) 0:01:16.326 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.404) 0:01:16.731 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.059) 0:01:16.791 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.067) 0:01:16.858 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.060) 0:01:16.918 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.063) 0:01:16.982 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.062) 0:01:17.044 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:24:13 -0400 (0:00:00.068) 0:01:17.112 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:24:14 -0400 (0:00:00.709) 0:01:17.821 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:24:14 -0400 (0:00:00.042) 0:01:17.864 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:24:14 -0400 (0:00:00.042) 0:01:17.906 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:24:14 -0400 (0:00:00.042) 0:01:17.948 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:24:14 -0400 (0:00:00.046) 0:01:17.995 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:24:14 -0400 (0:00:00.076) 0:01:18.071 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:24:15 -0400 (0:00:00.523) 0:01:18.595 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:24:15 -0400 (0:00:00.381) 0:01:18.976 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:24:15 -0400 (0:00:00.068) 0:01:19.044 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.809) 0:01:19.853 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.048) 0:01:19.901 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.042) 0:01:19.944 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.042) 0:01:19.987 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.057) 0:01:20.045 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.061) 0:01:20.107 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:24:16 -0400 (0:00:00.077) 0:01:20.184 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:24:17 -0400 (0:00:00.486) 0:01:20.671 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:24:17 -0400 (0:00:00.077) 0:01:20.748 ******* skipping: [managed_node1] => {} TASK [Fail if /etc/firewalld/firewalld.conf no longer exists] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:185 Saturday 17 August 2024 01:24:17 -0400 (0:00:00.068) 0:01:20.817 ******* ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1723872251.217924, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "50ed6be5d276b55be4f8b863971193af3318164a", "ctime": 1723872250.9739223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723872250.9729223, "nlink": 1, "path": "/etc/firewalld/firewalld.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 2706, "uid": 0, "version": "18446744071681186483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that collected firewalld.conf checksums match] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:191 Saturday 17 August 2024 01:24:17 -0400 (0:00:00.468) 0:01:21.285 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:197 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.157) 0:01:21.443 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.389) 0:01:21.833 ******* included: /tmp/collections-nMg/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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.044) 0:01:21.878 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.057) 0:01:21.936 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.064) 0:01:22.000 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.066) 0:01:22.066 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.058) 0:01:22.125 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 17 August 2024 01:24:18 -0400 (0:00:00.062) 0:01:22.188 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 17 August 2024 01:24:19 -0400 (0:00:00.656) 0:01:22.845 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 17 August 2024 01:24:19 -0400 (0:00:00.042) 0:01:22.888 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 17 August 2024 01:24:19 -0400 (0:00:00.051) 0:01:22.939 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 17 August 2024 01:24:19 -0400 (0:00:00.056) 0:01:22.996 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 17 August 2024 01:24:19 -0400 (0:00:00.048) 0:01:23.045 ******* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 17 August 2024 01:24:19 -0400 (0:00:00.055) 0:01:23.101 ******* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 17 August 2024 01:24:20 -0400 (0:00:00.404) 0:01:23.505 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 01:22:31 EDT", "ActiveEnterTimestampMonotonic": "212453067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 01:22:30 EDT", "AssertTimestampMonotonic": "211518676", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ConditionTimestampMonotonic": "211518674", "Conflicts": "shutdown.target iptables.service ebtables.service ip6tables.service ipset.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": "9436", "ExecMainStartTimestamp": "Sat 2024-08-17 01:22:30 EDT", "ExecMainStartTimestampMonotonic": "211519725", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2024-08-17 01:22:30 EDT] ; stop_time=[n/a] ; pid=9436 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-17 01:22:30 EDT", "InactiveExitTimestampMonotonic": "211520251", "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": "9436", "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": "Sat 2024-08-17 01:22:31 EDT", "WatchdogTimestampMonotonic": "212452998", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 17 August 2024 01:24:20 -0400 (0:00:00.478) 0:01:23.983 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 17 August 2024 01:24:20 -0400 (0:00:00.071) 0:01:24.054 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 17 August 2024 01:24:21 -0400 (0:00:00.971) 0:01:25.026 ******* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 17 August 2024 01:24:21 -0400 (0:00:00.093) 0:01:25.120 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 17 August 2024 01:24:21 -0400 (0:00:00.065) 0:01:25.185 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 17 August 2024 01:24:21 -0400 (0:00:00.065) 0:01:25.251 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 17 August 2024 01:24:21 -0400 (0:00:00.067) 0:01:25.318 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 17 August 2024 01:24:22 -0400 (0:00:00.065) 0:01:25.383 ******* 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-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 17 August 2024 01:24:22 -0400 (0:00:00.077) 0:01:25.461 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 17 August 2024 01:24:22 -0400 (0:00:00.455) 0:01:25.917 ******* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 17 August 2024 01:24:22 -0400 (0:00:00.053) 0:01:25.970 ******* skipping: [managed_node1] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=126 changed=6 unreachable=0 failed=0 skipped=265 rescued=0 ignored=0 Saturday 17 August 2024 01:24:22 -0400 (0:00:00.045) 0:01:26.016 ******* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.54s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 3.33s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.97s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Gathering Facts --------------------------------------------------------- 0.97s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_purge_config.yml:2 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.97s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.89s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.87s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.86s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.85s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.84s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.83s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.82s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.76s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.75s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.73s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.71s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.71s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.68s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.67s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /tmp/collections-nMg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31