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_zone.yml ******************************************************* 1 plays in /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:2 Monday 11 November 2024 20:46:00 -0500 (0:00:00.025) 0:00:00.025 ******* ok: [managed-node3] META: ran handlers TASK [Verify used firewalld zones] ********************************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:13 Monday 11 November 2024 20:46:02 -0500 (0:00:01.229) 0:00:01.255 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 11 November 2024 20:46:02 -0500 (0:00:00.163) 0:00:01.418 ******* included: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 11 November 2024 20:46:02 -0500 (0:00:00.076) 0:00:01.494 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 11 November 2024 20:46:02 -0500 (0:00:00.067) 0:00:01.562 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 11 November 2024 20:46:03 -0500 (0:00:00.812) 0:00:02.374 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Monday 11 November 2024 20:46:03 -0500 (0:00:00.055) 0:00:02.429 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Monday 11 November 2024 20:46:03 -0500 (0:00:00.328) 0:00:02.758 ******* ok: [managed-node3] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Monday 11 November 2024 20:46:03 -0500 (0:00:00.126) 0:00:02.884 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Monday 11 November 2024 20:46:04 -0500 (0:00:01.145) 0:00:04.030 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Monday 11 November 2024 20:46:04 -0500 (0:00:00.053) 0:00:04.084 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Monday 11 November 2024 20:46:04 -0500 (0:00:00.043) 0:00:04.127 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 11 November 2024 20:46:05 -0500 (0:00:00.045) 0:00:04.173 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 11 November 2024 20:46:05 -0500 (0:00:00.046) 0:00:04.219 ******* skipping: [managed-node3] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 11 November 2024 20:46:05 -0500 (0:00:00.088) 0:00:04.307 ******* ok: [managed-node3] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:44:51 EST", "ActiveEnterTimestampMonotonic": "199815358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:44:51 EST", "AssertTimestampMonotonic": "199558573", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:44:51 EST", "ConditionTimestampMonotonic": "199558571", "Conflicts": "ebtables.service iptables.service shutdown.target ipset.service ip6tables.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": "9519", "ExecMainStartTimestamp": "Mon 2024-11-11 20:44:51 EST", "ExecMainStartTimestampMonotonic": "199559601", "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=[Mon 2024-11-11 20:44:51 EST] ; stop_time=[n/a] ; pid=9519 ; 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": "Mon 2024-11-11 20:44:51 EST", "InactiveExitTimestampMonotonic": "199559637", "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": "9519", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-11 20:44:51 EST", "WatchdogTimestampMonotonic": "199815306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 11 November 2024 20:46:05 -0500 (0:00:00.825) 0:00:05.133 ******* ok: [managed-node3] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:44:51 EST", "ActiveEnterTimestampMonotonic": "199815358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:44:51 EST", "AssertTimestampMonotonic": "199558573", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:44:51 EST", "ConditionTimestampMonotonic": "199558571", "Conflicts": "ebtables.service iptables.service shutdown.target ipset.service ip6tables.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": "9519", "ExecMainStartTimestamp": "Mon 2024-11-11 20:44:51 EST", "ExecMainStartTimestampMonotonic": "199559601", "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=[Mon 2024-11-11 20:44:51 EST] ; stop_time=[n/a] ; pid=9519 ; 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": "Mon 2024-11-11 20:44:51 EST", "InactiveExitTimestampMonotonic": "199559637", "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": "9519", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-11 20:44:51 EST", "WatchdogTimestampMonotonic": "199815306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 11 November 2024 20:46:06 -0500 (0:00:00.539) 0:00:05.672 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 11 November 2024 20:46:06 -0500 (0:00:00.082) 0:00:05.755 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 11 November 2024 20:46:06 -0500 (0:00:00.099) 0:00:05.854 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 11 November 2024 20:46:06 -0500 (0:00:00.079) 0:00:05.934 ******* ok: [managed-node3] => (item={u'state': u'enabled', u'zone': u'internal'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [managed-node3] => (item={u'state': u'enabled', u'zone': u'external'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [managed-node3] => (item={u'state': u'enabled', u'zone': u'trusted'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 11 November 2024 20:46:08 -0500 (0:00:02.128) 0:00:08.062 ******* skipping: [managed-node3] => (item={u'state': u'enabled', u'zone': u'internal'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'state': u'enabled', u'zone': u'external'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'state': u'enabled', u'zone': u'trusted'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 11 November 2024 20:46:09 -0500 (0:00:00.111) 0:00:08.174 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 11 November 2024 20:46:09 -0500 (0:00:00.050) 0:00:08.225 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 11 November 2024 20:46:09 -0500 (0:00:00.046) 0:00:08.271 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 11 November 2024 20:46:09 -0500 (0:00:00.044) 0:00:08.316 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 11 November 2024 20:46:09 -0500 (0:00:00.043) 0:00:08.360 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 11 November 2024 20:46:09 -0500 (0:00:00.042) 0:00:08.402 ******* skipping: [managed-node3] => {} TASK [Fail on missing zones] *************************************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:25 Monday 11 November 2024 20:46:09 -0500 (0:00:00.042) 0:00:08.445 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:32 Monday 11 November 2024 20:46:09 -0500 (0:00:00.050) 0:00:08.496 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 11 November 2024 20:46:09 -0500 (0:00:00.277) 0:00:08.774 ******* included: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 11 November 2024 20:46:09 -0500 (0:00:00.191) 0:00:08.965 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 11 November 2024 20:46:09 -0500 (0:00:00.086) 0:00:09.051 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 11 November 2024 20:46:09 -0500 (0:00:00.087) 0:00:09.138 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Monday 11 November 2024 20:46:10 -0500 (0:00:00.091) 0:00:09.230 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Monday 11 November 2024 20:46:10 -0500 (0:00:00.080) 0:00:09.311 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Monday 11 November 2024 20:46:10 -0500 (0:00:00.066) 0:00:09.377 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Monday 11 November 2024 20:46:11 -0500 (0:00:00.892) 0:00:10.270 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Monday 11 November 2024 20:46:11 -0500 (0:00:00.124) 0:00:10.394 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Monday 11 November 2024 20:46:11 -0500 (0:00:00.069) 0:00:10.464 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 11 November 2024 20:46:11 -0500 (0:00:00.072) 0:00:10.536 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 11 November 2024 20:46:11 -0500 (0:00:00.068) 0:00:10.605 ******* skipping: [managed-node3] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 11 November 2024 20:46:11 -0500 (0:00:00.071) 0:00:10.677 ******* ok: [managed-node3] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:44:51 EST", "ActiveEnterTimestampMonotonic": "199815358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:44:51 EST", "AssertTimestampMonotonic": "199558573", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:44:51 EST", "ConditionTimestampMonotonic": "199558571", "Conflicts": "ebtables.service iptables.service shutdown.target ipset.service ip6tables.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": "9519", "ExecMainStartTimestamp": "Mon 2024-11-11 20:44:51 EST", "ExecMainStartTimestampMonotonic": "199559601", "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=[Mon 2024-11-11 20:44:51 EST] ; stop_time=[n/a] ; pid=9519 ; 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": "Mon 2024-11-11 20:44:51 EST", "InactiveExitTimestampMonotonic": "199559637", "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": "9519", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-11 20:44:51 EST", "WatchdogTimestampMonotonic": "199815306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 11 November 2024 20:46:11 -0500 (0:00:00.434) 0:00:11.111 ******* ok: [managed-node3] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:44:51 EST", "ActiveEnterTimestampMonotonic": "199815358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:44:51 EST", "AssertTimestampMonotonic": "199558573", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:44:51 EST", "ConditionTimestampMonotonic": "199558571", "Conflicts": "ebtables.service iptables.service shutdown.target ipset.service ip6tables.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": "9519", "ExecMainStartTimestamp": "Mon 2024-11-11 20:44:51 EST", "ExecMainStartTimestampMonotonic": "199559601", "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=[Mon 2024-11-11 20:44:51 EST] ; stop_time=[n/a] ; pid=9519 ; 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": "Mon 2024-11-11 20:44:51 EST", "InactiveExitTimestampMonotonic": "199559637", "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": "9519", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-11 20:44:51 EST", "WatchdogTimestampMonotonic": "199815306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 11 November 2024 20:46:12 -0500 (0:00:00.602) 0:00:11.714 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 11 November 2024 20:46:12 -0500 (0:00:00.096) 0:00:11.811 ******* ok: [managed-node3] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.55 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 11 November 2024 20:46:13 -0500 (0:00:00.477) 0:00:12.289 ******* ok: [managed-node3] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 11 November 2024 20:46:13 -0500 (0:00:00.083) 0:00:12.373 ******* changed: [managed-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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" } } ok: [managed-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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" } } changed: [managed-node3] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "present", "zone": "customzone" } } changed: [managed-node3] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } changed: [managed-node3] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz", "state": "enabled" } } changed: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 11 November 2024 20:46:17 -0500 (0:00:04.044) 0:00:16.418 ******* skipping: [managed-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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-node3] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 11 November 2024 20:46:17 -0500 (0:00:00.190) 0:00:16.609 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 11 November 2024 20:46:17 -0500 (0:00:00.081) 0:00:16.690 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 11 November 2024 20:46:17 -0500 (0:00:00.069) 0:00:16.760 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 11 November 2024 20:46:17 -0500 (0:00:00.072) 0:00:16.832 ******* ok: [managed-node3] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.12.55 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 11 November 2024 20:46:18 -0500 (0:00:00.488) 0:00:17.321 ******* changed: [managed-node3] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 11 November 2024 20:46:18 -0500 (0:00:00.080) 0:00:17.401 ******* skipping: [managed-node3] => {} TASK [Fail if no changes are done] ********************************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:60 Monday 11 November 2024 20:46:18 -0500 (0:00:00.076) 0:00:17.478 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:67 Monday 11 November 2024 20:46:18 -0500 (0:00:00.064) 0:00:17.543 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 11 November 2024 20:46:18 -0500 (0:00:00.208) 0:00:17.751 ******* included: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 11 November 2024 20:46:18 -0500 (0:00:00.117) 0:00:17.869 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 11 November 2024 20:46:18 -0500 (0:00:00.082) 0:00:17.952 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 11 November 2024 20:46:18 -0500 (0:00:00.068) 0:00:18.020 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Monday 11 November 2024 20:46:18 -0500 (0:00:00.066) 0:00:18.086 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Monday 11 November 2024 20:46:19 -0500 (0:00:00.074) 0:00:18.161 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Monday 11 November 2024 20:46:19 -0500 (0:00:00.109) 0:00:18.270 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Monday 11 November 2024 20:46:20 -0500 (0:00:00.961) 0:00:19.231 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Monday 11 November 2024 20:46:20 -0500 (0:00:00.151) 0:00:19.383 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Monday 11 November 2024 20:46:20 -0500 (0:00:00.067) 0:00:19.450 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 11 November 2024 20:46:20 -0500 (0:00:00.078) 0:00:19.528 ******* skipping: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 11 November 2024 20:46:20 -0500 (0:00:00.100) 0:00:19.629 ******* skipping: [managed-node3] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 11 November 2024 20:46:20 -0500 (0:00:00.152) 0:00:19.781 ******* ok: [managed-node3] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:44:51 EST", "ActiveEnterTimestampMonotonic": "199815358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:44:51 EST", "AssertTimestampMonotonic": "199558573", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:44:51 EST", "ConditionTimestampMonotonic": "199558571", "Conflicts": "ebtables.service iptables.service shutdown.target ipset.service ip6tables.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": "9519", "ExecMainStartTimestamp": "Mon 2024-11-11 20:44:51 EST", "ExecMainStartTimestampMonotonic": "199559601", "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=[Mon 2024-11-11 20:44:51 EST] ; stop_time=[n/a] ; pid=9519 ; 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": "Mon 2024-11-11 20:44:51 EST", "InactiveExitTimestampMonotonic": "199559637", "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": "9519", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-11 20:44:51 EST", "WatchdogTimestampMonotonic": "199815306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 11 November 2024 20:46:21 -0500 (0:00:00.507) 0:00:20.288 ******* ok: [managed-node3] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:44:51 EST", "ActiveEnterTimestampMonotonic": "199815358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:44:51 EST", "AssertTimestampMonotonic": "199558573", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:44:51 EST", "ConditionTimestampMonotonic": "199558571", "Conflicts": "ebtables.service iptables.service shutdown.target ipset.service ip6tables.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": "9519", "ExecMainStartTimestamp": "Mon 2024-11-11 20:44:51 EST", "ExecMainStartTimestampMonotonic": "199559601", "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=[Mon 2024-11-11 20:44:51 EST] ; stop_time=[n/a] ; pid=9519 ; 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": "Mon 2024-11-11 20:44:51 EST", "InactiveExitTimestampMonotonic": "199559637", "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": "9519", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-11 20:44:51 EST", "WatchdogTimestampMonotonic": "199815306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 11 November 2024 20:46:21 -0500 (0:00:00.518) 0:00:20.806 ******* ok: [managed-node3] => { "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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 11 November 2024 20:46:21 -0500 (0:00:00.076) 0:00:20.883 ******* ok: [managed-node3] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.12.55 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 11 November 2024 20:46:22 -0500 (0:00:00.956) 0:00:21.839 ******* ok: [managed-node3] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 11 November 2024 20:46:22 -0500 (0:00:00.090) 0:00:21.930 ******* ok: [managed-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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-node3] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [managed-node3] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [managed-node3] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 11 November 2024 20:46:26 -0500 (0:00:04.029) 0:00:25.959 ******* skipping: [managed-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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-node3] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', 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-node3] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 11 November 2024 20:46:26 -0500 (0:00:00.183) 0:00:26.142 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 11 November 2024 20:46:27 -0500 (0:00:00.071) 0:00:26.214 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 11 November 2024 20:46:27 -0500 (0:00:00.084) 0:00:26.298 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 11 November 2024 20:46:27 -0500 (0:00:00.087) 0:00:26.386 ******* ok: [managed-node3] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.12.55 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 11 November 2024 20:46:27 -0500 (0:00:00.447) 0:00:26.834 ******* ok: [managed-node3] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 11 November 2024 20:46:27 -0500 (0:00:00.093) 0:00:26.927 ******* skipping: [managed-node3] => {} TASK [Fail on newly changes] *************************************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:95 Monday 11 November 2024 20:46:27 -0500 (0:00:00.075) 0:00:27.003 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:102 Monday 11 November 2024 20:46:27 -0500 (0:00:00.142) 0:00:27.145 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.267584", "end": "2024-11-11 20:46:28.918127", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:28.650543" } STDOUT: dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:108 Monday 11 November 2024 20:46:28 -0500 (0:00:00.997) 0:00:28.142 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.263674", "end": "2024-11-11 20:46:29.681845", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:29.418171" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:114 Monday 11 November 2024 20:46:29 -0500 (0:00:00.755) 0:00:28.898 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.261705", "end": "2024-11-11 20:46:30.282573", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:30.020868" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:120 Monday 11 November 2024 20:46:30 -0500 (0:00:00.640) 0:00:29.538 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.273343", "end": "2024-11-11 20:46:31.124636", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:30.851293" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:126 Monday 11 November 2024 20:46:31 -0500 (0:00:00.817) 0:00:30.356 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.247354", "end": "2024-11-11 20:46:31.782262", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:31.534908" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:132 Monday 11 November 2024 20:46:31 -0500 (0:00:00.638) 0:00:30.994 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.247051", "end": "2024-11-11 20:46:32.396606", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:32.149555" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:144 Monday 11 November 2024 20:46:32 -0500 (0:00:00.608) 0:00:31.603 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.264070", "end": "2024-11-11 20:46:33.115968", "failed_when_result": false, "rc": 0, "start": "2024-11-11 20:46:32.851898" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:150 Monday 11 November 2024 20:46:33 -0500 (0:00:00.738) 0:00:32.342 ******* ok: [managed-node3] => { "changed": false, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.221005", "end": "2024-11-11 20:46:34.802264", "rc": 0, "start": "2024-11-11 20:46:33.581259" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=39 changed=2 unreachable=0 failed=0 skipped=48 rescued=0 ignored=0 Monday 11 November 2024 20:46:34 -0500 (0:00:01.731) 0:00:34.074 ******* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 4.03s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Configure firewall ----------------- 2.13s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Reset to zone defaults -------------------------------------------------- 1.73s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:150 Gathering Facts --------------------------------------------------------- 1.23s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:2 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.15s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Verify firewalld zone internal services --------------------------------- 1.00s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:102 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.96s /tmp/collections-gWK/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.96s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.89s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.83s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Verify custom zone has masquerade added to it --------------------------- 0.82s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:120 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.81s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Verify firewalld zone internal ports ------------------------------------ 0.76s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:108 Remove customzone zone -------------------------------------------------- 0.74s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:144 Verify firewalld zone internal forward ports ---------------------------- 0.64s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:114 Verify custom zone has masquerade added to it --------------------------- 0.64s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:126 Verify that service http has been added to the default zone dmz --------- 0.61s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_zone.yml:132 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.54s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.52s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.51s /tmp/collections-gWK/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22